]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Fixed a typo
[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 static const wxString wxPyPanelNameStr(wxPanelNameStr);
311 static const wxString wxPyEmptyString(wxEmptyString);
312 static const wxString wxPyControlNameStr(wxControlNameStr);
313 static const wxString wxPyButtonNameStr(wxButtonNameStr);
314 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
315 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
316 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
317 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
318 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
319 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
320 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
321
322 #include <wx/checklst.h>
323
324
325 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
326 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
327 if (clientData) {
328 wxPyClientData* data = new wxPyClientData(clientData);
329 self->Insert(item, pos, data);
330 } else
331 self->Insert(item, pos);
332 }
333 PyObject *wxListBox_GetSelections(wxListBox *self){
334 wxArrayInt lst;
335 self->GetSelections(lst);
336 PyObject *tup = PyTuple_New(lst.GetCount());
337 for(size_t i=0; i<lst.GetCount(); i++) {
338 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
339 }
340 return tup;
341 }
342 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
343
344 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
345 PyObject* o2;
346 PyObject* o3;
347
348 if (!target) {
349 target = o;
350 } else if (target == Py_None) {
351 Py_DECREF(Py_None);
352 target = o;
353 } else {
354 if (!PyTuple_Check(target)) {
355 o2 = target;
356 target = PyTuple_New(1);
357 PyTuple_SetItem(target, 0, o2);
358 }
359 o3 = PyTuple_New(1);
360 PyTuple_SetItem(o3, 0, o);
361
362 o2 = target;
363 target = PySequence_Concat(o2, o3);
364 Py_DECREF(o2);
365 Py_DECREF(o3);
366 }
367 return target;
368 }
369
370 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
371 self->AppendText(text);
372 }
373 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
374 return self->GetValue().Mid(from, to - from);
375 }
376 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
377 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
378 static const wxString wxPySpinCtrlNameStr(wxT(_T("wxSpinCtrl")));
379 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
380 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
381
382 #include <wx/slider.h>
383
384
385 static const wxString wxPySliderNameStr(wxSliderNameStr);
386 static const wxString wxPyToggleButtonNameStr(wxT(_T("wxToggleButton")));
387
388 #ifdef __WXMAC__
389 // implement dummy classes and such for wxMac
390
391 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
392
393 class wxToggleButton : public wxControl
394 {
395 public:
396 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
397 const wxPoint&, const wxSize&, long,
398 const wxValidator&, const wxString&)
399 { wxPyRaiseNotImplemented(); }
400
401 wxToggleButton()
402 { wxPyRaiseNotImplemented(); }
403 };
404 #endif
405
406 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
407 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
408 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
409 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
410 if (udata) {
411 Py_INCREF(udata->m_obj);
412 return udata->m_obj;
413 } else {
414 Py_INCREF(Py_None);
415 return Py_None;
416 }
417 }
418 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
419 self->SetClientData(new wxPyUserData(clientData));
420 }
421 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){
422 wxPyUserData* udata = NULL;
423 if (clientData && clientData != Py_None)
424 udata = new wxPyUserData(clientData);
425 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
426 shortHelp, longHelp, udata);
427 }
428 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){
429 wxPyUserData* udata = NULL;
430 if (clientData && clientData != Py_None)
431 udata = new wxPyUserData(clientData);
432 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
433 shortHelp, longHelp, udata);
434 }
435 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
436 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
437 if (udata) {
438 Py_INCREF(udata->m_obj);
439 return udata->m_obj;
440 } else {
441 Py_INCREF(Py_None);
442 return Py_None;
443 }
444 }
445 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
446 self->SetToolClientData(id, new wxPyUserData(clientData));
447 }
448
449 #include <wx/listctrl.h>
450
451
452 static const wxString wxPyListCtrlNameStr(wxT(_T("wxListCtrl")));
453 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
454 // Python aware sorting function for wxPyListCtrl
455 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
456 int retval = 0;
457 PyObject* func = (PyObject*)funcPtr;
458 wxPyBeginBlockThreads();
459
460 PyObject* args = Py_BuildValue("(ii)", item1, item2);
461 PyObject* result = PyEval_CallObject(func, args);
462 Py_DECREF(args);
463 if (result) {
464 retval = PyInt_AsLong(result);
465 Py_DECREF(result);
466 }
467
468 wxPyEndBlockThreads();
469 return retval;
470 }
471
472 // C++ Version of a Python aware class
473 class wxPyListCtrl : public wxListCtrl {
474 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
475 public:
476 wxPyListCtrl() : wxListCtrl() {}
477 wxPyListCtrl(wxWindow* parent, wxWindowID id,
478 const wxPoint& pos,
479 const wxSize& size,
480 long style,
481 const wxValidator& validator,
482 const wxString& name) :
483 wxListCtrl(parent, id, pos, size, style, validator, name) {}
484
485 bool Create(wxWindow* parent, wxWindowID id,
486 const wxPoint& pos,
487 const wxSize& size,
488 long style,
489 const wxValidator& validator,
490 const wxString& name) {
491 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
492 }
493
494 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
495 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
496 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
497
498 PYPRIVATE;
499 };
500
501 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
502
503 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
504 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
505 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
506
507 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
508 wxListItem item;
509 item.SetMask( wxLIST_MASK_STATE |
510 wxLIST_MASK_TEXT |
511 wxLIST_MASK_IMAGE |
512 wxLIST_MASK_DATA |
513 wxLIST_SET_ITEM |
514 wxLIST_MASK_WIDTH |
515 wxLIST_MASK_FORMAT
516 );
517 if (self->GetColumn(col, item))
518 return new wxListItem(item);
519 else
520 return NULL;
521 }
522 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
523 wxListItem* info = new wxListItem;
524 info->m_itemId = itemId;
525 info->m_col = col;
526 info->m_mask = 0xFFFF;
527 self->GetItem(*info);
528 return info;
529 }
530 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
531 wxPoint pos;
532 self->GetItemPosition(item, pos);
533 return pos;
534 }
535 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
536 wxRect rect;
537 self->GetItemRect(item, rect, code);
538 return rect;
539 }
540 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
541 if (!PyCallable_Check(func))
542 return False;
543 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
544 }
545 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
546
547 return self;
548
549
550
551 }
552
553 #include <wx/treectrl.h>
554 #include "wx/wxPython/pytree.h"
555
556 static const wxString wxPyTreeCtrlNameStr(wxT(_T("wxTreeCtrl")));
557 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
558 if (!other) return False;
559 return *self == *other;
560 }
561 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
562 if (!other) return True;
563 return *self != *other;
564 }
565 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
566 // C++ version of Python aware wxTreeCtrl
567 class wxPyTreeCtrl : public wxTreeCtrl {
568 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
569 public:
570 wxPyTreeCtrl() : wxTreeCtrl() {}
571 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
572 const wxPoint& pos,
573 const wxSize& size,
574 long style,
575 const wxValidator& validator,
576 const wxString& name) :
577 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
578
579 bool Create(wxWindow *parent, wxWindowID id,
580 const wxPoint& pos,
581 const wxSize& size,
582 long style,
583 const wxValidator& validator,
584 const wxString& name) {
585 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
586 }
587
588
589 int OnCompareItems(const wxTreeItemId& item1,
590 const wxTreeItemId& item2) {
591 int rval = 0;
592 bool found;
593 wxPyBeginBlockThreads();
594 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
595 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
596 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
597 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
598 Py_DECREF(o1);
599 Py_DECREF(o2);
600 }
601 wxPyEndBlockThreads();
602 if (! found)
603 rval = wxTreeCtrl::OnCompareItems(item1, item2);
604 return rval;
605 }
606 PYPRIVATE;
607 };
608
609 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
610
611
612 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
613 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
614 if (data == NULL) {
615 data = new wxPyTreeItemData();
616 data->SetId(item); // set the id
617 self->SetItemData(item, data);
618 }
619 return data;
620 }
621 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
622 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
623 if (data == NULL) {
624 data = new wxPyTreeItemData();
625 data->SetId(item); // set the id
626 self->SetItemData(item, data);
627 }
628 return data->GetData();
629 }
630 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
631 data->SetId(item); // set the id
632 self->SetItemData(item, data);
633 }
634 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
635 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
636 if (data == NULL) {
637 data = new wxPyTreeItemData(obj);
638 data->SetId(item); // set the id
639 self->SetItemData(item, data);
640 } else
641 data->SetData(obj);
642 }
643 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
644 wxPyBeginBlockThreads();
645 PyObject* rval = PyList_New(0);
646 wxArrayTreeItemIds array;
647 size_t num, x;
648 num = self->GetSelections(array);
649 for (x=0; x < num; x++) {
650 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
651 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
652 PyList_Append(rval, item);
653 }
654 wxPyEndBlockThreads();
655 return rval;
656 }
657 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
658 wxTreeItemIdValue cookie = 0;
659 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
660 wxPyBeginBlockThreads();
661 PyObject* tup = PyTuple_New(2);
662 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
663 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
664 wxPyEndBlockThreads();
665 return tup;
666 }
667 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
668 wxTreeItemId ritem = self->GetNextChild(item, cookie);
669 wxPyBeginBlockThreads();
670 PyObject* tup = PyTuple_New(2);
671 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
672 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
673 wxPyEndBlockThreads();
674 return tup;
675 }
676 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
677 wxRect rect;
678 if (self->GetBoundingRect(item, rect, textOnly)) {
679 wxPyBeginBlockThreads();
680 wxRect* r = new wxRect(rect);
681 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
682 wxPyEndBlockThreads();
683 return val;
684 }
685 else
686 RETURN_NONE();
687 }
688 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
689 // C++ version of Python aware wxControl
690 class wxPyControl : public wxControl
691 {
692 DECLARE_DYNAMIC_CLASS(wxPyControl)
693 public:
694 wxPyControl() : wxControl() {}
695 wxPyControl(wxWindow* parent, const wxWindowID id,
696 const wxPoint& pos = wxDefaultPosition,
697 const wxSize& size = wxDefaultSize,
698 long style = 0,
699 const wxValidator& validator=wxDefaultValidator,
700 const wxString& name = wxPyControlNameStr)
701 : wxControl(parent, id, pos, size, style, validator, name) {}
702
703
704 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
705 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
706 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
707 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
708
709 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
710 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
711 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
712
713 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
714 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
715
716 DEC_PYCALLBACK__(InitDialog);
717 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
718 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
719 DEC_PYCALLBACK_BOOL_(Validate);
720
721 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
722 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
723 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
724
725 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
726 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
727
728 PYPRIVATE;
729 };
730
731 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
732
733 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
734 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
735 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
736 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
737
738 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
739 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
740 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
741
742 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
743 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
744
745 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
746 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
747 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
748 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
749
750 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
751 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
752 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
753
754 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
755 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
756
757
758
759
760 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
761
762 #include <wx/generic/dragimgg.h>
763
764 #ifdef __cplusplus
765 extern "C" {
766 #endif
767 static int _wrap_ButtonNameStr_set(PyObject *_val) {
768 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
769 return 1;
770 }
771
772
773 static PyObject *_wrap_ButtonNameStr_get() {
774 PyObject *pyobj;
775
776 {
777 #if wxUSE_UNICODE
778 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
779 #else
780 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
781 #endif
782 }
783 return pyobj;
784 }
785
786
787 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
788 PyObject *resultobj;
789 wxWindow *arg1 = (wxWindow *) 0 ;
790 int arg2 ;
791 wxString *arg3 = 0 ;
792 wxPoint const &arg4_defvalue = wxDefaultPosition ;
793 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
794 wxSize const &arg5_defvalue = wxDefaultSize ;
795 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
796 long arg6 = (long) 0 ;
797 wxValidator const &arg7_defvalue = wxDefaultValidator ;
798 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
799 wxString const &arg8_defvalue = wxPyButtonNameStr ;
800 wxString *arg8 = (wxString *) &arg8_defvalue ;
801 wxButton *result;
802 bool temp3 = False ;
803 wxPoint temp4 ;
804 wxSize temp5 ;
805 bool temp8 = False ;
806 PyObject * obj0 = 0 ;
807 PyObject * obj2 = 0 ;
808 PyObject * obj3 = 0 ;
809 PyObject * obj4 = 0 ;
810 PyObject * obj6 = 0 ;
811 PyObject * obj7 = 0 ;
812 char *kwnames[] = {
813 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
814 };
815
816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
818 {
819 arg3 = wxString_in_helper(obj2);
820 if (arg3 == NULL) SWIG_fail;
821 temp3 = True;
822 }
823 if (obj3) {
824 {
825 arg4 = &temp4;
826 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
827 }
828 }
829 if (obj4) {
830 {
831 arg5 = &temp5;
832 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
833 }
834 }
835 if (obj6) {
836 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
837 if (arg7 == NULL) {
838 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
839 }
840 }
841 if (obj7) {
842 {
843 arg8 = wxString_in_helper(obj7);
844 if (arg8 == NULL) SWIG_fail;
845 temp8 = True;
846 }
847 }
848 {
849 PyThreadState* __tstate = wxPyBeginAllowThreads();
850 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
851
852 wxPyEndAllowThreads(__tstate);
853 if (PyErr_Occurred()) SWIG_fail;
854 }
855 {
856 resultobj = wxPyMake_wxObject(result);
857 }
858 {
859 if (temp3)
860 delete arg3;
861 }
862 {
863 if (temp8)
864 delete arg8;
865 }
866 return resultobj;
867 fail:
868 {
869 if (temp3)
870 delete arg3;
871 }
872 {
873 if (temp8)
874 delete arg8;
875 }
876 return NULL;
877 }
878
879
880 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
881 PyObject *resultobj;
882 wxButton *result;
883 char *kwnames[] = {
884 NULL
885 };
886
887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
888 {
889 PyThreadState* __tstate = wxPyBeginAllowThreads();
890 result = (wxButton *)new wxButton();
891
892 wxPyEndAllowThreads(__tstate);
893 if (PyErr_Occurred()) SWIG_fail;
894 }
895 {
896 resultobj = wxPyMake_wxObject(result);
897 }
898 return resultobj;
899 fail:
900 return NULL;
901 }
902
903
904 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject *resultobj;
906 wxButton *arg1 = (wxButton *) 0 ;
907 wxWindow *arg2 = (wxWindow *) 0 ;
908 int arg3 ;
909 wxString *arg4 = 0 ;
910 wxPoint const &arg5_defvalue = wxDefaultPosition ;
911 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
912 wxSize const &arg6_defvalue = wxDefaultSize ;
913 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
914 long arg7 = (long) 0 ;
915 wxValidator const &arg8_defvalue = wxDefaultValidator ;
916 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
917 wxString const &arg9_defvalue = wxPyButtonNameStr ;
918 wxString *arg9 = (wxString *) &arg9_defvalue ;
919 bool result;
920 bool temp4 = False ;
921 wxPoint temp5 ;
922 wxSize temp6 ;
923 bool temp9 = False ;
924 PyObject * obj0 = 0 ;
925 PyObject * obj1 = 0 ;
926 PyObject * obj3 = 0 ;
927 PyObject * obj4 = 0 ;
928 PyObject * obj5 = 0 ;
929 PyObject * obj7 = 0 ;
930 PyObject * obj8 = 0 ;
931 char *kwnames[] = {
932 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
933 };
934
935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
938 {
939 arg4 = wxString_in_helper(obj3);
940 if (arg4 == NULL) SWIG_fail;
941 temp4 = True;
942 }
943 if (obj4) {
944 {
945 arg5 = &temp5;
946 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
947 }
948 }
949 if (obj5) {
950 {
951 arg6 = &temp6;
952 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
953 }
954 }
955 if (obj7) {
956 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
957 if (arg8 == NULL) {
958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
959 }
960 }
961 if (obj8) {
962 {
963 arg9 = wxString_in_helper(obj8);
964 if (arg9 == NULL) SWIG_fail;
965 temp9 = True;
966 }
967 }
968 {
969 PyThreadState* __tstate = wxPyBeginAllowThreads();
970 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
971
972 wxPyEndAllowThreads(__tstate);
973 if (PyErr_Occurred()) SWIG_fail;
974 }
975 resultobj = PyInt_FromLong((long)result);
976 {
977 if (temp4)
978 delete arg4;
979 }
980 {
981 if (temp9)
982 delete arg9;
983 }
984 return resultobj;
985 fail:
986 {
987 if (temp4)
988 delete arg4;
989 }
990 {
991 if (temp9)
992 delete arg9;
993 }
994 return NULL;
995 }
996
997
998 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
999 PyObject *resultobj;
1000 wxButton *arg1 = (wxButton *) 0 ;
1001 PyObject * obj0 = 0 ;
1002 char *kwnames[] = {
1003 (char *) "self", NULL
1004 };
1005
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1008 {
1009 PyThreadState* __tstate = wxPyBeginAllowThreads();
1010 (arg1)->SetDefault();
1011
1012 wxPyEndAllowThreads(__tstate);
1013 if (PyErr_Occurred()) SWIG_fail;
1014 }
1015 Py_INCREF(Py_None); resultobj = Py_None;
1016 return resultobj;
1017 fail:
1018 return NULL;
1019 }
1020
1021
1022 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1023 PyObject *resultobj;
1024 wxButton *arg1 = (wxButton *) 0 ;
1025 wxBitmap *arg2 = 0 ;
1026 PyObject * obj0 = 0 ;
1027 PyObject * obj1 = 0 ;
1028 char *kwnames[] = {
1029 (char *) "self",(char *) "bitmap", NULL
1030 };
1031
1032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1035 if (arg2 == NULL) {
1036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1037 }
1038 {
1039 PyThreadState* __tstate = wxPyBeginAllowThreads();
1040 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1041
1042 wxPyEndAllowThreads(__tstate);
1043 if (PyErr_Occurred()) SWIG_fail;
1044 }
1045 Py_INCREF(Py_None); resultobj = Py_None;
1046 return resultobj;
1047 fail:
1048 return NULL;
1049 }
1050
1051
1052 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1053 PyObject *resultobj;
1054 wxButton *arg1 = (wxButton *) 0 ;
1055 int arg2 ;
1056 int arg3 ;
1057 PyObject * obj0 = 0 ;
1058 char *kwnames[] = {
1059 (char *) "self",(char *) "x",(char *) "y", NULL
1060 };
1061
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1064 {
1065 PyThreadState* __tstate = wxPyBeginAllowThreads();
1066 (arg1)->SetImageMargins(arg2,arg3);
1067
1068 wxPyEndAllowThreads(__tstate);
1069 if (PyErr_Occurred()) SWIG_fail;
1070 }
1071 Py_INCREF(Py_None); resultobj = Py_None;
1072 return resultobj;
1073 fail:
1074 return NULL;
1075 }
1076
1077
1078 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1079 PyObject *resultobj;
1080 wxSize result;
1081 char *kwnames[] = {
1082 NULL
1083 };
1084
1085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1086 {
1087 PyThreadState* __tstate = wxPyBeginAllowThreads();
1088 result = wxButton::GetDefaultSize();
1089
1090 wxPyEndAllowThreads(__tstate);
1091 if (PyErr_Occurred()) SWIG_fail;
1092 }
1093 {
1094 wxSize * resultptr;
1095 resultptr = new wxSize((wxSize &) result);
1096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1097 }
1098 return resultobj;
1099 fail:
1100 return NULL;
1101 }
1102
1103
1104 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1105 PyObject *obj;
1106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1107 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1108 Py_INCREF(obj);
1109 return Py_BuildValue((char *)"");
1110 }
1111 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1112 PyObject *resultobj;
1113 wxWindow *arg1 = (wxWindow *) 0 ;
1114 int arg2 ;
1115 wxBitmap *arg3 = 0 ;
1116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1118 wxSize const &arg5_defvalue = wxDefaultSize ;
1119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1120 long arg6 = (long) wxBU_AUTODRAW ;
1121 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1122 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1123 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1124 wxString *arg8 = (wxString *) &arg8_defvalue ;
1125 wxBitmapButton *result;
1126 wxPoint temp4 ;
1127 wxSize temp5 ;
1128 bool temp8 = False ;
1129 PyObject * obj0 = 0 ;
1130 PyObject * obj2 = 0 ;
1131 PyObject * obj3 = 0 ;
1132 PyObject * obj4 = 0 ;
1133 PyObject * obj6 = 0 ;
1134 PyObject * obj7 = 0 ;
1135 char *kwnames[] = {
1136 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1137 };
1138
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1141 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 if (arg3 == NULL) {
1143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1144 }
1145 if (obj3) {
1146 {
1147 arg4 = &temp4;
1148 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1149 }
1150 }
1151 if (obj4) {
1152 {
1153 arg5 = &temp5;
1154 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1155 }
1156 }
1157 if (obj6) {
1158 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1159 if (arg7 == NULL) {
1160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1161 }
1162 }
1163 if (obj7) {
1164 {
1165 arg8 = wxString_in_helper(obj7);
1166 if (arg8 == NULL) SWIG_fail;
1167 temp8 = True;
1168 }
1169 }
1170 {
1171 PyThreadState* __tstate = wxPyBeginAllowThreads();
1172 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1173
1174 wxPyEndAllowThreads(__tstate);
1175 if (PyErr_Occurred()) SWIG_fail;
1176 }
1177 {
1178 resultobj = wxPyMake_wxObject(result);
1179 }
1180 {
1181 if (temp8)
1182 delete arg8;
1183 }
1184 return resultobj;
1185 fail:
1186 {
1187 if (temp8)
1188 delete arg8;
1189 }
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxBitmapButton *result;
1197 char *kwnames[] = {
1198 NULL
1199 };
1200
1201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1202 {
1203 PyThreadState* __tstate = wxPyBeginAllowThreads();
1204 result = (wxBitmapButton *)new wxBitmapButton();
1205
1206 wxPyEndAllowThreads(__tstate);
1207 if (PyErr_Occurred()) SWIG_fail;
1208 }
1209 {
1210 resultobj = wxPyMake_wxObject(result);
1211 }
1212 return resultobj;
1213 fail:
1214 return NULL;
1215 }
1216
1217
1218 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1219 PyObject *resultobj;
1220 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1221 wxWindow *arg2 = (wxWindow *) 0 ;
1222 int arg3 ;
1223 wxBitmap *arg4 = 0 ;
1224 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1225 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1226 wxSize const &arg6_defvalue = wxDefaultSize ;
1227 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1228 long arg7 = (long) wxBU_AUTODRAW ;
1229 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1230 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1231 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1232 wxString *arg9 = (wxString *) &arg9_defvalue ;
1233 bool result;
1234 wxPoint temp5 ;
1235 wxSize temp6 ;
1236 bool temp9 = False ;
1237 PyObject * obj0 = 0 ;
1238 PyObject * obj1 = 0 ;
1239 PyObject * obj3 = 0 ;
1240 PyObject * obj4 = 0 ;
1241 PyObject * obj5 = 0 ;
1242 PyObject * obj7 = 0 ;
1243 PyObject * obj8 = 0 ;
1244 char *kwnames[] = {
1245 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1246 };
1247
1248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1251 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1252 if (arg4 == NULL) {
1253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1254 }
1255 if (obj4) {
1256 {
1257 arg5 = &temp5;
1258 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1259 }
1260 }
1261 if (obj5) {
1262 {
1263 arg6 = &temp6;
1264 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1265 }
1266 }
1267 if (obj7) {
1268 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1269 if (arg8 == NULL) {
1270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1271 }
1272 }
1273 if (obj8) {
1274 {
1275 arg9 = wxString_in_helper(obj8);
1276 if (arg9 == NULL) SWIG_fail;
1277 temp9 = True;
1278 }
1279 }
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) SWIG_fail;
1286 }
1287 resultobj = PyInt_FromLong((long)result);
1288 {
1289 if (temp9)
1290 delete arg9;
1291 }
1292 return resultobj;
1293 fail:
1294 {
1295 if (temp9)
1296 delete arg9;
1297 }
1298 return NULL;
1299 }
1300
1301
1302 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1303 PyObject *resultobj;
1304 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1305 wxBitmap result;
1306 PyObject * obj0 = 0 ;
1307 char *kwnames[] = {
1308 (char *) "self", NULL
1309 };
1310
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1313 {
1314 PyThreadState* __tstate = wxPyBeginAllowThreads();
1315 result = (arg1)->GetBitmapLabel();
1316
1317 wxPyEndAllowThreads(__tstate);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 }
1320 {
1321 wxBitmap * resultptr;
1322 resultptr = new wxBitmap((wxBitmap &) result);
1323 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1324 }
1325 return resultobj;
1326 fail:
1327 return NULL;
1328 }
1329
1330
1331 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1332 PyObject *resultobj;
1333 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1334 wxBitmap result;
1335 PyObject * obj0 = 0 ;
1336 char *kwnames[] = {
1337 (char *) "self", NULL
1338 };
1339
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 result = (arg1)->GetBitmapDisabled();
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 {
1350 wxBitmap * resultptr;
1351 resultptr = new wxBitmap((wxBitmap &) result);
1352 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1353 }
1354 return resultobj;
1355 fail:
1356 return NULL;
1357 }
1358
1359
1360 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1361 PyObject *resultobj;
1362 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1363 wxBitmap result;
1364 PyObject * obj0 = 0 ;
1365 char *kwnames[] = {
1366 (char *) "self", NULL
1367 };
1368
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1371 {
1372 PyThreadState* __tstate = wxPyBeginAllowThreads();
1373 result = (arg1)->GetBitmapFocus();
1374
1375 wxPyEndAllowThreads(__tstate);
1376 if (PyErr_Occurred()) SWIG_fail;
1377 }
1378 {
1379 wxBitmap * resultptr;
1380 resultptr = new wxBitmap((wxBitmap &) result);
1381 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1382 }
1383 return resultobj;
1384 fail:
1385 return NULL;
1386 }
1387
1388
1389 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject *resultobj;
1391 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1392 wxBitmap result;
1393 PyObject * obj0 = 0 ;
1394 char *kwnames[] = {
1395 (char *) "self", NULL
1396 };
1397
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1400 {
1401 PyThreadState* __tstate = wxPyBeginAllowThreads();
1402 result = (arg1)->GetBitmapSelected();
1403
1404 wxPyEndAllowThreads(__tstate);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 }
1407 {
1408 wxBitmap * resultptr;
1409 resultptr = new wxBitmap((wxBitmap &) result);
1410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1411 }
1412 return resultobj;
1413 fail:
1414 return NULL;
1415 }
1416
1417
1418 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1419 PyObject *resultobj;
1420 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1421 wxBitmap *arg2 = 0 ;
1422 PyObject * obj0 = 0 ;
1423 PyObject * obj1 = 0 ;
1424 char *kwnames[] = {
1425 (char *) "self",(char *) "bitmap", NULL
1426 };
1427
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if (arg2 == NULL) {
1432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1433 }
1434 {
1435 PyThreadState* __tstate = wxPyBeginAllowThreads();
1436 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1437
1438 wxPyEndAllowThreads(__tstate);
1439 if (PyErr_Occurred()) SWIG_fail;
1440 }
1441 Py_INCREF(Py_None); resultobj = Py_None;
1442 return resultobj;
1443 fail:
1444 return NULL;
1445 }
1446
1447
1448 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1451 wxBitmap *arg2 = 0 ;
1452 PyObject * obj0 = 0 ;
1453 PyObject * obj1 = 0 ;
1454 char *kwnames[] = {
1455 (char *) "self",(char *) "bitmap", NULL
1456 };
1457
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1461 if (arg2 == NULL) {
1462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1463 }
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 Py_INCREF(Py_None); resultobj = Py_None;
1472 return resultobj;
1473 fail:
1474 return NULL;
1475 }
1476
1477
1478 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject *resultobj;
1480 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1481 wxBitmap *arg2 = 0 ;
1482 PyObject * obj0 = 0 ;
1483 PyObject * obj1 = 0 ;
1484 char *kwnames[] = {
1485 (char *) "self",(char *) "bitmap", NULL
1486 };
1487
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1491 if (arg2 == NULL) {
1492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1493 }
1494 {
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 Py_INCREF(Py_None); resultobj = Py_None;
1502 return resultobj;
1503 fail:
1504 return NULL;
1505 }
1506
1507
1508 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject *resultobj;
1510 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1511 wxBitmap *arg2 = 0 ;
1512 PyObject * obj0 = 0 ;
1513 PyObject * obj1 = 0 ;
1514 char *kwnames[] = {
1515 (char *) "self",(char *) "bitmap", NULL
1516 };
1517
1518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1521 if (arg2 == NULL) {
1522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1523 }
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 Py_INCREF(Py_None); resultobj = Py_None;
1532 return resultobj;
1533 fail:
1534 return NULL;
1535 }
1536
1537
1538 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1541 int arg2 ;
1542 int arg3 ;
1543 PyObject * obj0 = 0 ;
1544 char *kwnames[] = {
1545 (char *) "self",(char *) "x",(char *) "y", NULL
1546 };
1547
1548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 (arg1)->SetMargins(arg2,arg3);
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 Py_INCREF(Py_None); resultobj = Py_None;
1558 return resultobj;
1559 fail:
1560 return NULL;
1561 }
1562
1563
1564 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1565 PyObject *resultobj;
1566 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1567 int result;
1568 PyObject * obj0 = 0 ;
1569 char *kwnames[] = {
1570 (char *) "self", NULL
1571 };
1572
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1575 {
1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
1577 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1578
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) SWIG_fail;
1581 }
1582 resultobj = PyInt_FromLong((long)result);
1583 return resultobj;
1584 fail:
1585 return NULL;
1586 }
1587
1588
1589 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1592 int result;
1593 PyObject * obj0 = 0 ;
1594 char *kwnames[] = {
1595 (char *) "self", NULL
1596 };
1597
1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 }
1607 resultobj = PyInt_FromLong((long)result);
1608 return resultobj;
1609 fail:
1610 return NULL;
1611 }
1612
1613
1614 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1615 PyObject *obj;
1616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1617 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1618 Py_INCREF(obj);
1619 return Py_BuildValue((char *)"");
1620 }
1621 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1622 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1623 return 1;
1624 }
1625
1626
1627 static PyObject *_wrap_CheckBoxNameStr_get() {
1628 PyObject *pyobj;
1629
1630 {
1631 #if wxUSE_UNICODE
1632 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1633 #else
1634 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1635 #endif
1636 }
1637 return pyobj;
1638 }
1639
1640
1641 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxWindow *arg1 = (wxWindow *) 0 ;
1644 int arg2 ;
1645 wxString *arg3 = 0 ;
1646 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1647 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1648 wxSize const &arg5_defvalue = wxDefaultSize ;
1649 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1650 long arg6 = (long) 0 ;
1651 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1652 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1653 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1654 wxString *arg8 = (wxString *) &arg8_defvalue ;
1655 wxCheckBox *result;
1656 bool temp3 = False ;
1657 wxPoint temp4 ;
1658 wxSize temp5 ;
1659 bool temp8 = False ;
1660 PyObject * obj0 = 0 ;
1661 PyObject * obj2 = 0 ;
1662 PyObject * obj3 = 0 ;
1663 PyObject * obj4 = 0 ;
1664 PyObject * obj6 = 0 ;
1665 PyObject * obj7 = 0 ;
1666 char *kwnames[] = {
1667 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1668 };
1669
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 {
1673 arg3 = wxString_in_helper(obj2);
1674 if (arg3 == NULL) SWIG_fail;
1675 temp3 = True;
1676 }
1677 if (obj3) {
1678 {
1679 arg4 = &temp4;
1680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1681 }
1682 }
1683 if (obj4) {
1684 {
1685 arg5 = &temp5;
1686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1687 }
1688 }
1689 if (obj6) {
1690 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 if (arg7 == NULL) {
1692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1693 }
1694 }
1695 if (obj7) {
1696 {
1697 arg8 = wxString_in_helper(obj7);
1698 if (arg8 == NULL) SWIG_fail;
1699 temp8 = True;
1700 }
1701 }
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1710 {
1711 if (temp3)
1712 delete arg3;
1713 }
1714 {
1715 if (temp8)
1716 delete arg8;
1717 }
1718 return resultobj;
1719 fail:
1720 {
1721 if (temp3)
1722 delete arg3;
1723 }
1724 {
1725 if (temp8)
1726 delete arg8;
1727 }
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxCheckBox *result;
1735 char *kwnames[] = {
1736 NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 result = (wxCheckBox *)new wxCheckBox();
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1748 return resultobj;
1749 fail:
1750 return NULL;
1751 }
1752
1753
1754 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject *resultobj;
1756 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1757 wxWindow *arg2 = (wxWindow *) 0 ;
1758 int arg3 ;
1759 wxString *arg4 = 0 ;
1760 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1761 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1762 wxSize const &arg6_defvalue = wxDefaultSize ;
1763 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1764 long arg7 = (long) 0 ;
1765 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1766 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1767 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1768 wxString *arg9 = (wxString *) &arg9_defvalue ;
1769 bool result;
1770 bool temp4 = False ;
1771 wxPoint temp5 ;
1772 wxSize temp6 ;
1773 bool temp9 = False ;
1774 PyObject * obj0 = 0 ;
1775 PyObject * obj1 = 0 ;
1776 PyObject * obj3 = 0 ;
1777 PyObject * obj4 = 0 ;
1778 PyObject * obj5 = 0 ;
1779 PyObject * obj7 = 0 ;
1780 PyObject * obj8 = 0 ;
1781 char *kwnames[] = {
1782 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1783 };
1784
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 {
1789 arg4 = wxString_in_helper(obj3);
1790 if (arg4 == NULL) SWIG_fail;
1791 temp4 = True;
1792 }
1793 if (obj4) {
1794 {
1795 arg5 = &temp5;
1796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1797 }
1798 }
1799 if (obj5) {
1800 {
1801 arg6 = &temp6;
1802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1803 }
1804 }
1805 if (obj7) {
1806 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1807 if (arg8 == NULL) {
1808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1809 }
1810 }
1811 if (obj8) {
1812 {
1813 arg9 = wxString_in_helper(obj8);
1814 if (arg9 == NULL) SWIG_fail;
1815 temp9 = True;
1816 }
1817 }
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 resultobj = PyInt_FromLong((long)result);
1826 {
1827 if (temp4)
1828 delete arg4;
1829 }
1830 {
1831 if (temp9)
1832 delete arg9;
1833 }
1834 return resultobj;
1835 fail:
1836 {
1837 if (temp4)
1838 delete arg4;
1839 }
1840 {
1841 if (temp9)
1842 delete arg9;
1843 }
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1851 bool result;
1852 PyObject * obj0 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 result = (bool)(arg1)->GetValue();
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 resultobj = PyInt_FromLong((long)result);
1867 return resultobj;
1868 fail:
1869 return NULL;
1870 }
1871
1872
1873 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1876 bool result;
1877 PyObject * obj0 = 0 ;
1878 char *kwnames[] = {
1879 (char *) "self", NULL
1880 };
1881
1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (bool)(arg1)->IsChecked();
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = PyInt_FromLong((long)result);
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject *resultobj;
1900 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1901 bool arg2 ;
1902 PyObject * obj0 = 0 ;
1903 PyObject * obj1 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self",(char *) "state", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1910 arg2 = PyInt_AsLong(obj1) ? true : false;
1911 if (PyErr_Occurred()) SWIG_fail;
1912 {
1913 PyThreadState* __tstate = wxPyBeginAllowThreads();
1914 (arg1)->SetValue(arg2);
1915
1916 wxPyEndAllowThreads(__tstate);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 Py_INCREF(Py_None); resultobj = Py_None;
1920 return resultobj;
1921 fail:
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1929 int result;
1930 PyObject * obj0 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "self", NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = PyInt_FromLong((long)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948 }
1949
1950
1951 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1954 int arg2 ;
1955 PyObject * obj0 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "state", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 Py_INCREF(Py_None); resultobj = Py_None;
1970 return resultobj;
1971 fail:
1972 return NULL;
1973 }
1974
1975
1976 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1979 bool result;
1980 PyObject * obj0 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
1994 resultobj = PyInt_FromLong((long)result);
1995 return resultobj;
1996 fail:
1997 return NULL;
1998 }
1999
2000
2001 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2002 PyObject *resultobj;
2003 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2004 bool result;
2005 PyObject * obj0 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 resultobj = PyInt_FromLong((long)result);
2020 return resultobj;
2021 fail:
2022 return NULL;
2023 }
2024
2025
2026 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2027 PyObject *obj;
2028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2029 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2030 Py_INCREF(obj);
2031 return Py_BuildValue((char *)"");
2032 }
2033 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2034 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2035 return 1;
2036 }
2037
2038
2039 static PyObject *_wrap_ChoiceNameStr_get() {
2040 PyObject *pyobj;
2041
2042 {
2043 #if wxUSE_UNICODE
2044 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2045 #else
2046 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2047 #endif
2048 }
2049 return pyobj;
2050 }
2051
2052
2053 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 wxWindow *arg1 = (wxWindow *) 0 ;
2056 int arg2 ;
2057 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2058 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2059 wxSize const &arg4_defvalue = wxDefaultSize ;
2060 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2061 int arg5 = (int) 0 ;
2062 wxString *arg6 = (wxString *) NULL ;
2063 long arg7 = (long) 0 ;
2064 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2065 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2066 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2067 wxString *arg9 = (wxString *) &arg9_defvalue ;
2068 wxChoice *result;
2069 wxPoint temp3 ;
2070 wxSize temp4 ;
2071 bool temp8 = False ;
2072 PyObject * obj0 = 0 ;
2073 PyObject * obj2 = 0 ;
2074 PyObject * obj3 = 0 ;
2075 PyObject * obj4 = 0 ;
2076 PyObject * obj6 = 0 ;
2077 PyObject * obj7 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2080 };
2081
2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2084 if (obj2) {
2085 {
2086 arg3 = &temp3;
2087 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2088 }
2089 }
2090 if (obj3) {
2091 {
2092 arg4 = &temp4;
2093 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2094 }
2095 }
2096 if (obj4) {
2097 {
2098 arg5 = PyList_Size(obj4);
2099 arg6 = wxString_LIST_helper(obj4);
2100 if (arg6 == NULL) SWIG_fail;
2101 }
2102 }
2103 if (obj6) {
2104 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2105 if (arg8 == NULL) {
2106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2107 }
2108 }
2109 if (obj7) {
2110 {
2111 arg9 = wxString_in_helper(obj7);
2112 if (arg9 == NULL) SWIG_fail;
2113 temp8 = True;
2114 }
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2124 {
2125 if (arg6) delete [] arg6;
2126 }
2127 {
2128 if (temp8)
2129 delete arg9;
2130 }
2131 return resultobj;
2132 fail:
2133 {
2134 if (arg6) delete [] arg6;
2135 }
2136 {
2137 if (temp8)
2138 delete arg9;
2139 }
2140 return NULL;
2141 }
2142
2143
2144 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2145 PyObject *resultobj;
2146 wxChoice *result;
2147 char *kwnames[] = {
2148 NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 result = (wxChoice *)new wxChoice();
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxChoice *arg1 = (wxChoice *) 0 ;
2169 wxWindow *arg2 = (wxWindow *) 0 ;
2170 int arg3 ;
2171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2173 wxSize const &arg5_defvalue = wxDefaultSize ;
2174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2175 int arg6 = (int) 0 ;
2176 wxString *arg7 = (wxString *) NULL ;
2177 long arg8 = (long) 0 ;
2178 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2179 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2180 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2181 wxString *arg10 = (wxString *) &arg10_defvalue ;
2182 bool result;
2183 wxPoint temp4 ;
2184 wxSize temp5 ;
2185 bool temp9 = False ;
2186 PyObject * obj0 = 0 ;
2187 PyObject * obj1 = 0 ;
2188 PyObject * obj3 = 0 ;
2189 PyObject * obj4 = 0 ;
2190 PyObject * obj5 = 0 ;
2191 PyObject * obj7 = 0 ;
2192 PyObject * obj8 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 if (obj3) {
2201 {
2202 arg4 = &temp4;
2203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2204 }
2205 }
2206 if (obj4) {
2207 {
2208 arg5 = &temp5;
2209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2210 }
2211 }
2212 if (obj5) {
2213 {
2214 arg6 = PyList_Size(obj5);
2215 arg7 = wxString_LIST_helper(obj5);
2216 if (arg7 == NULL) SWIG_fail;
2217 }
2218 }
2219 if (obj7) {
2220 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2221 if (arg9 == NULL) {
2222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2223 }
2224 }
2225 if (obj8) {
2226 {
2227 arg10 = wxString_in_helper(obj8);
2228 if (arg10 == NULL) SWIG_fail;
2229 temp9 = True;
2230 }
2231 }
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 resultobj = PyInt_FromLong((long)result);
2240 {
2241 if (arg7) delete [] arg7;
2242 }
2243 {
2244 if (temp9)
2245 delete arg10;
2246 }
2247 return resultobj;
2248 fail:
2249 {
2250 if (arg7) delete [] arg7;
2251 }
2252 {
2253 if (temp9)
2254 delete arg10;
2255 }
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxChoice *arg1 = (wxChoice *) 0 ;
2263 int result;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) 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 result = (int)(arg1)->GetColumns();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 resultobj = PyInt_FromLong((long)result);
2279 return resultobj;
2280 fail:
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxChoice *arg1 = (wxChoice *) 0 ;
2288 int arg2 = (int) (int)1 ;
2289 PyObject * obj0 = 0 ;
2290 char *kwnames[] = {
2291 (char *) "self",(char *) "n", NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",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)->SetColumns(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_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2311 PyObject *resultobj;
2312 wxChoice *arg1 = (wxChoice *) 0 ;
2313 int arg2 ;
2314 PyObject * obj0 = 0 ;
2315 char *kwnames[] = {
2316 (char *) "self",(char *) "n", NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2321 {
2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
2323 (arg1)->SetSelection(arg2);
2324
2325 wxPyEndAllowThreads(__tstate);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 }
2328 Py_INCREF(Py_None); resultobj = Py_None;
2329 return resultobj;
2330 fail:
2331 return NULL;
2332 }
2333
2334
2335 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2336 PyObject *resultobj;
2337 wxChoice *arg1 = (wxChoice *) 0 ;
2338 wxString *arg2 = 0 ;
2339 bool temp2 = False ;
2340 PyObject * obj0 = 0 ;
2341 PyObject * obj1 = 0 ;
2342 char *kwnames[] = {
2343 (char *) "self",(char *) "string", NULL
2344 };
2345
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2348 {
2349 arg2 = wxString_in_helper(obj1);
2350 if (arg2 == NULL) SWIG_fail;
2351 temp2 = True;
2352 }
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 (arg1)->SetStringSelection((wxString const &)*arg2);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 Py_INCREF(Py_None); resultobj = Py_None;
2361 {
2362 if (temp2)
2363 delete arg2;
2364 }
2365 return resultobj;
2366 fail:
2367 {
2368 if (temp2)
2369 delete arg2;
2370 }
2371 return NULL;
2372 }
2373
2374
2375 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2376 PyObject *resultobj;
2377 wxChoice *arg1 = (wxChoice *) 0 ;
2378 int arg2 ;
2379 wxString *arg3 = 0 ;
2380 bool temp3 = False ;
2381 PyObject * obj0 = 0 ;
2382 PyObject * obj2 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self",(char *) "n",(char *) "s", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2389 {
2390 arg3 = wxString_in_helper(obj2);
2391 if (arg3 == NULL) SWIG_fail;
2392 temp3 = True;
2393 }
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 (arg1)->SetString(arg2,(wxString const &)*arg3);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 Py_INCREF(Py_None); resultobj = Py_None;
2402 {
2403 if (temp3)
2404 delete arg3;
2405 }
2406 return resultobj;
2407 fail:
2408 {
2409 if (temp3)
2410 delete arg3;
2411 }
2412 return NULL;
2413 }
2414
2415
2416 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2417 PyObject *obj;
2418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2419 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2420 Py_INCREF(obj);
2421 return Py_BuildValue((char *)"");
2422 }
2423 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2424 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2425 return 1;
2426 }
2427
2428
2429 static PyObject *_wrap_ComboBoxNameStr_get() {
2430 PyObject *pyobj;
2431
2432 {
2433 #if wxUSE_UNICODE
2434 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2435 #else
2436 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2437 #endif
2438 }
2439 return pyobj;
2440 }
2441
2442
2443 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject *resultobj;
2445 wxWindow *arg1 = (wxWindow *) 0 ;
2446 int arg2 ;
2447 wxString const &arg3_defvalue = wxPyEmptyString ;
2448 wxString *arg3 = (wxString *) &arg3_defvalue ;
2449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2451 wxSize const &arg5_defvalue = wxDefaultSize ;
2452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2453 int arg6 = (int) 0 ;
2454 wxString *arg7 = (wxString *) NULL ;
2455 long arg8 = (long) 0 ;
2456 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2457 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2458 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2459 wxString *arg10 = (wxString *) &arg10_defvalue ;
2460 wxComboBox *result;
2461 bool temp3 = False ;
2462 wxPoint temp4 ;
2463 wxSize temp5 ;
2464 bool temp9 = False ;
2465 PyObject * obj0 = 0 ;
2466 PyObject * obj2 = 0 ;
2467 PyObject * obj3 = 0 ;
2468 PyObject * obj4 = 0 ;
2469 PyObject * obj5 = 0 ;
2470 PyObject * obj7 = 0 ;
2471 PyObject * obj8 = 0 ;
2472 char *kwnames[] = {
2473 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2474 };
2475
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2478 if (obj2) {
2479 {
2480 arg3 = wxString_in_helper(obj2);
2481 if (arg3 == NULL) SWIG_fail;
2482 temp3 = True;
2483 }
2484 }
2485 if (obj3) {
2486 {
2487 arg4 = &temp4;
2488 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2489 }
2490 }
2491 if (obj4) {
2492 {
2493 arg5 = &temp5;
2494 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2495 }
2496 }
2497 if (obj5) {
2498 {
2499 arg6 = PyList_Size(obj5);
2500 arg7 = wxString_LIST_helper(obj5);
2501 if (arg7 == NULL) SWIG_fail;
2502 }
2503 }
2504 if (obj7) {
2505 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2506 if (arg9 == NULL) {
2507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2508 }
2509 }
2510 if (obj8) {
2511 {
2512 arg10 = wxString_in_helper(obj8);
2513 if (arg10 == NULL) SWIG_fail;
2514 temp9 = True;
2515 }
2516 }
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2525 {
2526 if (temp3)
2527 delete arg3;
2528 }
2529 {
2530 if (arg7) delete [] arg7;
2531 }
2532 {
2533 if (temp9)
2534 delete arg10;
2535 }
2536 return resultobj;
2537 fail:
2538 {
2539 if (temp3)
2540 delete arg3;
2541 }
2542 {
2543 if (arg7) delete [] arg7;
2544 }
2545 {
2546 if (temp9)
2547 delete arg10;
2548 }
2549 return NULL;
2550 }
2551
2552
2553 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject *resultobj;
2555 wxComboBox *result;
2556 char *kwnames[] = {
2557 NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 result = (wxComboBox *)new wxComboBox();
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2569 return resultobj;
2570 fail:
2571 return NULL;
2572 }
2573
2574
2575 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject *resultobj;
2577 wxComboBox *arg1 = (wxComboBox *) 0 ;
2578 wxWindow *arg2 = (wxWindow *) 0 ;
2579 int arg3 ;
2580 wxString const &arg4_defvalue = wxPyEmptyString ;
2581 wxString *arg4 = (wxString *) &arg4_defvalue ;
2582 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2583 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2584 wxSize const &arg6_defvalue = wxDefaultSize ;
2585 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2586 int arg7 = (int) 0 ;
2587 wxString *arg8 = (wxString *) NULL ;
2588 long arg9 = (long) 0 ;
2589 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2590 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2591 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2592 wxString *arg11 = (wxString *) &arg11_defvalue ;
2593 bool result;
2594 bool temp4 = False ;
2595 wxPoint temp5 ;
2596 wxSize temp6 ;
2597 bool temp10 = False ;
2598 PyObject * obj0 = 0 ;
2599 PyObject * obj1 = 0 ;
2600 PyObject * obj3 = 0 ;
2601 PyObject * obj4 = 0 ;
2602 PyObject * obj5 = 0 ;
2603 PyObject * obj6 = 0 ;
2604 PyObject * obj8 = 0 ;
2605 PyObject * obj9 = 0 ;
2606 char *kwnames[] = {
2607 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2608 };
2609
2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2613 if (obj3) {
2614 {
2615 arg4 = wxString_in_helper(obj3);
2616 if (arg4 == NULL) SWIG_fail;
2617 temp4 = True;
2618 }
2619 }
2620 if (obj4) {
2621 {
2622 arg5 = &temp5;
2623 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2624 }
2625 }
2626 if (obj5) {
2627 {
2628 arg6 = &temp6;
2629 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2630 }
2631 }
2632 if (obj6) {
2633 {
2634 arg7 = PyList_Size(obj6);
2635 arg8 = wxString_LIST_helper(obj6);
2636 if (arg8 == NULL) SWIG_fail;
2637 }
2638 }
2639 if (obj8) {
2640 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2641 if (arg10 == NULL) {
2642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2643 }
2644 }
2645 if (obj9) {
2646 {
2647 arg11 = wxString_in_helper(obj9);
2648 if (arg11 == NULL) SWIG_fail;
2649 temp10 = True;
2650 }
2651 }
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 resultobj = PyInt_FromLong((long)result);
2660 {
2661 if (temp4)
2662 delete arg4;
2663 }
2664 {
2665 if (arg8) delete [] arg8;
2666 }
2667 {
2668 if (temp10)
2669 delete arg11;
2670 }
2671 return resultobj;
2672 fail:
2673 {
2674 if (temp4)
2675 delete arg4;
2676 }
2677 {
2678 if (arg8) delete [] arg8;
2679 }
2680 {
2681 if (temp10)
2682 delete arg11;
2683 }
2684 return NULL;
2685 }
2686
2687
2688 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxComboBox *arg1 = (wxComboBox *) 0 ;
2691 wxString result;
2692 PyObject * obj0 = 0 ;
2693 char *kwnames[] = {
2694 (char *) "self", NULL
2695 };
2696
2697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2699 {
2700 PyThreadState* __tstate = wxPyBeginAllowThreads();
2701 result = ((wxComboBox const *)arg1)->GetValue();
2702
2703 wxPyEndAllowThreads(__tstate);
2704 if (PyErr_Occurred()) SWIG_fail;
2705 }
2706 {
2707 #if wxUSE_UNICODE
2708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2709 #else
2710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2711 #endif
2712 }
2713 return resultobj;
2714 fail:
2715 return NULL;
2716 }
2717
2718
2719 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2720 PyObject *resultobj;
2721 wxComboBox *arg1 = (wxComboBox *) 0 ;
2722 wxString *arg2 = 0 ;
2723 bool temp2 = False ;
2724 PyObject * obj0 = 0 ;
2725 PyObject * obj1 = 0 ;
2726 char *kwnames[] = {
2727 (char *) "self",(char *) "value", NULL
2728 };
2729
2730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2732 {
2733 arg2 = wxString_in_helper(obj1);
2734 if (arg2 == NULL) SWIG_fail;
2735 temp2 = True;
2736 }
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 (arg1)->SetValue((wxString const &)*arg2);
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 Py_INCREF(Py_None); resultobj = Py_None;
2745 {
2746 if (temp2)
2747 delete arg2;
2748 }
2749 return resultobj;
2750 fail:
2751 {
2752 if (temp2)
2753 delete arg2;
2754 }
2755 return NULL;
2756 }
2757
2758
2759 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxComboBox *arg1 = (wxComboBox *) 0 ;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 (arg1)->Copy();
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 Py_INCREF(Py_None); resultobj = Py_None;
2777 return resultobj;
2778 fail:
2779 return NULL;
2780 }
2781
2782
2783 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxComboBox *arg1 = (wxComboBox *) 0 ;
2786 PyObject * obj0 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "self", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 (arg1)->Cut();
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 Py_INCREF(Py_None); resultobj = Py_None;
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxComboBox *arg1 = (wxComboBox *) 0 ;
2810 PyObject * obj0 = 0 ;
2811 char *kwnames[] = {
2812 (char *) "self", NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 (arg1)->Paste();
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 Py_INCREF(Py_None); resultobj = Py_None;
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxComboBox *arg1 = (wxComboBox *) 0 ;
2834 long arg2 ;
2835 PyObject * obj0 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self",(char *) "pos", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 (arg1)->SetInsertionPoint(arg2);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 Py_INCREF(Py_None); resultobj = Py_None;
2850 return resultobj;
2851 fail:
2852 return NULL;
2853 }
2854
2855
2856 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject *resultobj;
2858 wxComboBox *arg1 = (wxComboBox *) 0 ;
2859 long result;
2860 PyObject * obj0 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 resultobj = PyInt_FromLong((long)result);
2875 return resultobj;
2876 fail:
2877 return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxComboBox *arg1 = (wxComboBox *) 0 ;
2884 long result;
2885 PyObject * obj0 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "self", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2892 {
2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
2894 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2895
2896 wxPyEndAllowThreads(__tstate);
2897 if (PyErr_Occurred()) SWIG_fail;
2898 }
2899 resultobj = PyInt_FromLong((long)result);
2900 return resultobj;
2901 fail:
2902 return NULL;
2903 }
2904
2905
2906 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject *resultobj;
2908 wxComboBox *arg1 = (wxComboBox *) 0 ;
2909 long arg2 ;
2910 long arg3 ;
2911 wxString *arg4 = 0 ;
2912 bool temp4 = False ;
2913 PyObject * obj0 = 0 ;
2914 PyObject * obj3 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2921 {
2922 arg4 = wxString_in_helper(obj3);
2923 if (arg4 == NULL) SWIG_fail;
2924 temp4 = True;
2925 }
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 Py_INCREF(Py_None); resultobj = Py_None;
2934 {
2935 if (temp4)
2936 delete arg4;
2937 }
2938 return resultobj;
2939 fail:
2940 {
2941 if (temp4)
2942 delete arg4;
2943 }
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxComboBox *arg1 = (wxComboBox *) 0 ;
2951 int arg2 ;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self",(char *) "n", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 (arg1)->SetSelection(arg2);
2962
2963 wxPyEndAllowThreads(__tstate);
2964 if (PyErr_Occurred()) SWIG_fail;
2965 }
2966 Py_INCREF(Py_None); resultobj = Py_None;
2967 return resultobj;
2968 fail:
2969 return NULL;
2970 }
2971
2972
2973 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj;
2975 wxComboBox *arg1 = (wxComboBox *) 0 ;
2976 long arg2 ;
2977 long arg3 ;
2978 PyObject * obj0 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "from",(char *) "to", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 (arg1)->SetSelection(arg2,arg3);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 Py_INCREF(Py_None); resultobj = Py_None;
2993 return resultobj;
2994 fail:
2995 return NULL;
2996 }
2997
2998
2999 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3000 PyObject *resultobj;
3001 wxComboBox *arg1 = (wxComboBox *) 0 ;
3002 bool arg2 ;
3003 PyObject * obj0 = 0 ;
3004 PyObject * obj1 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "self",(char *) "editable", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3011 arg2 = PyInt_AsLong(obj1) ? true : false;
3012 if (PyErr_Occurred()) SWIG_fail;
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 (arg1)->SetEditable(arg2);
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 Py_INCREF(Py_None); resultobj = Py_None;
3021 return resultobj;
3022 fail:
3023 return NULL;
3024 }
3025
3026
3027 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3028 PyObject *resultobj;
3029 wxComboBox *arg1 = (wxComboBox *) 0 ;
3030 PyObject * obj0 = 0 ;
3031 char *kwnames[] = {
3032 (char *) "self", NULL
3033 };
3034
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 (arg1)->SetInsertionPointEnd();
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 Py_INCREF(Py_None); resultobj = Py_None;
3045 return resultobj;
3046 fail:
3047 return NULL;
3048 }
3049
3050
3051 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj;
3053 wxComboBox *arg1 = (wxComboBox *) 0 ;
3054 long arg2 ;
3055 long arg3 ;
3056 PyObject * obj0 = 0 ;
3057 char *kwnames[] = {
3058 (char *) "self",(char *) "from",(char *) "to", NULL
3059 };
3060
3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3063 {
3064 PyThreadState* __tstate = wxPyBeginAllowThreads();
3065 (arg1)->Remove(arg2,arg3);
3066
3067 wxPyEndAllowThreads(__tstate);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 }
3070 Py_INCREF(Py_None); resultobj = Py_None;
3071 return resultobj;
3072 fail:
3073 return NULL;
3074 }
3075
3076
3077 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3078 PyObject *obj;
3079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3080 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3081 Py_INCREF(obj);
3082 return Py_BuildValue((char *)"");
3083 }
3084 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3085 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3086 return 1;
3087 }
3088
3089
3090 static PyObject *_wrap_GaugeNameStr_get() {
3091 PyObject *pyobj;
3092
3093 {
3094 #if wxUSE_UNICODE
3095 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3096 #else
3097 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3098 #endif
3099 }
3100 return pyobj;
3101 }
3102
3103
3104 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxWindow *arg1 = (wxWindow *) 0 ;
3107 int arg2 ;
3108 int arg3 ;
3109 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3110 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3111 wxSize const &arg5_defvalue = wxDefaultSize ;
3112 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3113 long arg6 = (long) wxGA_HORIZONTAL ;
3114 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3115 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3116 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3117 wxString *arg8 = (wxString *) &arg8_defvalue ;
3118 wxGauge *result;
3119 wxPoint temp4 ;
3120 wxSize temp5 ;
3121 bool temp8 = False ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj3 = 0 ;
3124 PyObject * obj4 = 0 ;
3125 PyObject * obj6 = 0 ;
3126 PyObject * obj7 = 0 ;
3127 char *kwnames[] = {
3128 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3129 };
3130
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3133 if (obj3) {
3134 {
3135 arg4 = &temp4;
3136 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3137 }
3138 }
3139 if (obj4) {
3140 {
3141 arg5 = &temp5;
3142 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3143 }
3144 }
3145 if (obj6) {
3146 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3147 if (arg7 == NULL) {
3148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3149 }
3150 }
3151 if (obj7) {
3152 {
3153 arg8 = wxString_in_helper(obj7);
3154 if (arg8 == NULL) SWIG_fail;
3155 temp8 = True;
3156 }
3157 }
3158 {
3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
3160 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3166 {
3167 if (temp8)
3168 delete arg8;
3169 }
3170 return resultobj;
3171 fail:
3172 {
3173 if (temp8)
3174 delete arg8;
3175 }
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxGauge *result;
3183 char *kwnames[] = {
3184 NULL
3185 };
3186
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 result = (wxGauge *)new wxGauge();
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3196 return resultobj;
3197 fail:
3198 return NULL;
3199 }
3200
3201
3202 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxGauge *arg1 = (wxGauge *) 0 ;
3205 wxWindow *arg2 = (wxWindow *) 0 ;
3206 int arg3 ;
3207 int arg4 ;
3208 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3209 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3210 wxSize const &arg6_defvalue = wxDefaultSize ;
3211 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3212 long arg7 = (long) wxGA_HORIZONTAL ;
3213 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3214 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3215 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3216 wxString *arg9 = (wxString *) &arg9_defvalue ;
3217 bool result;
3218 wxPoint temp5 ;
3219 wxSize temp6 ;
3220 bool temp9 = False ;
3221 PyObject * obj0 = 0 ;
3222 PyObject * obj1 = 0 ;
3223 PyObject * obj4 = 0 ;
3224 PyObject * obj5 = 0 ;
3225 PyObject * obj7 = 0 ;
3226 PyObject * obj8 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3234 if (obj4) {
3235 {
3236 arg5 = &temp5;
3237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3238 }
3239 }
3240 if (obj5) {
3241 {
3242 arg6 = &temp6;
3243 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3244 }
3245 }
3246 if (obj7) {
3247 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3248 if (arg8 == NULL) {
3249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3250 }
3251 }
3252 if (obj8) {
3253 {
3254 arg9 = wxString_in_helper(obj8);
3255 if (arg9 == NULL) SWIG_fail;
3256 temp9 = True;
3257 }
3258 }
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 resultobj = PyInt_FromLong((long)result);
3267 {
3268 if (temp9)
3269 delete arg9;
3270 }
3271 return resultobj;
3272 fail:
3273 {
3274 if (temp9)
3275 delete arg9;
3276 }
3277 return NULL;
3278 }
3279
3280
3281 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj;
3283 wxGauge *arg1 = (wxGauge *) 0 ;
3284 int arg2 ;
3285 PyObject * obj0 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "range", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 (arg1)->SetRange(arg2);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxGauge *arg1 = (wxGauge *) 0 ;
3309 int result;
3310 PyObject * obj0 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = (int)((wxGauge const *)arg1)->GetRange();
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 resultobj = PyInt_FromLong((long)result);
3325 return resultobj;
3326 fail:
3327 return NULL;
3328 }
3329
3330
3331 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxGauge *arg1 = (wxGauge *) 0 ;
3334 int arg2 ;
3335 PyObject * obj0 = 0 ;
3336 char *kwnames[] = {
3337 (char *) "self",(char *) "pos", NULL
3338 };
3339
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 (arg1)->SetValue(arg2);
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 Py_INCREF(Py_None); resultobj = Py_None;
3350 return resultobj;
3351 fail:
3352 return NULL;
3353 }
3354
3355
3356 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 wxGauge *arg1 = (wxGauge *) 0 ;
3359 int result;
3360 PyObject * obj0 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3367 {
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 result = (int)((wxGauge const *)arg1)->GetValue();
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 resultobj = PyInt_FromLong((long)result);
3375 return resultobj;
3376 fail:
3377 return NULL;
3378 }
3379
3380
3381 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3382 PyObject *resultobj;
3383 wxGauge *arg1 = (wxGauge *) 0 ;
3384 bool result;
3385 PyObject * obj0 = 0 ;
3386 char *kwnames[] = {
3387 (char *) "self", NULL
3388 };
3389
3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 result = (bool)((wxGauge const *)arg1)->IsVertical();
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 resultobj = PyInt_FromLong((long)result);
3400 return resultobj;
3401 fail:
3402 return NULL;
3403 }
3404
3405
3406 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject *resultobj;
3408 wxGauge *arg1 = (wxGauge *) 0 ;
3409 int arg2 ;
3410 PyObject * obj0 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "w", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetShadowWidth(arg2);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxGauge *arg1 = (wxGauge *) 0 ;
3434 int result;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 resultobj = PyInt_FromLong((long)result);
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxGauge *arg1 = (wxGauge *) 0 ;
3459 int arg2 ;
3460 PyObject * obj0 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "w", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 (arg1)->SetBezelFace(arg2);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 Py_INCREF(Py_None); resultobj = Py_None;
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxGauge *arg1 = (wxGauge *) 0 ;
3484 int result;
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self", NULL
3488 };
3489
3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 resultobj = PyInt_FromLong((long)result);
3500 return resultobj;
3501 fail:
3502 return NULL;
3503 }
3504
3505
3506 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3507 PyObject *obj;
3508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3509 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3510 Py_INCREF(obj);
3511 return Py_BuildValue((char *)"");
3512 }
3513 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3514 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3515 return 1;
3516 }
3517
3518
3519 static PyObject *_wrap_StaticBitmapNameStr_get() {
3520 PyObject *pyobj;
3521
3522 {
3523 #if wxUSE_UNICODE
3524 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3525 #else
3526 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3527 #endif
3528 }
3529 return pyobj;
3530 }
3531
3532
3533 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3534 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3535 return 1;
3536 }
3537
3538
3539 static PyObject *_wrap_StaticBoxNameStr_get() {
3540 PyObject *pyobj;
3541
3542 {
3543 #if wxUSE_UNICODE
3544 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3545 #else
3546 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3547 #endif
3548 }
3549 return pyobj;
3550 }
3551
3552
3553 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3554 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3555 return 1;
3556 }
3557
3558
3559 static PyObject *_wrap_StaticTextNameStr_get() {
3560 PyObject *pyobj;
3561
3562 {
3563 #if wxUSE_UNICODE
3564 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3565 #else
3566 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3567 #endif
3568 }
3569 return pyobj;
3570 }
3571
3572
3573 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxWindow *arg1 = (wxWindow *) 0 ;
3576 int arg2 ;
3577 wxString *arg3 = 0 ;
3578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3580 wxSize const &arg5_defvalue = wxDefaultSize ;
3581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3582 long arg6 = (long) 0 ;
3583 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3584 wxString *arg7 = (wxString *) &arg7_defvalue ;
3585 wxStaticBox *result;
3586 bool temp3 = False ;
3587 wxPoint temp4 ;
3588 wxSize temp5 ;
3589 bool temp7 = False ;
3590 PyObject * obj0 = 0 ;
3591 PyObject * obj2 = 0 ;
3592 PyObject * obj3 = 0 ;
3593 PyObject * obj4 = 0 ;
3594 PyObject * obj6 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3601 {
3602 arg3 = wxString_in_helper(obj2);
3603 if (arg3 == NULL) SWIG_fail;
3604 temp3 = True;
3605 }
3606 if (obj3) {
3607 {
3608 arg4 = &temp4;
3609 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3610 }
3611 }
3612 if (obj4) {
3613 {
3614 arg5 = &temp5;
3615 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3616 }
3617 }
3618 if (obj6) {
3619 {
3620 arg7 = wxString_in_helper(obj6);
3621 if (arg7 == NULL) SWIG_fail;
3622 temp7 = True;
3623 }
3624 }
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
3632 {
3633 resultobj = wxPyMake_wxObject(result);
3634 }
3635 {
3636 if (temp3)
3637 delete arg3;
3638 }
3639 {
3640 if (temp7)
3641 delete arg7;
3642 }
3643 return resultobj;
3644 fail:
3645 {
3646 if (temp3)
3647 delete arg3;
3648 }
3649 {
3650 if (temp7)
3651 delete arg7;
3652 }
3653 return NULL;
3654 }
3655
3656
3657 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject *resultobj;
3659 wxStaticBox *result;
3660 char *kwnames[] = {
3661 NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 result = (wxStaticBox *)new wxStaticBox();
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 {
3673 resultobj = wxPyMake_wxObject(result);
3674 }
3675 return resultobj;
3676 fail:
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3684 wxWindow *arg2 = (wxWindow *) 0 ;
3685 int arg3 ;
3686 wxString *arg4 = 0 ;
3687 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3688 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3689 wxSize const &arg6_defvalue = wxDefaultSize ;
3690 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3691 long arg7 = (long) 0 ;
3692 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3693 wxString *arg8 = (wxString *) &arg8_defvalue ;
3694 bool result;
3695 bool temp4 = False ;
3696 wxPoint temp5 ;
3697 wxSize temp6 ;
3698 bool temp8 = False ;
3699 PyObject * obj0 = 0 ;
3700 PyObject * obj1 = 0 ;
3701 PyObject * obj3 = 0 ;
3702 PyObject * obj4 = 0 ;
3703 PyObject * obj5 = 0 ;
3704 PyObject * obj7 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 {
3713 arg4 = wxString_in_helper(obj3);
3714 if (arg4 == NULL) SWIG_fail;
3715 temp4 = True;
3716 }
3717 if (obj4) {
3718 {
3719 arg5 = &temp5;
3720 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3721 }
3722 }
3723 if (obj5) {
3724 {
3725 arg6 = &temp6;
3726 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3727 }
3728 }
3729 if (obj7) {
3730 {
3731 arg8 = wxString_in_helper(obj7);
3732 if (arg8 == NULL) SWIG_fail;
3733 temp8 = True;
3734 }
3735 }
3736 {
3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
3738 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3739
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 resultobj = PyInt_FromLong((long)result);
3744 {
3745 if (temp4)
3746 delete arg4;
3747 }
3748 {
3749 if (temp8)
3750 delete arg8;
3751 }
3752 return resultobj;
3753 fail:
3754 {
3755 if (temp4)
3756 delete arg4;
3757 }
3758 {
3759 if (temp8)
3760 delete arg8;
3761 }
3762 return NULL;
3763 }
3764
3765
3766 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3767 PyObject *obj;
3768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3769 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3770 Py_INCREF(obj);
3771 return Py_BuildValue((char *)"");
3772 }
3773 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj;
3775 wxWindow *arg1 = (wxWindow *) 0 ;
3776 int arg2 ;
3777 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3778 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3779 wxSize const &arg4_defvalue = wxDefaultSize ;
3780 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3781 long arg5 = (long) wxLI_HORIZONTAL ;
3782 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3783 wxString *arg6 = (wxString *) &arg6_defvalue ;
3784 wxStaticLine *result;
3785 wxPoint temp3 ;
3786 wxSize temp4 ;
3787 bool temp6 = False ;
3788 PyObject * obj0 = 0 ;
3789 PyObject * obj2 = 0 ;
3790 PyObject * obj3 = 0 ;
3791 PyObject * obj5 = 0 ;
3792 char *kwnames[] = {
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3794 };
3795
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3798 if (obj2) {
3799 {
3800 arg3 = &temp3;
3801 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3802 }
3803 }
3804 if (obj3) {
3805 {
3806 arg4 = &temp4;
3807 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3808 }
3809 }
3810 if (obj5) {
3811 {
3812 arg6 = wxString_in_helper(obj5);
3813 if (arg6 == NULL) SWIG_fail;
3814 temp6 = True;
3815 }
3816 }
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3825 {
3826 if (temp6)
3827 delete arg6;
3828 }
3829 return resultobj;
3830 fail:
3831 {
3832 if (temp6)
3833 delete arg6;
3834 }
3835 return NULL;
3836 }
3837
3838
3839 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3840 PyObject *resultobj;
3841 wxStaticLine *result;
3842 char *kwnames[] = {
3843 NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3847 {
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 result = (wxStaticLine *)new wxStaticLine();
3850
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj;
3863 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3864 wxWindow *arg2 = (wxWindow *) 0 ;
3865 int arg3 ;
3866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3868 wxSize const &arg5_defvalue = wxDefaultSize ;
3869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3870 long arg6 = (long) wxLI_HORIZONTAL ;
3871 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3872 wxString *arg7 = (wxString *) &arg7_defvalue ;
3873 bool result;
3874 wxPoint temp4 ;
3875 wxSize temp5 ;
3876 bool temp7 = False ;
3877 PyObject * obj0 = 0 ;
3878 PyObject * obj1 = 0 ;
3879 PyObject * obj3 = 0 ;
3880 PyObject * obj4 = 0 ;
3881 PyObject * obj6 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 if (obj3) {
3890 {
3891 arg4 = &temp4;
3892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3893 }
3894 }
3895 if (obj4) {
3896 {
3897 arg5 = &temp5;
3898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3899 }
3900 }
3901 if (obj6) {
3902 {
3903 arg7 = wxString_in_helper(obj6);
3904 if (arg7 == NULL) SWIG_fail;
3905 temp7 = True;
3906 }
3907 }
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 resultobj = PyInt_FromLong((long)result);
3916 {
3917 if (temp7)
3918 delete arg7;
3919 }
3920 return resultobj;
3921 fail:
3922 {
3923 if (temp7)
3924 delete arg7;
3925 }
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3933 bool result;
3934 PyObject * obj0 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 resultobj = PyInt_FromLong((long)result);
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 int result;
3958 char *kwnames[] = {
3959 NULL
3960 };
3961
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = (int)wxStaticLine::GetDefaultSize();
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 resultobj = PyInt_FromLong((long)result);
3971 return resultobj;
3972 fail:
3973 return NULL;
3974 }
3975
3976
3977 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3978 PyObject *obj;
3979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3980 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3981 Py_INCREF(obj);
3982 return Py_BuildValue((char *)"");
3983 }
3984 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj;
3986 wxWindow *arg1 = (wxWindow *) 0 ;
3987 int arg2 ;
3988 wxString *arg3 = 0 ;
3989 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3990 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3991 wxSize const &arg5_defvalue = wxDefaultSize ;
3992 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3993 long arg6 = (long) 0 ;
3994 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3995 wxString *arg7 = (wxString *) &arg7_defvalue ;
3996 wxStaticText *result;
3997 bool temp3 = False ;
3998 wxPoint temp4 ;
3999 wxSize temp5 ;
4000 bool temp7 = False ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj2 = 0 ;
4003 PyObject * obj3 = 0 ;
4004 PyObject * obj4 = 0 ;
4005 PyObject * obj6 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 {
4013 arg3 = wxString_in_helper(obj2);
4014 if (arg3 == NULL) SWIG_fail;
4015 temp3 = True;
4016 }
4017 if (obj3) {
4018 {
4019 arg4 = &temp4;
4020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4021 }
4022 }
4023 if (obj4) {
4024 {
4025 arg5 = &temp5;
4026 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4027 }
4028 }
4029 if (obj6) {
4030 {
4031 arg7 = wxString_in_helper(obj6);
4032 if (arg7 == NULL) SWIG_fail;
4033 temp7 = True;
4034 }
4035 }
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4044 {
4045 if (temp3)
4046 delete arg3;
4047 }
4048 {
4049 if (temp7)
4050 delete arg7;
4051 }
4052 return resultobj;
4053 fail:
4054 {
4055 if (temp3)
4056 delete arg3;
4057 }
4058 {
4059 if (temp7)
4060 delete arg7;
4061 }
4062 return NULL;
4063 }
4064
4065
4066 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject *resultobj;
4068 wxStaticText *result;
4069 char *kwnames[] = {
4070 NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 result = (wxStaticText *)new wxStaticText();
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4082 return resultobj;
4083 fail:
4084 return NULL;
4085 }
4086
4087
4088 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4089 PyObject *resultobj;
4090 wxStaticText *arg1 = (wxStaticText *) 0 ;
4091 wxWindow *arg2 = (wxWindow *) 0 ;
4092 int arg3 ;
4093 wxString *arg4 = 0 ;
4094 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4095 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4096 wxSize const &arg6_defvalue = wxDefaultSize ;
4097 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4098 long arg7 = (long) 0 ;
4099 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4100 wxString *arg8 = (wxString *) &arg8_defvalue ;
4101 bool result;
4102 bool temp4 = False ;
4103 wxPoint temp5 ;
4104 wxSize temp6 ;
4105 bool temp8 = False ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 PyObject * obj3 = 0 ;
4109 PyObject * obj4 = 0 ;
4110 PyObject * obj5 = 0 ;
4111 PyObject * obj7 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4119 {
4120 arg4 = wxString_in_helper(obj3);
4121 if (arg4 == NULL) SWIG_fail;
4122 temp4 = True;
4123 }
4124 if (obj4) {
4125 {
4126 arg5 = &temp5;
4127 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4128 }
4129 }
4130 if (obj5) {
4131 {
4132 arg6 = &temp6;
4133 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4134 }
4135 }
4136 if (obj7) {
4137 {
4138 arg8 = wxString_in_helper(obj7);
4139 if (arg8 == NULL) SWIG_fail;
4140 temp8 = True;
4141 }
4142 }
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = PyInt_FromLong((long)result);
4151 {
4152 if (temp4)
4153 delete arg4;
4154 }
4155 {
4156 if (temp8)
4157 delete arg8;
4158 }
4159 return resultobj;
4160 fail:
4161 {
4162 if (temp4)
4163 delete arg4;
4164 }
4165 {
4166 if (temp8)
4167 delete arg8;
4168 }
4169 return NULL;
4170 }
4171
4172
4173 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4174 PyObject *obj;
4175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4176 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4177 Py_INCREF(obj);
4178 return Py_BuildValue((char *)"");
4179 }
4180 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 wxWindow *arg1 = (wxWindow *) 0 ;
4183 int arg2 ;
4184 wxBitmap *arg3 = 0 ;
4185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4187 wxSize const &arg5_defvalue = wxDefaultSize ;
4188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4189 long arg6 = (long) 0 ;
4190 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4191 wxString *arg7 = (wxString *) &arg7_defvalue ;
4192 wxStaticBitmap *result;
4193 wxPoint temp4 ;
4194 wxSize temp5 ;
4195 bool temp7 = False ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj2 = 0 ;
4198 PyObject * obj3 = 0 ;
4199 PyObject * obj4 = 0 ;
4200 PyObject * obj6 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4207 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4208 if (arg3 == NULL) {
4209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4210 }
4211 if (obj3) {
4212 {
4213 arg4 = &temp4;
4214 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4215 }
4216 }
4217 if (obj4) {
4218 {
4219 arg5 = &temp5;
4220 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4221 }
4222 }
4223 if (obj6) {
4224 {
4225 arg7 = wxString_in_helper(obj6);
4226 if (arg7 == NULL) SWIG_fail;
4227 temp7 = True;
4228 }
4229 }
4230 {
4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
4232 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4233
4234 wxPyEndAllowThreads(__tstate);
4235 if (PyErr_Occurred()) SWIG_fail;
4236 }
4237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4238 {
4239 if (temp7)
4240 delete arg7;
4241 }
4242 return resultobj;
4243 fail:
4244 {
4245 if (temp7)
4246 delete arg7;
4247 }
4248 return NULL;
4249 }
4250
4251
4252 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxStaticBitmap *result;
4255 char *kwnames[] = {
4256 NULL
4257 };
4258
4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = (wxStaticBitmap *)new wxStaticBitmap();
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject *resultobj;
4276 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4277 wxWindow *arg2 = (wxWindow *) 0 ;
4278 int arg3 ;
4279 wxBitmap *arg4 = 0 ;
4280 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4281 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4282 wxSize const &arg6_defvalue = wxDefaultSize ;
4283 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4284 long arg7 = (long) 0 ;
4285 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4286 wxString *arg8 = (wxString *) &arg8_defvalue ;
4287 bool result;
4288 wxPoint temp5 ;
4289 wxSize temp6 ;
4290 bool temp8 = False ;
4291 PyObject * obj0 = 0 ;
4292 PyObject * obj1 = 0 ;
4293 PyObject * obj3 = 0 ;
4294 PyObject * obj4 = 0 ;
4295 PyObject * obj5 = 0 ;
4296 PyObject * obj7 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4304 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4305 if (arg4 == NULL) {
4306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4307 }
4308 if (obj4) {
4309 {
4310 arg5 = &temp5;
4311 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4312 }
4313 }
4314 if (obj5) {
4315 {
4316 arg6 = &temp6;
4317 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4318 }
4319 }
4320 if (obj7) {
4321 {
4322 arg8 = wxString_in_helper(obj7);
4323 if (arg8 == NULL) SWIG_fail;
4324 temp8 = True;
4325 }
4326 }
4327 {
4328 PyThreadState* __tstate = wxPyBeginAllowThreads();
4329 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4330
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 resultobj = PyInt_FromLong((long)result);
4335 {
4336 if (temp8)
4337 delete arg8;
4338 }
4339 return resultobj;
4340 fail:
4341 {
4342 if (temp8)
4343 delete arg8;
4344 }
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj;
4351 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4352 wxBitmap result;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 result = (arg1)->GetBitmap();
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 {
4368 wxBitmap * resultptr;
4369 resultptr = new wxBitmap((wxBitmap &) result);
4370 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4371 }
4372 return resultobj;
4373 fail:
4374 return NULL;
4375 }
4376
4377
4378 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4379 PyObject *resultobj;
4380 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4381 wxBitmap *arg2 = 0 ;
4382 PyObject * obj0 = 0 ;
4383 PyObject * obj1 = 0 ;
4384 char *kwnames[] = {
4385 (char *) "self",(char *) "bitmap", NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if (arg2 == NULL) {
4392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4393 }
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4397
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 Py_INCREF(Py_None); resultobj = Py_None;
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj;
4410 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4411 wxIcon *arg2 = 0 ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 char *kwnames[] = {
4415 (char *) "self",(char *) "icon", NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4421 if (arg2 == NULL) {
4422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4423 }
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->SetIcon((wxIcon const &)*arg2);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 return resultobj;
4433 fail:
4434 return NULL;
4435 }
4436
4437
4438 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4439 PyObject *obj;
4440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4441 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4442 Py_INCREF(obj);
4443 return Py_BuildValue((char *)"");
4444 }
4445 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4446 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4447 return 1;
4448 }
4449
4450
4451 static PyObject *_wrap_ListBoxNameStr_get() {
4452 PyObject *pyobj;
4453
4454 {
4455 #if wxUSE_UNICODE
4456 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4457 #else
4458 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4459 #endif
4460 }
4461 return pyobj;
4462 }
4463
4464
4465 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4466 PyObject *resultobj;
4467 wxWindow *arg1 = (wxWindow *) 0 ;
4468 int arg2 ;
4469 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4470 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4471 wxSize const &arg4_defvalue = wxDefaultSize ;
4472 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4473 int arg5 = (int) 0 ;
4474 wxString *arg6 = (wxString *) NULL ;
4475 long arg7 = (long) 0 ;
4476 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4477 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4478 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4479 wxString *arg9 = (wxString *) &arg9_defvalue ;
4480 wxListBox *result;
4481 wxPoint temp3 ;
4482 wxSize temp4 ;
4483 bool temp8 = False ;
4484 PyObject * obj0 = 0 ;
4485 PyObject * obj2 = 0 ;
4486 PyObject * obj3 = 0 ;
4487 PyObject * obj4 = 0 ;
4488 PyObject * obj6 = 0 ;
4489 PyObject * obj7 = 0 ;
4490 char *kwnames[] = {
4491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4492 };
4493
4494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4496 if (obj2) {
4497 {
4498 arg3 = &temp3;
4499 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4500 }
4501 }
4502 if (obj3) {
4503 {
4504 arg4 = &temp4;
4505 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4506 }
4507 }
4508 if (obj4) {
4509 {
4510 arg5 = PyList_Size(obj4);
4511 arg6 = wxString_LIST_helper(obj4);
4512 if (arg6 == NULL) SWIG_fail;
4513 }
4514 }
4515 if (obj6) {
4516 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4517 if (arg8 == NULL) {
4518 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4519 }
4520 }
4521 if (obj7) {
4522 {
4523 arg9 = wxString_in_helper(obj7);
4524 if (arg9 == NULL) SWIG_fail;
4525 temp8 = True;
4526 }
4527 }
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4536 {
4537 if (arg6) delete [] arg6;
4538 }
4539 {
4540 if (temp8)
4541 delete arg9;
4542 }
4543 return resultobj;
4544 fail:
4545 {
4546 if (arg6) delete [] arg6;
4547 }
4548 {
4549 if (temp8)
4550 delete arg9;
4551 }
4552 return NULL;
4553 }
4554
4555
4556 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4557 PyObject *resultobj;
4558 wxListBox *result;
4559 char *kwnames[] = {
4560 NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 result = (wxListBox *)new wxListBox();
4567
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4572 return resultobj;
4573 fail:
4574 return NULL;
4575 }
4576
4577
4578 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxListBox *arg1 = (wxListBox *) 0 ;
4581 wxWindow *arg2 = (wxWindow *) 0 ;
4582 int arg3 ;
4583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4585 wxSize const &arg5_defvalue = wxDefaultSize ;
4586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4587 int arg6 = (int) 0 ;
4588 wxString *arg7 = (wxString *) NULL ;
4589 long arg8 = (long) 0 ;
4590 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4591 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4592 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4593 wxString *arg10 = (wxString *) &arg10_defvalue ;
4594 bool result;
4595 wxPoint temp4 ;
4596 wxSize temp5 ;
4597 bool temp9 = False ;
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj1 = 0 ;
4600 PyObject * obj3 = 0 ;
4601 PyObject * obj4 = 0 ;
4602 PyObject * obj5 = 0 ;
4603 PyObject * obj7 = 0 ;
4604 PyObject * obj8 = 0 ;
4605 char *kwnames[] = {
4606 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4612 if (obj3) {
4613 {
4614 arg4 = &temp4;
4615 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4616 }
4617 }
4618 if (obj4) {
4619 {
4620 arg5 = &temp5;
4621 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4622 }
4623 }
4624 if (obj5) {
4625 {
4626 arg6 = PyList_Size(obj5);
4627 arg7 = wxString_LIST_helper(obj5);
4628 if (arg7 == NULL) SWIG_fail;
4629 }
4630 }
4631 if (obj7) {
4632 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4633 if (arg9 == NULL) {
4634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4635 }
4636 }
4637 if (obj8) {
4638 {
4639 arg10 = wxString_in_helper(obj8);
4640 if (arg10 == NULL) SWIG_fail;
4641 temp9 = True;
4642 }
4643 }
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 resultobj = PyInt_FromLong((long)result);
4652 {
4653 if (arg7) delete [] arg7;
4654 }
4655 {
4656 if (temp9)
4657 delete arg10;
4658 }
4659 return resultobj;
4660 fail:
4661 {
4662 if (arg7) delete [] arg7;
4663 }
4664 {
4665 if (temp9)
4666 delete arg10;
4667 }
4668 return NULL;
4669 }
4670
4671
4672 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj;
4674 wxListBox *arg1 = (wxListBox *) 0 ;
4675 wxString *arg2 = 0 ;
4676 int arg3 ;
4677 PyObject *arg4 = (PyObject *) NULL ;
4678 bool temp2 = False ;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 PyObject * obj3 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4688 {
4689 arg2 = wxString_in_helper(obj1);
4690 if (arg2 == NULL) SWIG_fail;
4691 temp2 = True;
4692 }
4693 if (obj3) {
4694 arg4 = obj3;
4695 }
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 Py_INCREF(Py_None); resultobj = Py_None;
4704 {
4705 if (temp2)
4706 delete arg2;
4707 }
4708 return resultobj;
4709 fail:
4710 {
4711 if (temp2)
4712 delete arg2;
4713 }
4714 return NULL;
4715 }
4716
4717
4718 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj;
4720 wxListBox *arg1 = (wxListBox *) 0 ;
4721 wxArrayString *arg2 = 0 ;
4722 int arg3 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "items",(char *) "pos", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 {
4732 if (! PySequence_Check(obj1)) {
4733 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4734 SWIG_fail;
4735 }
4736 arg2 = new wxArrayString;
4737 int i, len=PySequence_Length(obj1);
4738 for (i=0; i<len; i++) {
4739 PyObject* item = PySequence_GetItem(obj1, i);
4740 #if wxUSE_UNICODE
4741 PyObject* str = PyObject_Unicode(item);
4742 #else
4743 PyObject* str = PyObject_Str(item);
4744 #endif
4745 arg2->Add(Py2wxString(str));
4746 Py_DECREF(item);
4747 Py_DECREF(str);
4748 }
4749 }
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 Py_INCREF(Py_None); resultobj = Py_None;
4758 {
4759 if (arg2) delete arg2;
4760 }
4761 return resultobj;
4762 fail:
4763 {
4764 if (arg2) delete arg2;
4765 }
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxListBox *arg1 = (wxListBox *) 0 ;
4773 wxArrayString *arg2 = 0 ;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self",(char *) "items", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4782 {
4783 if (! PySequence_Check(obj1)) {
4784 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4785 SWIG_fail;
4786 }
4787 arg2 = new wxArrayString;
4788 int i, len=PySequence_Length(obj1);
4789 for (i=0; i<len; i++) {
4790 PyObject* item = PySequence_GetItem(obj1, i);
4791 #if wxUSE_UNICODE
4792 PyObject* str = PyObject_Unicode(item);
4793 #else
4794 PyObject* str = PyObject_Str(item);
4795 #endif
4796 arg2->Add(Py2wxString(str));
4797 Py_DECREF(item);
4798 Py_DECREF(str);
4799 }
4800 }
4801 {
4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
4803 (arg1)->Set((wxArrayString const &)*arg2);
4804
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 Py_INCREF(Py_None); resultobj = Py_None;
4809 {
4810 if (arg2) delete arg2;
4811 }
4812 return resultobj;
4813 fail:
4814 {
4815 if (arg2) delete arg2;
4816 }
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxListBox *arg1 = (wxListBox *) 0 ;
4824 int arg2 ;
4825 bool result;
4826 PyObject * obj0 = 0 ;
4827 char *kwnames[] = {
4828 (char *) "self",(char *) "n", NULL
4829 };
4830
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 resultobj = PyInt_FromLong((long)result);
4841 return resultobj;
4842 fail:
4843 return NULL;
4844 }
4845
4846
4847 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4848 PyObject *resultobj;
4849 wxListBox *arg1 = (wxListBox *) 0 ;
4850 int arg2 ;
4851 bool arg3 = (bool) True ;
4852 PyObject * obj0 = 0 ;
4853 PyObject * obj2 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self",(char *) "n",(char *) "select", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 if (obj2) {
4861 arg3 = PyInt_AsLong(obj2) ? true : false;
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 (arg1)->SetSelection(arg2,arg3);
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 Py_INCREF(Py_None); resultobj = Py_None;
4872 return resultobj;
4873 fail:
4874 return NULL;
4875 }
4876
4877
4878 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4879 PyObject *resultobj;
4880 wxListBox *arg1 = (wxListBox *) 0 ;
4881 int arg2 ;
4882 PyObject * obj0 = 0 ;
4883 char *kwnames[] = {
4884 (char *) "self",(char *) "n", NULL
4885 };
4886
4887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 (arg1)->Select(arg2);
4892
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 Py_INCREF(Py_None); resultobj = Py_None;
4897 return resultobj;
4898 fail:
4899 return NULL;
4900 }
4901
4902
4903 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4904 PyObject *resultobj;
4905 wxListBox *arg1 = (wxListBox *) 0 ;
4906 int arg2 ;
4907 PyObject * obj0 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "n", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 (arg1)->Deselect(arg2);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 Py_INCREF(Py_None); resultobj = Py_None;
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxListBox *arg1 = (wxListBox *) 0 ;
4931 int arg2 = (int) -1 ;
4932 PyObject * obj0 = 0 ;
4933 char *kwnames[] = {
4934 (char *) "self",(char *) "itemToLeaveSelected", NULL
4935 };
4936
4937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 (arg1)->DeselectAll(arg2);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 Py_INCREF(Py_None); resultobj = Py_None;
4947 return resultobj;
4948 fail:
4949 return NULL;
4950 }
4951
4952
4953 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject *resultobj;
4955 wxListBox *arg1 = (wxListBox *) 0 ;
4956 wxString *arg2 = 0 ;
4957 bool arg3 = (bool) True ;
4958 bool result;
4959 bool temp2 = False ;
4960 PyObject * obj0 = 0 ;
4961 PyObject * obj1 = 0 ;
4962 PyObject * obj2 = 0 ;
4963 char *kwnames[] = {
4964 (char *) "self",(char *) "s",(char *) "select", NULL
4965 };
4966
4967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4969 {
4970 arg2 = wxString_in_helper(obj1);
4971 if (arg2 == NULL) SWIG_fail;
4972 temp2 = True;
4973 }
4974 if (obj2) {
4975 arg3 = PyInt_AsLong(obj2) ? true : false;
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 resultobj = PyInt_FromLong((long)result);
4986 {
4987 if (temp2)
4988 delete arg2;
4989 }
4990 return resultobj;
4991 fail:
4992 {
4993 if (temp2)
4994 delete arg2;
4995 }
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxListBox *arg1 = (wxListBox *) 0 ;
5003 PyObject *result;
5004 PyObject * obj0 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (PyObject *)wxListBox_GetSelections(arg1);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 resultobj = result;
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxListBox *arg1 = (wxListBox *) 0 ;
5028 int arg2 ;
5029 PyObject * obj0 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "n", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 (arg1)->SetFirstItem(arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 Py_INCREF(Py_None); resultobj = Py_None;
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxListBox *arg1 = (wxListBox *) 0 ;
5053 wxString *arg2 = 0 ;
5054 bool temp2 = False ;
5055 PyObject * obj0 = 0 ;
5056 PyObject * obj1 = 0 ;
5057 char *kwnames[] = {
5058 (char *) "self",(char *) "s", NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5063 {
5064 arg2 = wxString_in_helper(obj1);
5065 if (arg2 == NULL) SWIG_fail;
5066 temp2 = True;
5067 }
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 (arg1)->SetFirstItem((wxString const &)*arg2);
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 Py_INCREF(Py_None); resultobj = Py_None;
5076 {
5077 if (temp2)
5078 delete arg2;
5079 }
5080 return resultobj;
5081 fail:
5082 {
5083 if (temp2)
5084 delete arg2;
5085 }
5086 return NULL;
5087 }
5088
5089
5090 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxListBox *arg1 = (wxListBox *) 0 ;
5093 int arg2 ;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "n", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 (arg1)->EnsureVisible(arg2);
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 Py_INCREF(Py_None); resultobj = Py_None;
5109 return resultobj;
5110 fail:
5111 return NULL;
5112 }
5113
5114
5115 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5116 PyObject *resultobj;
5117 wxListBox *arg1 = (wxListBox *) 0 ;
5118 wxString *arg2 = 0 ;
5119 bool temp2 = False ;
5120 PyObject * obj0 = 0 ;
5121 PyObject * obj1 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self",(char *) "s", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5128 {
5129 arg2 = wxString_in_helper(obj1);
5130 if (arg2 == NULL) SWIG_fail;
5131 temp2 = True;
5132 }
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 {
5142 if (temp2)
5143 delete arg2;
5144 }
5145 return resultobj;
5146 fail:
5147 {
5148 if (temp2)
5149 delete arg2;
5150 }
5151 return NULL;
5152 }
5153
5154
5155 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxListBox *arg1 = (wxListBox *) 0 ;
5158 bool result;
5159 PyObject * obj0 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 result = (bool)((wxListBox const *)arg1)->IsSorted();
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 resultobj = PyInt_FromLong((long)result);
5174 return resultobj;
5175 fail:
5176 return NULL;
5177 }
5178
5179
5180 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5181 PyObject *obj;
5182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5183 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5184 Py_INCREF(obj);
5185 return Py_BuildValue((char *)"");
5186 }
5187 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxWindow *arg1 = (wxWindow *) 0 ;
5190 int arg2 ;
5191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5193 wxSize const &arg4_defvalue = wxDefaultSize ;
5194 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5195 int arg5 = (int) 0 ;
5196 wxString *arg6 = (wxString *) NULL ;
5197 long arg7 = (long) 0 ;
5198 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5199 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5200 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5201 wxString *arg9 = (wxString *) &arg9_defvalue ;
5202 wxCheckListBox *result;
5203 wxPoint temp3 ;
5204 wxSize temp4 ;
5205 bool temp8 = False ;
5206 PyObject * obj0 = 0 ;
5207 PyObject * obj2 = 0 ;
5208 PyObject * obj3 = 0 ;
5209 PyObject * obj4 = 0 ;
5210 PyObject * obj6 = 0 ;
5211 PyObject * obj7 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5218 if (obj2) {
5219 {
5220 arg3 = &temp3;
5221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5222 }
5223 }
5224 if (obj3) {
5225 {
5226 arg4 = &temp4;
5227 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5228 }
5229 }
5230 if (obj4) {
5231 {
5232 arg5 = PyList_Size(obj4);
5233 arg6 = wxString_LIST_helper(obj4);
5234 if (arg6 == NULL) SWIG_fail;
5235 }
5236 }
5237 if (obj6) {
5238 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5239 if (arg8 == NULL) {
5240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5241 }
5242 }
5243 if (obj7) {
5244 {
5245 arg9 = wxString_in_helper(obj7);
5246 if (arg9 == NULL) SWIG_fail;
5247 temp8 = True;
5248 }
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5258 {
5259 if (arg6) delete [] arg6;
5260 }
5261 {
5262 if (temp8)
5263 delete arg9;
5264 }
5265 return resultobj;
5266 fail:
5267 {
5268 if (arg6) delete [] arg6;
5269 }
5270 {
5271 if (temp8)
5272 delete arg9;
5273 }
5274 return NULL;
5275 }
5276
5277
5278 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5279 PyObject *resultobj;
5280 wxCheckListBox *result;
5281 char *kwnames[] = {
5282 NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 result = (wxCheckListBox *)new wxCheckListBox();
5289
5290 wxPyEndAllowThreads(__tstate);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
5293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5294 return resultobj;
5295 fail:
5296 return NULL;
5297 }
5298
5299
5300 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5301 PyObject *resultobj;
5302 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5303 wxWindow *arg2 = (wxWindow *) 0 ;
5304 int arg3 ;
5305 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5306 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5307 wxSize const &arg5_defvalue = wxDefaultSize ;
5308 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5309 int arg6 = (int) 0 ;
5310 wxString *arg7 = (wxString *) NULL ;
5311 long arg8 = (long) 0 ;
5312 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5313 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5314 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5315 wxString *arg10 = (wxString *) &arg10_defvalue ;
5316 bool result;
5317 wxPoint temp4 ;
5318 wxSize temp5 ;
5319 bool temp9 = False ;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5322 PyObject * obj3 = 0 ;
5323 PyObject * obj4 = 0 ;
5324 PyObject * obj5 = 0 ;
5325 PyObject * obj7 = 0 ;
5326 PyObject * obj8 = 0 ;
5327 char *kwnames[] = {
5328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5329 };
5330
5331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 if (obj3) {
5335 {
5336 arg4 = &temp4;
5337 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5338 }
5339 }
5340 if (obj4) {
5341 {
5342 arg5 = &temp5;
5343 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5344 }
5345 }
5346 if (obj5) {
5347 {
5348 arg6 = PyList_Size(obj5);
5349 arg7 = wxString_LIST_helper(obj5);
5350 if (arg7 == NULL) SWIG_fail;
5351 }
5352 }
5353 if (obj7) {
5354 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 if (arg9 == NULL) {
5356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5357 }
5358 }
5359 if (obj8) {
5360 {
5361 arg10 = wxString_in_helper(obj8);
5362 if (arg10 == NULL) SWIG_fail;
5363 temp9 = True;
5364 }
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 resultobj = PyInt_FromLong((long)result);
5374 {
5375 if (arg7) delete [] arg7;
5376 }
5377 {
5378 if (temp9)
5379 delete arg10;
5380 }
5381 return resultobj;
5382 fail:
5383 {
5384 if (arg7) delete [] arg7;
5385 }
5386 {
5387 if (temp9)
5388 delete arg10;
5389 }
5390 return NULL;
5391 }
5392
5393
5394 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5397 int arg2 ;
5398 bool result;
5399 PyObject * obj0 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self",(char *) "index", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 result = (bool)(arg1)->IsChecked(arg2);
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 resultobj = PyInt_FromLong((long)result);
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5423 int arg2 ;
5424 int arg3 = (int) True ;
5425 PyObject * obj0 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self",(char *) "index",(char *) "check", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 (arg1)->Check(arg2,arg3);
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 Py_INCREF(Py_None); resultobj = Py_None;
5440 return resultobj;
5441 fail:
5442 return NULL;
5443 }
5444
5445
5446 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj;
5448 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5449 int result;
5450 PyObject * obj0 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self", NULL
5453 };
5454
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 result = (int)(arg1)->GetItemHeight();
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 resultobj = PyInt_FromLong((long)result);
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5472 PyObject *resultobj;
5473 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5474 wxPoint *arg2 = 0 ;
5475 int result;
5476 wxPoint temp2 ;
5477 PyObject * obj0 = 0 ;
5478 PyObject * obj1 = 0 ;
5479 char *kwnames[] = {
5480 (char *) "self",(char *) "pt", NULL
5481 };
5482
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5485 {
5486 arg2 = &temp2;
5487 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5488 }
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 resultobj = PyInt_FromLong((long)result);
5497 return resultobj;
5498 fail:
5499 return NULL;
5500 }
5501
5502
5503 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5506 int arg2 ;
5507 int arg3 ;
5508 int result;
5509 PyObject * obj0 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self",(char *) "x",(char *) "y", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 resultobj = PyInt_FromLong((long)result);
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5531 PyObject *obj;
5532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5533 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5534 Py_INCREF(obj);
5535 return Py_BuildValue((char *)"");
5536 }
5537 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5538 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5539 return 1;
5540 }
5541
5542
5543 static PyObject *_wrap_TextCtrlNameStr_get() {
5544 PyObject *pyobj;
5545
5546 {
5547 #if wxUSE_UNICODE
5548 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5549 #else
5550 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5551 #endif
5552 }
5553 return pyobj;
5554 }
5555
5556
5557 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5558 PyObject *resultobj;
5559 wxTextAttr *result;
5560
5561 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 result = (wxTextAttr *)new wxTextAttr();
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5577 PyObject *resultobj;
5578 wxColour *arg1 = 0 ;
5579 wxColour const &arg2_defvalue = wxNullColour ;
5580 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5581 wxFont const &arg3_defvalue = wxNullFont ;
5582 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5583 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5584 wxTextAttr *result;
5585 wxColour temp1 ;
5586 wxColour temp2 ;
5587 PyObject * obj0 = 0 ;
5588 PyObject * obj1 = 0 ;
5589 PyObject * obj2 = 0 ;
5590
5591 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5592 {
5593 arg1 = &temp1;
5594 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5595 }
5596 if (obj1) {
5597 {
5598 arg2 = &temp2;
5599 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5600 }
5601 }
5602 if (obj2) {
5603 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5604 if (arg3 == NULL) {
5605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5606 }
5607 }
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5616 return resultobj;
5617 fail:
5618 return NULL;
5619 }
5620
5621
5622 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5623 int argc;
5624 PyObject *argv[5];
5625 int ii;
5626
5627 argc = PyObject_Length(args);
5628 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5629 argv[ii] = PyTuple_GetItem(args,ii);
5630 }
5631 if (argc == 0) {
5632 return _wrap_new_TextAttr__SWIG_0(self,args);
5633 }
5634 if ((argc >= 1) && (argc <= 4)) {
5635 int _v;
5636 {
5637 _v = wxColour_typecheck(argv[0]);
5638 }
5639 if (_v) {
5640 if (argc <= 1) {
5641 return _wrap_new_TextAttr__SWIG_1(self,args);
5642 }
5643 {
5644 _v = wxColour_typecheck(argv[1]);
5645 }
5646 if (_v) {
5647 if (argc <= 2) {
5648 return _wrap_new_TextAttr__SWIG_1(self,args);
5649 }
5650 {
5651 void *ptr;
5652 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5653 _v = 0;
5654 PyErr_Clear();
5655 } else {
5656 _v = 1;
5657 }
5658 }
5659 if (_v) {
5660 if (argc <= 3) {
5661 return _wrap_new_TextAttr__SWIG_1(self,args);
5662 }
5663 {
5664 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5665 }
5666 if (_v) {
5667 return _wrap_new_TextAttr__SWIG_1(self,args);
5668 }
5669 }
5670 }
5671 }
5672 }
5673
5674 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5675 return NULL;
5676 }
5677
5678
5679 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5680 PyObject *resultobj;
5681 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5682 PyObject * obj0 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "self", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 (arg1)->Init();
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 Py_INCREF(Py_None); resultobj = Py_None;
5697 return resultobj;
5698 fail:
5699 return NULL;
5700 }
5701
5702
5703 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject *resultobj;
5705 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5706 wxColour *arg2 = 0 ;
5707 wxColour temp2 ;
5708 PyObject * obj0 = 0 ;
5709 PyObject * obj1 = 0 ;
5710 char *kwnames[] = {
5711 (char *) "self",(char *) "colText", NULL
5712 };
5713
5714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5716 {
5717 arg2 = &temp2;
5718 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 (arg1)->SetTextColour((wxColour const &)*arg2);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 Py_INCREF(Py_None); resultobj = Py_None;
5728 return resultobj;
5729 fail:
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5737 wxColour *arg2 = 0 ;
5738 wxColour temp2 ;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "self",(char *) "colBack", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5747 {
5748 arg2 = &temp2;
5749 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5750 }
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 Py_INCREF(Py_None); resultobj = Py_None;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5768 wxFont *arg2 = 0 ;
5769 long arg3 = (long) wxTEXT_ATTR_FONT ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "font",(char *) "flags", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 if (arg2 == NULL) {
5780 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5781 }
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 Py_INCREF(Py_None); resultobj = Py_None;
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj;
5798 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5799 int arg2 ;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self",(char *) "alignment", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 Py_INCREF(Py_None); resultobj = Py_None;
5815 return resultobj;
5816 fail:
5817 return NULL;
5818 }
5819
5820
5821 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject *resultobj;
5823 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5824 wxArrayInt *arg2 = 0 ;
5825 PyObject * obj0 = 0 ;
5826 PyObject * obj1 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "self",(char *) "tabs", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5833 {
5834 if (! PySequence_Check(obj1)) {
5835 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5836 SWIG_fail;
5837 }
5838 arg2 = new wxArrayInt;
5839 int i, len=PySequence_Length(obj1);
5840 for (i=0; i<len; i++) {
5841 PyObject* item = PySequence_GetItem(obj1, i);
5842 PyObject* number = PyNumber_Int(item);
5843 arg2->Add(PyInt_AS_LONG(number));
5844 Py_DECREF(item);
5845 Py_DECREF(number);
5846 }
5847 }
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 Py_INCREF(Py_None); resultobj = Py_None;
5856 {
5857 if (arg2) delete arg2;
5858 }
5859 return resultobj;
5860 fail:
5861 {
5862 if (arg2) delete arg2;
5863 }
5864 return NULL;
5865 }
5866
5867
5868 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5871 int arg2 ;
5872 PyObject * obj0 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self",(char *) "indent", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetLeftIndent(arg2);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5896 int arg2 ;
5897 PyObject * obj0 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "indent", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 (arg1)->SetRightIndent(arg2);
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 Py_INCREF(Py_None); resultobj = Py_None;
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5921 long arg2 ;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self",(char *) "flags", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 (arg1)->SetFlags(arg2);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5946 bool result;
5947 PyObject * obj0 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 resultobj = PyInt_FromLong((long)result);
5962 return resultobj;
5963 fail:
5964 return NULL;
5965 }
5966
5967
5968 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj;
5970 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5971 bool result;
5972 PyObject * obj0 = 0 ;
5973 char *kwnames[] = {
5974 (char *) "self", NULL
5975 };
5976
5977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 resultobj = PyInt_FromLong((long)result);
5987 return resultobj;
5988 fail:
5989 return NULL;
5990 }
5991
5992
5993 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject *resultobj;
5995 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5996 bool result;
5997 PyObject * obj0 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = PyInt_FromLong((long)result);
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6021 bool result;
6022 PyObject * obj0 = 0 ;
6023 char *kwnames[] = {
6024 (char *) "self", NULL
6025 };
6026
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 resultobj = PyInt_FromLong((long)result);
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6046 bool result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = PyInt_FromLong((long)result);
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6071 bool result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 resultobj = PyInt_FromLong((long)result);
6087 return resultobj;
6088 fail:
6089 return NULL;
6090 }
6091
6092
6093 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6096 bool result;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6107
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 resultobj = PyInt_FromLong((long)result);
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj;
6120 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6121 long arg2 ;
6122 bool result;
6123 PyObject * obj0 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "flag", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = PyInt_FromLong((long)result);
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6147 wxColour *result;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "self", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 {
6158 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6159 result = (wxColour *) &_result_ref;
6160 }
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6175 wxColour *result;
6176 PyObject * obj0 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 {
6186 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6187 result = (wxColour *) &_result_ref;
6188 }
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6194 return resultobj;
6195 fail:
6196 return NULL;
6197 }
6198
6199
6200 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6203 wxFont *result;
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 {
6214 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6215 result = (wxFont *) &_result_ref;
6216 }
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6222 return resultobj;
6223 fail:
6224 return NULL;
6225 }
6226
6227
6228 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6229 PyObject *resultobj;
6230 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6231 int result;
6232 PyObject * obj0 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "self", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 resultobj = PyInt_FromLong((long)result);
6247 return resultobj;
6248 fail:
6249 return NULL;
6250 }
6251
6252
6253 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj;
6255 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6256 wxArrayInt *result;
6257 PyObject * obj0 = 0 ;
6258 char *kwnames[] = {
6259 (char *) "self", NULL
6260 };
6261
6262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 {
6267 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6268 result = (wxArrayInt *) &_result_ref;
6269 }
6270
6271 wxPyEndAllowThreads(__tstate);
6272 if (PyErr_Occurred()) SWIG_fail;
6273 }
6274 {
6275 resultobj = PyList_New(0);
6276 size_t idx;
6277 for (idx = 0; idx < result->GetCount(); idx += 1) {
6278 PyObject* val = PyInt_FromLong( result->Item(idx) );
6279 PyList_Append(resultobj, val);
6280 Py_DECREF(val);
6281 }
6282 }
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6292 long result;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 resultobj = PyInt_FromLong((long)result);
6308 return resultobj;
6309 fail:
6310 return NULL;
6311 }
6312
6313
6314 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6317 long result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = PyInt_FromLong((long)result);
6333 return resultobj;
6334 fail:
6335 return NULL;
6336 }
6337
6338
6339 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6342 long result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 resultobj = PyInt_FromLong((long)result);
6358 return resultobj;
6359 fail:
6360 return NULL;
6361 }
6362
6363
6364 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6367 bool result;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = PyInt_FromLong((long)result);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxTextAttr *arg1 = 0 ;
6392 wxTextAttr *arg2 = 0 ;
6393 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6394 wxTextAttr result;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 PyObject * obj2 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6404 if (arg1 == NULL) {
6405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6406 }
6407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 if (arg2 == NULL) {
6409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6410 }
6411 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 {
6420 wxTextAttr * resultptr;
6421 resultptr = new wxTextAttr((wxTextAttr &) result);
6422 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6423 }
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6431 PyObject *obj;
6432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6434 Py_INCREF(obj);
6435 return Py_BuildValue((char *)"");
6436 }
6437 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxWindow *arg1 = (wxWindow *) 0 ;
6440 int arg2 ;
6441 wxString const &arg3_defvalue = wxPyEmptyString ;
6442 wxString *arg3 = (wxString *) &arg3_defvalue ;
6443 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6444 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6445 wxSize const &arg5_defvalue = wxDefaultSize ;
6446 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6447 long arg6 = (long) 0 ;
6448 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6449 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6450 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6451 wxString *arg8 = (wxString *) &arg8_defvalue ;
6452 wxTextCtrl *result;
6453 bool temp3 = False ;
6454 wxPoint temp4 ;
6455 wxSize temp5 ;
6456 bool temp8 = False ;
6457 PyObject * obj0 = 0 ;
6458 PyObject * obj2 = 0 ;
6459 PyObject * obj3 = 0 ;
6460 PyObject * obj4 = 0 ;
6461 PyObject * obj6 = 0 ;
6462 PyObject * obj7 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6469 if (obj2) {
6470 {
6471 arg3 = wxString_in_helper(obj2);
6472 if (arg3 == NULL) SWIG_fail;
6473 temp3 = True;
6474 }
6475 }
6476 if (obj3) {
6477 {
6478 arg4 = &temp4;
6479 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6480 }
6481 }
6482 if (obj4) {
6483 {
6484 arg5 = &temp5;
6485 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6486 }
6487 }
6488 if (obj6) {
6489 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6490 if (arg7 == NULL) {
6491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6492 }
6493 }
6494 if (obj7) {
6495 {
6496 arg8 = wxString_in_helper(obj7);
6497 if (arg8 == NULL) SWIG_fail;
6498 temp8 = True;
6499 }
6500 }
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 {
6509 resultobj = wxPyMake_wxObject(result);
6510 }
6511 {
6512 if (temp3)
6513 delete arg3;
6514 }
6515 {
6516 if (temp8)
6517 delete arg8;
6518 }
6519 return resultobj;
6520 fail:
6521 {
6522 if (temp3)
6523 delete arg3;
6524 }
6525 {
6526 if (temp8)
6527 delete arg8;
6528 }
6529 return NULL;
6530 }
6531
6532
6533 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxTextCtrl *result;
6536 char *kwnames[] = {
6537 NULL
6538 };
6539
6540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 result = (wxTextCtrl *)new wxTextCtrl();
6544
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 {
6549 resultobj = wxPyMake_wxObject(result);
6550 }
6551 return resultobj;
6552 fail:
6553 return NULL;
6554 }
6555
6556
6557 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6560 wxWindow *arg2 = (wxWindow *) 0 ;
6561 int arg3 ;
6562 wxString const &arg4_defvalue = wxPyEmptyString ;
6563 wxString *arg4 = (wxString *) &arg4_defvalue ;
6564 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6565 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6566 wxSize const &arg6_defvalue = wxDefaultSize ;
6567 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6568 long arg7 = (long) 0 ;
6569 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6570 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6571 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6572 wxString *arg9 = (wxString *) &arg9_defvalue ;
6573 bool result;
6574 bool temp4 = False ;
6575 wxPoint temp5 ;
6576 wxSize temp6 ;
6577 bool temp9 = False ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580 PyObject * obj3 = 0 ;
6581 PyObject * obj4 = 0 ;
6582 PyObject * obj5 = 0 ;
6583 PyObject * obj7 = 0 ;
6584 PyObject * obj8 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6592 if (obj3) {
6593 {
6594 arg4 = wxString_in_helper(obj3);
6595 if (arg4 == NULL) SWIG_fail;
6596 temp4 = True;
6597 }
6598 }
6599 if (obj4) {
6600 {
6601 arg5 = &temp5;
6602 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6603 }
6604 }
6605 if (obj5) {
6606 {
6607 arg6 = &temp6;
6608 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6609 }
6610 }
6611 if (obj7) {
6612 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6613 if (arg8 == NULL) {
6614 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6615 }
6616 }
6617 if (obj8) {
6618 {
6619 arg9 = wxString_in_helper(obj8);
6620 if (arg9 == NULL) SWIG_fail;
6621 temp9 = True;
6622 }
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 resultobj = PyInt_FromLong((long)result);
6632 {
6633 if (temp4)
6634 delete arg4;
6635 }
6636 {
6637 if (temp9)
6638 delete arg9;
6639 }
6640 return resultobj;
6641 fail:
6642 {
6643 if (temp4)
6644 delete arg4;
6645 }
6646 {
6647 if (temp9)
6648 delete arg9;
6649 }
6650 return NULL;
6651 }
6652
6653
6654 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6655 PyObject *resultobj;
6656 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6657 wxString result;
6658 PyObject * obj0 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "self", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = ((wxTextCtrl const *)arg1)->GetValue();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 {
6673 #if wxUSE_UNICODE
6674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6675 #else
6676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6677 #endif
6678 }
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj;
6687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6688 wxString *arg2 = 0 ;
6689 bool temp2 = False ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self",(char *) "value", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6698 {
6699 arg2 = wxString_in_helper(obj1);
6700 if (arg2 == NULL) SWIG_fail;
6701 temp2 = True;
6702 }
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 (arg1)->SetValue((wxString const &)*arg2);
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 Py_INCREF(Py_None); resultobj = Py_None;
6711 {
6712 if (temp2)
6713 delete arg2;
6714 }
6715 return resultobj;
6716 fail:
6717 {
6718 if (temp2)
6719 delete arg2;
6720 }
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6728 long arg2 ;
6729 long arg3 ;
6730 wxString result;
6731 PyObject * obj0 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "self",(char *) "from",(char *) "to", NULL
6734 };
6735
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 {
6746 #if wxUSE_UNICODE
6747 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6748 #else
6749 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6750 #endif
6751 }
6752 return resultobj;
6753 fail:
6754 return NULL;
6755 }
6756
6757
6758 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject *resultobj;
6760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6761 long arg2 ;
6762 int result;
6763 PyObject * obj0 = 0 ;
6764 char *kwnames[] = {
6765 (char *) "self",(char *) "lineNo", NULL
6766 };
6767
6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6773
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = PyInt_FromLong((long)result);
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj;
6786 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6787 long arg2 ;
6788 wxString result;
6789 PyObject * obj0 = 0 ;
6790 char *kwnames[] = {
6791 (char *) "self",(char *) "lineNo", NULL
6792 };
6793
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6796 {
6797 PyThreadState* __tstate = wxPyBeginAllowThreads();
6798 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6799
6800 wxPyEndAllowThreads(__tstate);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
6803 {
6804 #if wxUSE_UNICODE
6805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6806 #else
6807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6808 #endif
6809 }
6810 return resultobj;
6811 fail:
6812 return NULL;
6813 }
6814
6815
6816 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj;
6818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6819 int result;
6820 PyObject * obj0 = 0 ;
6821 char *kwnames[] = {
6822 (char *) "self", NULL
6823 };
6824
6825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6827 {
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6830
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
6834 resultobj = PyInt_FromLong((long)result);
6835 return resultobj;
6836 fail:
6837 return NULL;
6838 }
6839
6840
6841 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj;
6843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6844 bool result;
6845 PyObject * obj0 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 resultobj = PyInt_FromLong((long)result);
6860 return resultobj;
6861 fail:
6862 return NULL;
6863 }
6864
6865
6866 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6869 bool result;
6870 PyObject * obj0 = 0 ;
6871 char *kwnames[] = {
6872 (char *) "self", NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 resultobj = PyInt_FromLong((long)result);
6885 return resultobj;
6886 fail:
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6894 bool result;
6895 PyObject * obj0 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "self", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 resultobj = PyInt_FromLong((long)result);
6910 return resultobj;
6911 fail:
6912 return NULL;
6913 }
6914
6915
6916 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject *resultobj;
6918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6919 bool result;
6920 PyObject * obj0 = 0 ;
6921 char *kwnames[] = {
6922 (char *) "self", NULL
6923 };
6924
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 resultobj = PyInt_FromLong((long)result);
6935 return resultobj;
6936 fail:
6937 return NULL;
6938 }
6939
6940
6941 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj;
6943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6944 long *arg2 = (long *) 0 ;
6945 long *arg3 = (long *) 0 ;
6946 long temp2 ;
6947 long temp3 ;
6948 PyObject * obj0 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self", NULL
6951 };
6952
6953 arg2 = &temp2;
6954 arg3 = &temp3;
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 Py_INCREF(Py_None); resultobj = Py_None;
6965 {
6966 PyObject *o = PyInt_FromLong((long) (*arg2));
6967 resultobj = t_output_helper(resultobj,o);
6968 }
6969 {
6970 PyObject *o = PyInt_FromLong((long) (*arg3));
6971 resultobj = t_output_helper(resultobj,o);
6972 }
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj;
6981 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6982 wxString result;
6983 PyObject * obj0 = 0 ;
6984 char *kwnames[] = {
6985 (char *) "self", NULL
6986 };
6987
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 {
6998 #if wxUSE_UNICODE
6999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7000 #else
7001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7002 #endif
7003 }
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7013 PyObject * obj0 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->Clear();
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 Py_INCREF(Py_None); resultobj = Py_None;
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7037 long arg2 ;
7038 long arg3 ;
7039 wxString *arg4 = 0 ;
7040 bool temp4 = False ;
7041 PyObject * obj0 = 0 ;
7042 PyObject * obj3 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7049 {
7050 arg4 = wxString_in_helper(obj3);
7051 if (arg4 == NULL) SWIG_fail;
7052 temp4 = True;
7053 }
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
7061 Py_INCREF(Py_None); resultobj = Py_None;
7062 {
7063 if (temp4)
7064 delete arg4;
7065 }
7066 return resultobj;
7067 fail:
7068 {
7069 if (temp4)
7070 delete arg4;
7071 }
7072 return NULL;
7073 }
7074
7075
7076 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj;
7078 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7079 long arg2 ;
7080 long arg3 ;
7081 PyObject * obj0 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "self",(char *) "from",(char *) "to", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->Remove(arg2,arg3);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 Py_INCREF(Py_None); resultobj = Py_None;
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7105 wxString *arg2 = 0 ;
7106 bool result;
7107 bool temp2 = False ;
7108 PyObject * obj0 = 0 ;
7109 PyObject * obj1 = 0 ;
7110 char *kwnames[] = {
7111 (char *) "self",(char *) "file", NULL
7112 };
7113
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7116 {
7117 arg2 = wxString_in_helper(obj1);
7118 if (arg2 == NULL) SWIG_fail;
7119 temp2 = True;
7120 }
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 resultobj = PyInt_FromLong((long)result);
7129 {
7130 if (temp2)
7131 delete arg2;
7132 }
7133 return resultobj;
7134 fail:
7135 {
7136 if (temp2)
7137 delete arg2;
7138 }
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7146 wxString const &arg2_defvalue = wxPyEmptyString ;
7147 wxString *arg2 = (wxString *) &arg2_defvalue ;
7148 bool result;
7149 bool temp2 = False ;
7150 PyObject * obj0 = 0 ;
7151 PyObject * obj1 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self",(char *) "file", NULL
7154 };
7155
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7158 if (obj1) {
7159 {
7160 arg2 = wxString_in_helper(obj1);
7161 if (arg2 == NULL) SWIG_fail;
7162 temp2 = True;
7163 }
7164 }
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = PyInt_FromLong((long)result);
7173 {
7174 if (temp2)
7175 delete arg2;
7176 }
7177 return resultobj;
7178 fail:
7179 {
7180 if (temp2)
7181 delete arg2;
7182 }
7183 return NULL;
7184 }
7185
7186
7187 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj;
7189 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7190 PyObject * obj0 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "self", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 (arg1)->MarkDirty();
7200
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
7204 Py_INCREF(Py_None); resultobj = Py_None;
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7214 PyObject * obj0 = 0 ;
7215 char *kwnames[] = {
7216 (char *) "self", NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 (arg1)->DiscardEdits();
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) SWIG_fail;
7227 }
7228 Py_INCREF(Py_None); resultobj = Py_None;
7229 return resultobj;
7230 fail:
7231 return NULL;
7232 }
7233
7234
7235 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7236 PyObject *resultobj;
7237 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7238 unsigned long arg2 ;
7239 PyObject * obj0 = 0 ;
7240 PyObject * obj1 = 0 ;
7241 char *kwnames[] = {
7242 (char *) "self",(char *) "len", NULL
7243 };
7244
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7247 arg2 = (unsigned long) PyInt_AsLong(obj1);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 (arg1)->SetMaxLength(arg2);
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 Py_INCREF(Py_None); resultobj = Py_None;
7257 return resultobj;
7258 fail:
7259 return NULL;
7260 }
7261
7262
7263 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj;
7265 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7266 wxString *arg2 = 0 ;
7267 bool temp2 = False ;
7268 PyObject * obj0 = 0 ;
7269 PyObject * obj1 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "self",(char *) "text", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7276 {
7277 arg2 = wxString_in_helper(obj1);
7278 if (arg2 == NULL) SWIG_fail;
7279 temp2 = True;
7280 }
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 (arg1)->WriteText((wxString const &)*arg2);
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 Py_INCREF(Py_None); resultobj = Py_None;
7289 {
7290 if (temp2)
7291 delete arg2;
7292 }
7293 return resultobj;
7294 fail:
7295 {
7296 if (temp2)
7297 delete arg2;
7298 }
7299 return NULL;
7300 }
7301
7302
7303 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj;
7305 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7306 wxString *arg2 = 0 ;
7307 bool temp2 = False ;
7308 PyObject * obj0 = 0 ;
7309 PyObject * obj1 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "text", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 {
7317 arg2 = wxString_in_helper(obj1);
7318 if (arg2 == NULL) SWIG_fail;
7319 temp2 = True;
7320 }
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 (arg1)->AppendText((wxString const &)*arg2);
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 Py_INCREF(Py_None); resultobj = Py_None;
7329 {
7330 if (temp2)
7331 delete arg2;
7332 }
7333 return resultobj;
7334 fail:
7335 {
7336 if (temp2)
7337 delete arg2;
7338 }
7339 return NULL;
7340 }
7341
7342
7343 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7344 PyObject *resultobj;
7345 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7346 wxKeyEvent *arg2 = 0 ;
7347 bool result;
7348 PyObject * obj0 = 0 ;
7349 PyObject * obj1 = 0 ;
7350 char *kwnames[] = {
7351 (char *) "self",(char *) "event", NULL
7352 };
7353
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7357 if (arg2 == NULL) {
7358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7359 }
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 resultobj = PyInt_FromLong((long)result);
7368 return resultobj;
7369 fail:
7370 return NULL;
7371 }
7372
7373
7374 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj;
7376 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7377 long arg2 ;
7378 long arg3 ;
7379 wxTextAttr *arg4 = 0 ;
7380 bool result;
7381 PyObject * obj0 = 0 ;
7382 PyObject * obj3 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7385 };
7386
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7389 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7390 if (arg4 == NULL) {
7391 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7392 }
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 resultobj = PyInt_FromLong((long)result);
7401 return resultobj;
7402 fail:
7403 return NULL;
7404 }
7405
7406
7407 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7410 long arg2 ;
7411 wxTextAttr *arg3 = 0 ;
7412 bool result;
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj2 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self",(char *) "position",(char *) "style", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7421 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 if (arg3 == NULL) {
7423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7424 }
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 resultobj = PyInt_FromLong((long)result);
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7442 wxTextAttr *arg2 = 0 ;
7443 bool result;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "style", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7453 if (arg2 == NULL) {
7454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7455 }
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = PyInt_FromLong((long)result);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7473 wxTextAttr *result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 {
7484 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7485 result = (wxTextAttr *) &_result_ref;
7486 }
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj;
7500 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7501 long arg2 ;
7502 long arg3 ;
7503 long result;
7504 PyObject * obj0 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self",(char *) "x",(char *) "y", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 resultobj = PyInt_FromLong((long)result);
7519 return resultobj;
7520 fail:
7521 return NULL;
7522 }
7523
7524
7525 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7526 PyObject *resultobj;
7527 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7528 long arg2 ;
7529 long *arg3 = (long *) 0 ;
7530 long *arg4 = (long *) 0 ;
7531 long temp3 ;
7532 long temp4 ;
7533 PyObject * obj0 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "pos", NULL
7536 };
7537
7538 arg3 = &temp3;
7539 arg4 = &temp4;
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 Py_INCREF(Py_None); resultobj = Py_None;
7550 {
7551 PyObject *o = PyInt_FromLong((long) (*arg3));
7552 resultobj = t_output_helper(resultobj,o);
7553 }
7554 {
7555 PyObject *o = PyInt_FromLong((long) (*arg4));
7556 resultobj = t_output_helper(resultobj,o);
7557 }
7558 return resultobj;
7559 fail:
7560 return NULL;
7561 }
7562
7563
7564 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7565 PyObject *resultobj;
7566 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7567 long arg2 ;
7568 PyObject * obj0 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "self",(char *) "pos", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 (arg1)->ShowPosition(arg2);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 Py_INCREF(Py_None); resultobj = Py_None;
7583 return resultobj;
7584 fail:
7585 return NULL;
7586 }
7587
7588
7589 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7592 PyObject * obj0 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 (arg1)->Copy();
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 Py_INCREF(Py_None); resultobj = Py_None;
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7616 PyObject * obj0 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 (arg1)->Cut();
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 Py_INCREF(Py_None); resultobj = Py_None;
7631 return resultobj;
7632 fail:
7633 return NULL;
7634 }
7635
7636
7637 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7640 PyObject * obj0 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 (arg1)->Paste();
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 Py_INCREF(Py_None); resultobj = Py_None;
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7664 bool result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = PyInt_FromLong((long)result);
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7689 bool result;
7690 PyObject * obj0 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 resultobj = PyInt_FromLong((long)result);
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj;
7713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7714 bool result;
7715 PyObject * obj0 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 resultobj = PyInt_FromLong((long)result);
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7739 PyObject * obj0 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 (arg1)->Undo();
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 Py_INCREF(Py_None); resultobj = Py_None;
7754 return resultobj;
7755 fail:
7756 return NULL;
7757 }
7758
7759
7760 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj;
7762 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7763 PyObject * obj0 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 (arg1)->Redo();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 Py_INCREF(Py_None); resultobj = Py_None;
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7787 bool result;
7788 PyObject * obj0 = 0 ;
7789 char *kwnames[] = {
7790 (char *) "self", NULL
7791 };
7792
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 resultobj = PyInt_FromLong((long)result);
7803 return resultobj;
7804 fail:
7805 return NULL;
7806 }
7807
7808
7809 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj;
7811 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7812 bool result;
7813 PyObject * obj0 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 resultobj = PyInt_FromLong((long)result);
7828 return resultobj;
7829 fail:
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj;
7836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7837 long arg2 ;
7838 PyObject * obj0 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "self",(char *) "pos", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7845 {
7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7847 (arg1)->SetInsertionPoint(arg2);
7848
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
7852 Py_INCREF(Py_None); resultobj = Py_None;
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7862 PyObject * obj0 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 (arg1)->SetInsertionPointEnd();
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 Py_INCREF(Py_None); resultobj = Py_None;
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7886 long result;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = PyInt_FromLong((long)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7911 long result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = PyInt_FromLong((long)result);
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7936 long arg2 ;
7937 long arg3 ;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self",(char *) "from",(char *) "to", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 (arg1)->SetSelection(arg2,arg3);
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 Py_INCREF(Py_None); resultobj = Py_None;
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7962 PyObject * obj0 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 (arg1)->SelectAll();
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 Py_INCREF(Py_None); resultobj = Py_None;
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7986 bool arg2 ;
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self",(char *) "editable", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 arg2 = PyInt_AsLong(obj1) ? true : false;
7996 if (PyErr_Occurred()) SWIG_fail;
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 (arg1)->SetEditable(arg2);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 Py_INCREF(Py_None); resultobj = Py_None;
8005 return resultobj;
8006 fail:
8007 return NULL;
8008 }
8009
8010
8011 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj;
8013 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8014 bool arg2 = (bool) True ;
8015 bool result;
8016 PyObject * obj0 = 0 ;
8017 PyObject * obj1 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "show", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
8023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8024 if (obj1) {
8025 arg2 = PyInt_AsLong(obj1) ? true : false;
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 result = (bool)(arg1)->ShowNativeCaret(arg2);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 resultobj = PyInt_FromLong((long)result);
8036 return resultobj;
8037 fail:
8038 return NULL;
8039 }
8040
8041
8042 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8043 PyObject *resultobj;
8044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8045 bool result;
8046 PyObject * obj0 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
8052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (bool)(arg1)->HideNativeCaret();
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 resultobj = PyInt_FromLong((long)result);
8061 return resultobj;
8062 fail:
8063 return NULL;
8064 }
8065
8066
8067 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj;
8069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8070 wxString *arg2 = 0 ;
8071 bool temp2 = False ;
8072 PyObject * obj0 = 0 ;
8073 PyObject * obj1 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self",(char *) "text", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8080 {
8081 arg2 = wxString_in_helper(obj1);
8082 if (arg2 == NULL) SWIG_fail;
8083 temp2 = True;
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 {
8094 if (temp2)
8095 delete arg2;
8096 }
8097 return resultobj;
8098 fail:
8099 {
8100 if (temp2)
8101 delete arg2;
8102 }
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8110 long arg2 ;
8111 long arg3 ;
8112 wxString result;
8113 PyObject * obj0 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "from",(char *) "to", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 {
8128 #if wxUSE_UNICODE
8129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8130 #else
8131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8132 #endif
8133 }
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8141 PyObject *obj;
8142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8143 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8144 Py_INCREF(obj);
8145 return Py_BuildValue((char *)"");
8146 }
8147 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 int arg1 ;
8150 wxMouseEvent *arg2 = 0 ;
8151 long arg3 ;
8152 long arg4 ;
8153 wxTextUrlEvent *result;
8154 PyObject * obj1 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8160 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8161 if (arg2 == NULL) {
8162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8163 }
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8181 wxMouseEvent *result;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 {
8192 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8193 result = (wxMouseEvent *) &_result_ref;
8194 }
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8200 return resultobj;
8201 fail:
8202 return NULL;
8203 }
8204
8205
8206 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj;
8208 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8209 long result;
8210 PyObject * obj0 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "self", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 resultobj = PyInt_FromLong((long)result);
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj;
8233 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8234 long result;
8235 PyObject * obj0 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8242 {
8243 PyThreadState* __tstate = wxPyBeginAllowThreads();
8244 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8245
8246 wxPyEndAllowThreads(__tstate);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 resultobj = PyInt_FromLong((long)result);
8250 return resultobj;
8251 fail:
8252 return NULL;
8253 }
8254
8255
8256 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8257 PyObject *obj;
8258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8259 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8260 Py_INCREF(obj);
8261 return Py_BuildValue((char *)"");
8262 }
8263 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8264 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8265 return 1;
8266 }
8267
8268
8269 static PyObject *_wrap_ScrollBarNameStr_get() {
8270 PyObject *pyobj;
8271
8272 {
8273 #if wxUSE_UNICODE
8274 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8275 #else
8276 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8277 #endif
8278 }
8279 return pyobj;
8280 }
8281
8282
8283 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxWindow *arg1 = (wxWindow *) 0 ;
8286 int arg2 = (int) -1 ;
8287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8289 wxSize const &arg4_defvalue = wxDefaultSize ;
8290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8291 long arg5 = (long) wxSB_HORIZONTAL ;
8292 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8293 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8294 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8295 wxString *arg7 = (wxString *) &arg7_defvalue ;
8296 wxScrollBar *result;
8297 wxPoint temp3 ;
8298 wxSize temp4 ;
8299 bool temp7 = False ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj2 = 0 ;
8302 PyObject * obj3 = 0 ;
8303 PyObject * obj5 = 0 ;
8304 PyObject * obj6 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8311 if (obj2) {
8312 {
8313 arg3 = &temp3;
8314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8315 }
8316 }
8317 if (obj3) {
8318 {
8319 arg4 = &temp4;
8320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8321 }
8322 }
8323 if (obj5) {
8324 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8325 if (arg6 == NULL) {
8326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8327 }
8328 }
8329 if (obj6) {
8330 {
8331 arg7 = wxString_in_helper(obj6);
8332 if (arg7 == NULL) SWIG_fail;
8333 temp7 = True;
8334 }
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8344 {
8345 if (temp7)
8346 delete arg7;
8347 }
8348 return resultobj;
8349 fail:
8350 {
8351 if (temp7)
8352 delete arg7;
8353 }
8354 return NULL;
8355 }
8356
8357
8358 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxScrollBar *result;
8361 char *kwnames[] = {
8362 NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = (wxScrollBar *)new wxScrollBar();
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8374 return resultobj;
8375 fail:
8376 return NULL;
8377 }
8378
8379
8380 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8383 wxWindow *arg2 = (wxWindow *) 0 ;
8384 int arg3 = (int) -1 ;
8385 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8386 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8387 wxSize const &arg5_defvalue = wxDefaultSize ;
8388 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8389 long arg6 = (long) wxSB_HORIZONTAL ;
8390 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8391 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8392 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8393 wxString *arg8 = (wxString *) &arg8_defvalue ;
8394 bool result;
8395 wxPoint temp4 ;
8396 wxSize temp5 ;
8397 bool temp8 = False ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 PyObject * obj3 = 0 ;
8401 PyObject * obj4 = 0 ;
8402 PyObject * obj6 = 0 ;
8403 PyObject * obj7 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8411 if (obj3) {
8412 {
8413 arg4 = &temp4;
8414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8415 }
8416 }
8417 if (obj4) {
8418 {
8419 arg5 = &temp5;
8420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8421 }
8422 }
8423 if (obj6) {
8424 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8425 if (arg7 == NULL) {
8426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8427 }
8428 }
8429 if (obj7) {
8430 {
8431 arg8 = wxString_in_helper(obj7);
8432 if (arg8 == NULL) SWIG_fail;
8433 temp8 = True;
8434 }
8435 }
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 resultobj = PyInt_FromLong((long)result);
8444 {
8445 if (temp8)
8446 delete arg8;
8447 }
8448 return resultobj;
8449 fail:
8450 {
8451 if (temp8)
8452 delete arg8;
8453 }
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8461 int result;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = PyInt_FromLong((long)result);
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8486 int result;
8487 PyObject * obj0 = 0 ;
8488 char *kwnames[] = {
8489 (char *) "self", NULL
8490 };
8491
8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = PyInt_FromLong((long)result);
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8511 int result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
8521 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 resultobj = PyInt_FromLong((long)result);
8527 return resultobj;
8528 fail:
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8536 int result;
8537 PyObject * obj0 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "self", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (int)((wxScrollBar const *)arg1)->GetRange();
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = PyInt_FromLong((long)result);
8552 return resultobj;
8553 fail:
8554 return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8561 bool result;
8562 PyObject * obj0 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = PyInt_FromLong((long)result);
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8586 int arg2 ;
8587 PyObject * obj0 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "viewStart", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 (arg1)->SetThumbPosition(arg2);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8611 int arg2 ;
8612 int arg3 ;
8613 int arg4 ;
8614 int arg5 ;
8615 bool arg6 = (bool) True ;
8616 PyObject * obj0 = 0 ;
8617 PyObject * obj5 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8624 if (obj5) {
8625 arg6 = PyInt_AsLong(obj5) ? true : false;
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 Py_INCREF(Py_None); resultobj = Py_None;
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8643 PyObject *obj;
8644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8645 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8646 Py_INCREF(obj);
8647 return Py_BuildValue((char *)"");
8648 }
8649 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8650 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8651 return 1;
8652 }
8653
8654
8655 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8656 PyObject *pyobj;
8657
8658 {
8659 #if wxUSE_UNICODE
8660 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8661 #else
8662 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8663 #endif
8664 }
8665 return pyobj;
8666 }
8667
8668
8669 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8670 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8671 return 1;
8672 }
8673
8674
8675 static PyObject *_wrap_SpinCtrlNameStr_get() {
8676 PyObject *pyobj;
8677
8678 {
8679 #if wxUSE_UNICODE
8680 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8681 #else
8682 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8683 #endif
8684 }
8685 return pyobj;
8686 }
8687
8688
8689 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8690 PyObject *resultobj;
8691 wxWindow *arg1 = (wxWindow *) 0 ;
8692 int arg2 = (int) -1 ;
8693 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8694 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8695 wxSize const &arg4_defvalue = wxDefaultSize ;
8696 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8697 long arg5 = (long) wxSP_HORIZONTAL ;
8698 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8699 wxString *arg6 = (wxString *) &arg6_defvalue ;
8700 wxSpinButton *result;
8701 wxPoint temp3 ;
8702 wxSize temp4 ;
8703 bool temp6 = False ;
8704 PyObject * obj0 = 0 ;
8705 PyObject * obj2 = 0 ;
8706 PyObject * obj3 = 0 ;
8707 PyObject * obj5 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8714 if (obj2) {
8715 {
8716 arg3 = &temp3;
8717 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8718 }
8719 }
8720 if (obj3) {
8721 {
8722 arg4 = &temp4;
8723 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8724 }
8725 }
8726 if (obj5) {
8727 {
8728 arg6 = wxString_in_helper(obj5);
8729 if (arg6 == NULL) SWIG_fail;
8730 temp6 = True;
8731 }
8732 }
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
8735 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8741 {
8742 if (temp6)
8743 delete arg6;
8744 }
8745 return resultobj;
8746 fail:
8747 {
8748 if (temp6)
8749 delete arg6;
8750 }
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxSpinButton *result;
8758 char *kwnames[] = {
8759 NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (wxSpinButton *)new wxSpinButton();
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8771 return resultobj;
8772 fail:
8773 return NULL;
8774 }
8775
8776
8777 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj;
8779 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8780 wxWindow *arg2 = (wxWindow *) 0 ;
8781 int arg3 = (int) -1 ;
8782 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8783 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8784 wxSize const &arg5_defvalue = wxDefaultSize ;
8785 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8786 long arg6 = (long) wxSP_HORIZONTAL ;
8787 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8788 wxString *arg7 = (wxString *) &arg7_defvalue ;
8789 bool result;
8790 wxPoint temp4 ;
8791 wxSize temp5 ;
8792 bool temp7 = False ;
8793 PyObject * obj0 = 0 ;
8794 PyObject * obj1 = 0 ;
8795 PyObject * obj3 = 0 ;
8796 PyObject * obj4 = 0 ;
8797 PyObject * obj6 = 0 ;
8798 char *kwnames[] = {
8799 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8800 };
8801
8802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8805 if (obj3) {
8806 {
8807 arg4 = &temp4;
8808 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8809 }
8810 }
8811 if (obj4) {
8812 {
8813 arg5 = &temp5;
8814 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8815 }
8816 }
8817 if (obj6) {
8818 {
8819 arg7 = wxString_in_helper(obj6);
8820 if (arg7 == NULL) SWIG_fail;
8821 temp7 = True;
8822 }
8823 }
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 resultobj = PyInt_FromLong((long)result);
8832 {
8833 if (temp7)
8834 delete arg7;
8835 }
8836 return resultobj;
8837 fail:
8838 {
8839 if (temp7)
8840 delete arg7;
8841 }
8842 return NULL;
8843 }
8844
8845
8846 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj;
8848 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8849 int result;
8850 PyObject * obj0 = 0 ;
8851 char *kwnames[] = {
8852 (char *) "self", NULL
8853 };
8854
8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 result = (int)((wxSpinButton const *)arg1)->GetValue();
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 resultobj = PyInt_FromLong((long)result);
8865 return resultobj;
8866 fail:
8867 return NULL;
8868 }
8869
8870
8871 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj;
8873 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8874 int result;
8875 PyObject * obj0 = 0 ;
8876 char *kwnames[] = {
8877 (char *) "self", NULL
8878 };
8879
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 result = (int)((wxSpinButton const *)arg1)->GetMin();
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 resultobj = PyInt_FromLong((long)result);
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8897 PyObject *resultobj;
8898 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8899 int result;
8900 PyObject * obj0 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8907 {
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
8909 result = (int)((wxSpinButton const *)arg1)->GetMax();
8910
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
8914 resultobj = PyInt_FromLong((long)result);
8915 return resultobj;
8916 fail:
8917 return NULL;
8918 }
8919
8920
8921 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj;
8923 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8924 int arg2 ;
8925 PyObject * obj0 = 0 ;
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "val", NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 (arg1)->SetValue(arg2);
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 Py_INCREF(Py_None); resultobj = Py_None;
8940 return resultobj;
8941 fail:
8942 return NULL;
8943 }
8944
8945
8946 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8947 PyObject *resultobj;
8948 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8949 int arg2 ;
8950 PyObject * obj0 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "minVal", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 (arg1)->SetMin(arg2);
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 Py_INCREF(Py_None); resultobj = Py_None;
8965 return resultobj;
8966 fail:
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8974 int arg2 ;
8975 PyObject * obj0 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "maxVal", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 (arg1)->SetMax(arg2);
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 Py_INCREF(Py_None); resultobj = Py_None;
8990 return resultobj;
8991 fail:
8992 return NULL;
8993 }
8994
8995
8996 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8999 int arg2 ;
9000 int arg3 ;
9001 PyObject * obj0 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->SetRange(arg2,arg3);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 Py_INCREF(Py_None); resultobj = Py_None;
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9025 bool result;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 resultobj = PyInt_FromLong((long)result);
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9048 PyObject *obj;
9049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9050 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9051 Py_INCREF(obj);
9052 return Py_BuildValue((char *)"");
9053 }
9054 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxWindow *arg1 = (wxWindow *) 0 ;
9057 int arg2 = (int) -1 ;
9058 wxString const &arg3_defvalue = wxPyEmptyString ;
9059 wxString *arg3 = (wxString *) &arg3_defvalue ;
9060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9062 wxSize const &arg5_defvalue = wxDefaultSize ;
9063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9064 long arg6 = (long) wxSP_ARROW_KEYS ;
9065 int arg7 = (int) 0 ;
9066 int arg8 = (int) 100 ;
9067 int arg9 = (int) 0 ;
9068 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9069 wxString *arg10 = (wxString *) &arg10_defvalue ;
9070 wxSpinCtrl *result;
9071 bool temp3 = False ;
9072 wxPoint temp4 ;
9073 wxSize temp5 ;
9074 bool temp10 = False ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj2 = 0 ;
9077 PyObject * obj3 = 0 ;
9078 PyObject * obj4 = 0 ;
9079 PyObject * obj9 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
9085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9086 if (obj2) {
9087 {
9088 arg3 = wxString_in_helper(obj2);
9089 if (arg3 == NULL) SWIG_fail;
9090 temp3 = True;
9091 }
9092 }
9093 if (obj3) {
9094 {
9095 arg4 = &temp4;
9096 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9097 }
9098 }
9099 if (obj4) {
9100 {
9101 arg5 = &temp5;
9102 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9103 }
9104 }
9105 if (obj9) {
9106 {
9107 arg10 = wxString_in_helper(obj9);
9108 if (arg10 == NULL) SWIG_fail;
9109 temp10 = True;
9110 }
9111 }
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9120 {
9121 if (temp3)
9122 delete arg3;
9123 }
9124 {
9125 if (temp10)
9126 delete arg10;
9127 }
9128 return resultobj;
9129 fail:
9130 {
9131 if (temp3)
9132 delete arg3;
9133 }
9134 {
9135 if (temp10)
9136 delete arg10;
9137 }
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxSpinCtrl *result;
9145 char *kwnames[] = {
9146 NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 result = (wxSpinCtrl *)new wxSpinCtrl();
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9167 wxWindow *arg2 = (wxWindow *) 0 ;
9168 int arg3 = (int) -1 ;
9169 wxString const &arg4_defvalue = wxPyEmptyString ;
9170 wxString *arg4 = (wxString *) &arg4_defvalue ;
9171 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9172 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9173 wxSize const &arg6_defvalue = wxDefaultSize ;
9174 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9175 long arg7 = (long) wxSP_ARROW_KEYS ;
9176 int arg8 = (int) 0 ;
9177 int arg9 = (int) 100 ;
9178 int arg10 = (int) 0 ;
9179 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9180 wxString *arg11 = (wxString *) &arg11_defvalue ;
9181 bool result;
9182 bool temp4 = False ;
9183 wxPoint temp5 ;
9184 wxSize temp6 ;
9185 bool temp11 = False ;
9186 PyObject * obj0 = 0 ;
9187 PyObject * obj1 = 0 ;
9188 PyObject * obj3 = 0 ;
9189 PyObject * obj4 = 0 ;
9190 PyObject * obj5 = 0 ;
9191 PyObject * obj10 = 0 ;
9192 char *kwnames[] = {
9193 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9194 };
9195
9196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9199 if (obj3) {
9200 {
9201 arg4 = wxString_in_helper(obj3);
9202 if (arg4 == NULL) SWIG_fail;
9203 temp4 = True;
9204 }
9205 }
9206 if (obj4) {
9207 {
9208 arg5 = &temp5;
9209 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9210 }
9211 }
9212 if (obj5) {
9213 {
9214 arg6 = &temp6;
9215 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9216 }
9217 }
9218 if (obj10) {
9219 {
9220 arg11 = wxString_in_helper(obj10);
9221 if (arg11 == NULL) SWIG_fail;
9222 temp11 = True;
9223 }
9224 }
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 resultobj = PyInt_FromLong((long)result);
9233 {
9234 if (temp4)
9235 delete arg4;
9236 }
9237 {
9238 if (temp11)
9239 delete arg11;
9240 }
9241 return resultobj;
9242 fail:
9243 {
9244 if (temp4)
9245 delete arg4;
9246 }
9247 {
9248 if (temp11)
9249 delete arg11;
9250 }
9251 return NULL;
9252 }
9253
9254
9255 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj;
9257 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9258 int result;
9259 PyObject * obj0 = 0 ;
9260 char *kwnames[] = {
9261 (char *) "self", NULL
9262 };
9263
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 resultobj = PyInt_FromLong((long)result);
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9281 PyObject *resultobj;
9282 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9283 int arg2 ;
9284 PyObject * obj0 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self",(char *) "value", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 (arg1)->SetValue(arg2);
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 Py_INCREF(Py_None); resultobj = Py_None;
9299 return resultobj;
9300 fail:
9301 return NULL;
9302 }
9303
9304
9305 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj;
9307 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9308 wxString *arg2 = 0 ;
9309 bool temp2 = False ;
9310 PyObject * obj0 = 0 ;
9311 PyObject * obj1 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self",(char *) "text", NULL
9314 };
9315
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9318 {
9319 arg2 = wxString_in_helper(obj1);
9320 if (arg2 == NULL) SWIG_fail;
9321 temp2 = True;
9322 }
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 (arg1)->SetValue((wxString const &)*arg2);
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 Py_INCREF(Py_None); resultobj = Py_None;
9331 {
9332 if (temp2)
9333 delete arg2;
9334 }
9335 return resultobj;
9336 fail:
9337 {
9338 if (temp2)
9339 delete arg2;
9340 }
9341 return NULL;
9342 }
9343
9344
9345 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9346 PyObject *resultobj;
9347 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9348 int arg2 ;
9349 int arg3 ;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 (arg1)->SetRange(arg2,arg3);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 Py_INCREF(Py_None); resultobj = Py_None;
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9374 int result;
9375 PyObject * obj0 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = PyInt_FromLong((long)result);
9390 return resultobj;
9391 fail:
9392 return NULL;
9393 }
9394
9395
9396 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9399 int result;
9400 PyObject * obj0 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = PyInt_FromLong((long)result);
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9422 PyObject *resultobj;
9423 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9424 long arg2 ;
9425 long arg3 ;
9426 PyObject * obj0 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self",(char *) "from",(char *) "to", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->SetSelection(arg2,arg3);
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 Py_INCREF(Py_None); resultobj = Py_None;
9441 return resultobj;
9442 fail:
9443 return NULL;
9444 }
9445
9446
9447 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9448 PyObject *obj;
9449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9450 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9451 Py_INCREF(obj);
9452 return Py_BuildValue((char *)"");
9453 }
9454 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9455 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9456 return 1;
9457 }
9458
9459
9460 static PyObject *_wrap_RadioBoxNameStr_get() {
9461 PyObject *pyobj;
9462
9463 {
9464 #if wxUSE_UNICODE
9465 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9466 #else
9467 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9468 #endif
9469 }
9470 return pyobj;
9471 }
9472
9473
9474 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9475 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9476 return 1;
9477 }
9478
9479
9480 static PyObject *_wrap_RadioButtonNameStr_get() {
9481 PyObject *pyobj;
9482
9483 {
9484 #if wxUSE_UNICODE
9485 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9486 #else
9487 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9488 #endif
9489 }
9490 return pyobj;
9491 }
9492
9493
9494 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj;
9496 wxWindow *arg1 = (wxWindow *) 0 ;
9497 int arg2 ;
9498 wxString *arg3 = 0 ;
9499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9501 wxSize const &arg5_defvalue = wxDefaultSize ;
9502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9503 int arg6 = (int) 0 ;
9504 wxString *arg7 = (wxString *) NULL ;
9505 int arg8 = (int) 0 ;
9506 long arg9 = (long) wxRA_HORIZONTAL ;
9507 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9508 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9509 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9510 wxString *arg11 = (wxString *) &arg11_defvalue ;
9511 wxRadioBox *result;
9512 bool temp3 = False ;
9513 wxPoint temp4 ;
9514 wxSize temp5 ;
9515 bool temp10 = False ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj2 = 0 ;
9518 PyObject * obj3 = 0 ;
9519 PyObject * obj4 = 0 ;
9520 PyObject * obj5 = 0 ;
9521 PyObject * obj8 = 0 ;
9522 PyObject * obj9 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529 {
9530 arg3 = wxString_in_helper(obj2);
9531 if (arg3 == NULL) SWIG_fail;
9532 temp3 = True;
9533 }
9534 if (obj3) {
9535 {
9536 arg4 = &temp4;
9537 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9538 }
9539 }
9540 if (obj4) {
9541 {
9542 arg5 = &temp5;
9543 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9544 }
9545 }
9546 if (obj5) {
9547 {
9548 arg6 = PyList_Size(obj5);
9549 arg7 = wxString_LIST_helper(obj5);
9550 if (arg7 == NULL) SWIG_fail;
9551 }
9552 }
9553 if (obj8) {
9554 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9555 if (arg10 == NULL) {
9556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9557 }
9558 }
9559 if (obj9) {
9560 {
9561 arg11 = wxString_in_helper(obj9);
9562 if (arg11 == NULL) SWIG_fail;
9563 temp10 = True;
9564 }
9565 }
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 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);
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9574 {
9575 if (temp3)
9576 delete arg3;
9577 }
9578 {
9579 if (arg7) delete [] arg7;
9580 }
9581 {
9582 if (temp10)
9583 delete arg11;
9584 }
9585 return resultobj;
9586 fail:
9587 {
9588 if (temp3)
9589 delete arg3;
9590 }
9591 {
9592 if (arg7) delete [] arg7;
9593 }
9594 {
9595 if (temp10)
9596 delete arg11;
9597 }
9598 return NULL;
9599 }
9600
9601
9602 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj;
9604 wxRadioBox *result;
9605 char *kwnames[] = {
9606 NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 result = (wxRadioBox *)new wxRadioBox();
9613
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9618 return resultobj;
9619 fail:
9620 return NULL;
9621 }
9622
9623
9624 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9625 PyObject *resultobj;
9626 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9627 wxWindow *arg2 = (wxWindow *) 0 ;
9628 int arg3 ;
9629 wxString *arg4 = 0 ;
9630 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9631 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9632 wxSize const &arg6_defvalue = wxDefaultSize ;
9633 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9634 int arg7 = (int) 0 ;
9635 wxString *arg8 = (wxString *) NULL ;
9636 int arg9 = (int) 0 ;
9637 long arg10 = (long) wxRA_HORIZONTAL ;
9638 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9639 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9640 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9641 wxString *arg12 = (wxString *) &arg12_defvalue ;
9642 bool result;
9643 bool temp4 = False ;
9644 wxPoint temp5 ;
9645 wxSize temp6 ;
9646 bool temp11 = False ;
9647 PyObject * obj0 = 0 ;
9648 PyObject * obj1 = 0 ;
9649 PyObject * obj3 = 0 ;
9650 PyObject * obj4 = 0 ;
9651 PyObject * obj5 = 0 ;
9652 PyObject * obj6 = 0 ;
9653 PyObject * obj9 = 0 ;
9654 PyObject * obj10 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9662 {
9663 arg4 = wxString_in_helper(obj3);
9664 if (arg4 == NULL) SWIG_fail;
9665 temp4 = True;
9666 }
9667 if (obj4) {
9668 {
9669 arg5 = &temp5;
9670 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9671 }
9672 }
9673 if (obj5) {
9674 {
9675 arg6 = &temp6;
9676 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9677 }
9678 }
9679 if (obj6) {
9680 {
9681 arg7 = PyList_Size(obj6);
9682 arg8 = wxString_LIST_helper(obj6);
9683 if (arg8 == NULL) SWIG_fail;
9684 }
9685 }
9686 if (obj9) {
9687 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9688 if (arg11 == NULL) {
9689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9690 }
9691 }
9692 if (obj10) {
9693 {
9694 arg12 = wxString_in_helper(obj10);
9695 if (arg12 == NULL) SWIG_fail;
9696 temp11 = True;
9697 }
9698 }
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 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);
9702
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 resultobj = PyInt_FromLong((long)result);
9707 {
9708 if (temp4)
9709 delete arg4;
9710 }
9711 {
9712 if (arg8) delete [] arg8;
9713 }
9714 {
9715 if (temp11)
9716 delete arg12;
9717 }
9718 return resultobj;
9719 fail:
9720 {
9721 if (temp4)
9722 delete arg4;
9723 }
9724 {
9725 if (arg8) delete [] arg8;
9726 }
9727 {
9728 if (temp11)
9729 delete arg12;
9730 }
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9738 int arg2 ;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self",(char *) "n", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 (arg1)->SetSelection(arg2);
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 Py_INCREF(Py_None); resultobj = Py_None;
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9763 int result;
9764 PyObject * obj0 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 resultobj = PyInt_FromLong((long)result);
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9788 wxString result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 {
9804 #if wxUSE_UNICODE
9805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9806 #else
9807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9808 #endif
9809 }
9810 return resultobj;
9811 fail:
9812 return NULL;
9813 }
9814
9815
9816 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj;
9818 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9819 wxString *arg2 = 0 ;
9820 bool result;
9821 bool temp2 = False ;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "s", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9830 {
9831 arg2 = wxString_in_helper(obj1);
9832 if (arg2 == NULL) SWIG_fail;
9833 temp2 = True;
9834 }
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9838
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 resultobj = PyInt_FromLong((long)result);
9843 {
9844 if (temp2)
9845 delete arg2;
9846 }
9847 return resultobj;
9848 fail:
9849 {
9850 if (temp2)
9851 delete arg2;
9852 }
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9860 int result;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 result = (int)((wxRadioBox const *)arg1)->GetCount();
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) SWIG_fail;
9874 }
9875 resultobj = PyInt_FromLong((long)result);
9876 return resultobj;
9877 fail:
9878 return NULL;
9879 }
9880
9881
9882 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9883 PyObject *resultobj;
9884 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9885 wxString *arg2 = 0 ;
9886 int result;
9887 bool temp2 = False ;
9888 PyObject * obj0 = 0 ;
9889 PyObject * obj1 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self",(char *) "s", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9896 {
9897 arg2 = wxString_in_helper(obj1);
9898 if (arg2 == NULL) SWIG_fail;
9899 temp2 = True;
9900 }
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 resultobj = PyInt_FromLong((long)result);
9909 {
9910 if (temp2)
9911 delete arg2;
9912 }
9913 return resultobj;
9914 fail:
9915 {
9916 if (temp2)
9917 delete arg2;
9918 }
9919 return NULL;
9920 }
9921
9922
9923 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj;
9925 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9926 int arg2 ;
9927 wxString result;
9928 PyObject * obj0 = 0 ;
9929 char *kwnames[] = {
9930 (char *) "self",(char *) "n", NULL
9931 };
9932
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 {
9943 #if wxUSE_UNICODE
9944 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9945 #else
9946 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9947 #endif
9948 }
9949 return resultobj;
9950 fail:
9951 return NULL;
9952 }
9953
9954
9955 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj;
9957 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9958 int arg2 ;
9959 wxString *arg3 = 0 ;
9960 bool temp3 = False ;
9961 PyObject * obj0 = 0 ;
9962 PyObject * obj2 = 0 ;
9963 char *kwnames[] = {
9964 (char *) "self",(char *) "n",(char *) "label", NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9969 {
9970 arg3 = wxString_in_helper(obj2);
9971 if (arg3 == NULL) SWIG_fail;
9972 temp3 = True;
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 (arg1)->SetString(arg2,(wxString const &)*arg3);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 Py_INCREF(Py_None); resultobj = Py_None;
9982 {
9983 if (temp3)
9984 delete arg3;
9985 }
9986 return resultobj;
9987 fail:
9988 {
9989 if (temp3)
9990 delete arg3;
9991 }
9992 return NULL;
9993 }
9994
9995
9996 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj;
9998 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9999 int arg2 ;
10000 bool arg3 = (bool) True ;
10001 PyObject * obj0 = 0 ;
10002 PyObject * obj2 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self",(char *) "n",(char *) "enable", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10009 if (obj2) {
10010 arg3 = PyInt_AsLong(obj2) ? true : false;
10011 if (PyErr_Occurred()) SWIG_fail;
10012 }
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 (arg1)->Enable(arg2,arg3);
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 Py_INCREF(Py_None); resultobj = Py_None;
10021 return resultobj;
10022 fail:
10023 return NULL;
10024 }
10025
10026
10027 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj;
10029 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10030 int arg2 ;
10031 bool arg3 = (bool) True ;
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj2 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self",(char *) "n",(char *) "show", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10040 if (obj2) {
10041 arg3 = PyInt_AsLong(obj2) ? true : false;
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 (arg1)->Show(arg2,arg3);
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 Py_INCREF(Py_None); resultobj = Py_None;
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10061 int result;
10062 PyObject * obj0 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 resultobj = PyInt_FromLong((long)result);
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10086 int result;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = PyInt_FromLong((long)result);
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10111 int arg2 ;
10112 int arg3 ;
10113 long arg4 ;
10114 int result;
10115 PyObject * obj0 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 resultobj = PyInt_FromLong((long)result);
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10137 PyObject *obj;
10138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10139 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10140 Py_INCREF(obj);
10141 return Py_BuildValue((char *)"");
10142 }
10143 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxWindow *arg1 = (wxWindow *) 0 ;
10146 int arg2 ;
10147 wxString *arg3 = 0 ;
10148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10150 wxSize const &arg5_defvalue = wxDefaultSize ;
10151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10152 long arg6 = (long) 0 ;
10153 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10154 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10155 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10156 wxString *arg8 = (wxString *) &arg8_defvalue ;
10157 wxRadioButton *result;
10158 bool temp3 = False ;
10159 wxPoint temp4 ;
10160 wxSize temp5 ;
10161 bool temp8 = False ;
10162 PyObject * obj0 = 0 ;
10163 PyObject * obj2 = 0 ;
10164 PyObject * obj3 = 0 ;
10165 PyObject * obj4 = 0 ;
10166 PyObject * obj6 = 0 ;
10167 PyObject * obj7 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10174 {
10175 arg3 = wxString_in_helper(obj2);
10176 if (arg3 == NULL) SWIG_fail;
10177 temp3 = True;
10178 }
10179 if (obj3) {
10180 {
10181 arg4 = &temp4;
10182 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10183 }
10184 }
10185 if (obj4) {
10186 {
10187 arg5 = &temp5;
10188 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10189 }
10190 }
10191 if (obj6) {
10192 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10193 if (arg7 == NULL) {
10194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10195 }
10196 }
10197 if (obj7) {
10198 {
10199 arg8 = wxString_in_helper(obj7);
10200 if (arg8 == NULL) SWIG_fail;
10201 temp8 = True;
10202 }
10203 }
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10212 {
10213 if (temp3)
10214 delete arg3;
10215 }
10216 {
10217 if (temp8)
10218 delete arg8;
10219 }
10220 return resultobj;
10221 fail:
10222 {
10223 if (temp3)
10224 delete arg3;
10225 }
10226 {
10227 if (temp8)
10228 delete arg8;
10229 }
10230 return NULL;
10231 }
10232
10233
10234 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxRadioButton *result;
10237 char *kwnames[] = {
10238 NULL
10239 };
10240
10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (wxRadioButton *)new wxRadioButton();
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10259 wxWindow *arg2 = (wxWindow *) 0 ;
10260 int arg3 ;
10261 wxString *arg4 = 0 ;
10262 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10263 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10264 wxSize const &arg6_defvalue = wxDefaultSize ;
10265 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10266 long arg7 = (long) 0 ;
10267 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10268 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10269 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10270 wxString *arg9 = (wxString *) &arg9_defvalue ;
10271 bool result;
10272 bool temp4 = False ;
10273 wxPoint temp5 ;
10274 wxSize temp6 ;
10275 bool temp9 = False ;
10276 PyObject * obj0 = 0 ;
10277 PyObject * obj1 = 0 ;
10278 PyObject * obj3 = 0 ;
10279 PyObject * obj4 = 0 ;
10280 PyObject * obj5 = 0 ;
10281 PyObject * obj7 = 0 ;
10282 PyObject * obj8 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10290 {
10291 arg4 = wxString_in_helper(obj3);
10292 if (arg4 == NULL) SWIG_fail;
10293 temp4 = True;
10294 }
10295 if (obj4) {
10296 {
10297 arg5 = &temp5;
10298 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10299 }
10300 }
10301 if (obj5) {
10302 {
10303 arg6 = &temp6;
10304 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10305 }
10306 }
10307 if (obj7) {
10308 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10309 if (arg8 == NULL) {
10310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10311 }
10312 }
10313 if (obj8) {
10314 {
10315 arg9 = wxString_in_helper(obj8);
10316 if (arg9 == NULL) SWIG_fail;
10317 temp9 = True;
10318 }
10319 }
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 resultobj = PyInt_FromLong((long)result);
10328 {
10329 if (temp4)
10330 delete arg4;
10331 }
10332 {
10333 if (temp9)
10334 delete arg9;
10335 }
10336 return resultobj;
10337 fail:
10338 {
10339 if (temp4)
10340 delete arg4;
10341 }
10342 {
10343 if (temp9)
10344 delete arg9;
10345 }
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10353 bool result;
10354 PyObject * obj0 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (bool)(arg1)->GetValue();
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 resultobj = PyInt_FromLong((long)result);
10369 return resultobj;
10370 fail:
10371 return NULL;
10372 }
10373
10374
10375 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10378 bool arg2 ;
10379 PyObject * obj0 = 0 ;
10380 PyObject * obj1 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self",(char *) "value", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10387 arg2 = PyInt_AsLong(obj1) ? true : false;
10388 if (PyErr_Occurred()) SWIG_fail;
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 (arg1)->SetValue(arg2);
10392
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 Py_INCREF(Py_None); resultobj = Py_None;
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10404 PyObject *obj;
10405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10406 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10407 Py_INCREF(obj);
10408 return Py_BuildValue((char *)"");
10409 }
10410 static int _wrap_SliderNameStr_set(PyObject *_val) {
10411 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10412 return 1;
10413 }
10414
10415
10416 static PyObject *_wrap_SliderNameStr_get() {
10417 PyObject *pyobj;
10418
10419 {
10420 #if wxUSE_UNICODE
10421 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10422 #else
10423 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10424 #endif
10425 }
10426 return pyobj;
10427 }
10428
10429
10430 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxWindow *arg1 = (wxWindow *) 0 ;
10433 int arg2 ;
10434 int arg3 ;
10435 int arg4 ;
10436 int arg5 ;
10437 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10438 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10439 wxSize const &arg7_defvalue = wxDefaultSize ;
10440 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10441 long arg8 = (long) wxSL_HORIZONTAL ;
10442 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10443 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10444 wxString const &arg10_defvalue = wxPySliderNameStr ;
10445 wxString *arg10 = (wxString *) &arg10_defvalue ;
10446 wxSlider *result;
10447 wxPoint temp6 ;
10448 wxSize temp7 ;
10449 bool temp10 = False ;
10450 PyObject * obj0 = 0 ;
10451 PyObject * obj5 = 0 ;
10452 PyObject * obj6 = 0 ;
10453 PyObject * obj8 = 0 ;
10454 PyObject * obj9 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 if (obj5) {
10462 {
10463 arg6 = &temp6;
10464 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10465 }
10466 }
10467 if (obj6) {
10468 {
10469 arg7 = &temp7;
10470 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10471 }
10472 }
10473 if (obj8) {
10474 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10475 if (arg9 == NULL) {
10476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10477 }
10478 }
10479 if (obj9) {
10480 {
10481 arg10 = wxString_in_helper(obj9);
10482 if (arg10 == NULL) SWIG_fail;
10483 temp10 = True;
10484 }
10485 }
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10494 {
10495 if (temp10)
10496 delete arg10;
10497 }
10498 return resultobj;
10499 fail:
10500 {
10501 if (temp10)
10502 delete arg10;
10503 }
10504 return NULL;
10505 }
10506
10507
10508 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj;
10510 wxSlider *result;
10511 char *kwnames[] = {
10512 NULL
10513 };
10514
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 result = (wxSlider *)new wxSlider();
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10524 return resultobj;
10525 fail:
10526 return NULL;
10527 }
10528
10529
10530 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10531 PyObject *resultobj;
10532 wxSlider *arg1 = (wxSlider *) 0 ;
10533 wxWindow *arg2 = (wxWindow *) 0 ;
10534 int arg3 ;
10535 int arg4 ;
10536 int arg5 ;
10537 int arg6 ;
10538 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10539 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10540 wxSize const &arg8_defvalue = wxDefaultSize ;
10541 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10542 long arg9 = (long) wxSL_HORIZONTAL ;
10543 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10544 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10545 wxString const &arg11_defvalue = wxPySliderNameStr ;
10546 wxString *arg11 = (wxString *) &arg11_defvalue ;
10547 bool result;
10548 wxPoint temp7 ;
10549 wxSize temp8 ;
10550 bool temp11 = False ;
10551 PyObject * obj0 = 0 ;
10552 PyObject * obj1 = 0 ;
10553 PyObject * obj6 = 0 ;
10554 PyObject * obj7 = 0 ;
10555 PyObject * obj9 = 0 ;
10556 PyObject * obj10 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10564 if (obj6) {
10565 {
10566 arg7 = &temp7;
10567 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10568 }
10569 }
10570 if (obj7) {
10571 {
10572 arg8 = &temp8;
10573 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10574 }
10575 }
10576 if (obj9) {
10577 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10578 if (arg10 == NULL) {
10579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10580 }
10581 }
10582 if (obj10) {
10583 {
10584 arg11 = wxString_in_helper(obj10);
10585 if (arg11 == NULL) SWIG_fail;
10586 temp11 = True;
10587 }
10588 }
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = PyInt_FromLong((long)result);
10597 {
10598 if (temp11)
10599 delete arg11;
10600 }
10601 return resultobj;
10602 fail:
10603 {
10604 if (temp11)
10605 delete arg11;
10606 }
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxSlider *arg1 = (wxSlider *) 0 ;
10614 int result;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 result = (int)((wxSlider const *)arg1)->GetValue();
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 resultobj = PyInt_FromLong((long)result);
10630 return resultobj;
10631 fail:
10632 return NULL;
10633 }
10634
10635
10636 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxSlider *arg1 = (wxSlider *) 0 ;
10639 int arg2 ;
10640 PyObject * obj0 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self",(char *) "value", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 (arg1)->SetValue(arg2);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 Py_INCREF(Py_None); resultobj = Py_None;
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxSlider *arg1 = (wxSlider *) 0 ;
10664 int arg2 ;
10665 int arg3 ;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 (arg1)->SetRange(arg2,arg3);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxSlider *arg1 = (wxSlider *) 0 ;
10690 int result;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 result = (int)((wxSlider const *)arg1)->GetMin();
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 resultobj = PyInt_FromLong((long)result);
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxSlider *arg1 = (wxSlider *) 0 ;
10715 int result;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (int)((wxSlider const *)arg1)->GetMax();
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = PyInt_FromLong((long)result);
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxSlider *arg1 = (wxSlider *) 0 ;
10740 int arg2 ;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self",(char *) "minValue", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 (arg1)->SetMin(arg2);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 Py_INCREF(Py_None); resultobj = Py_None;
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxSlider *arg1 = (wxSlider *) 0 ;
10765 int arg2 ;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "maxValue", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetMax(arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxSlider *arg1 = (wxSlider *) 0 ;
10790 int arg2 ;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "lineSize", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 (arg1)->SetLineSize(arg2);
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 Py_INCREF(Py_None); resultobj = Py_None;
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxSlider *arg1 = (wxSlider *) 0 ;
10815 int arg2 ;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self",(char *) "pageSize", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 (arg1)->SetPageSize(arg2);
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 Py_INCREF(Py_None); resultobj = Py_None;
10831 return resultobj;
10832 fail:
10833 return NULL;
10834 }
10835
10836
10837 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10838 PyObject *resultobj;
10839 wxSlider *arg1 = (wxSlider *) 0 ;
10840 int result;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 result = (int)((wxSlider const *)arg1)->GetLineSize();
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 resultobj = PyInt_FromLong((long)result);
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxSlider *arg1 = (wxSlider *) 0 ;
10865 int result;
10866 PyObject * obj0 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 result = (int)((wxSlider const *)arg1)->GetPageSize();
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 resultobj = PyInt_FromLong((long)result);
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxSlider *arg1 = (wxSlider *) 0 ;
10890 int arg2 ;
10891 PyObject * obj0 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self",(char *) "lenPixels", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->SetThumbLength(arg2);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj;
10914 wxSlider *arg1 = (wxSlider *) 0 ;
10915 int result;
10916 PyObject * obj0 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 resultobj = PyInt_FromLong((long)result);
10931 return resultobj;
10932 fail:
10933 return NULL;
10934 }
10935
10936
10937 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxSlider *arg1 = (wxSlider *) 0 ;
10940 int arg2 ;
10941 int arg3 ;
10942 PyObject * obj0 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self",(char *) "n",(char *) "pos", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 (arg1)->SetTickFreq(arg2,arg3);
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 Py_INCREF(Py_None); resultobj = Py_None;
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxSlider *arg1 = (wxSlider *) 0 ;
10966 int result;
10967 PyObject * obj0 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "self", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10977
10978 wxPyEndAllowThreads(__tstate);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 resultobj = PyInt_FromLong((long)result);
10982 return resultobj;
10983 fail:
10984 return NULL;
10985 }
10986
10987
10988 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxSlider *arg1 = (wxSlider *) 0 ;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 (arg1)->ClearTicks();
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 Py_INCREF(Py_None); resultobj = Py_None;
11006 return resultobj;
11007 fail:
11008 return NULL;
11009 }
11010
11011
11012 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxSlider *arg1 = (wxSlider *) 0 ;
11015 int arg2 ;
11016 PyObject * obj0 = 0 ;
11017 char *kwnames[] = {
11018 (char *) "self",(char *) "tickPos", NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
11022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11023 {
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 (arg1)->SetTick(arg2);
11026
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 Py_INCREF(Py_None); resultobj = Py_None;
11031 return resultobj;
11032 fail:
11033 return NULL;
11034 }
11035
11036
11037 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj;
11039 wxSlider *arg1 = (wxSlider *) 0 ;
11040 PyObject * obj0 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "self", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 (arg1)->ClearSel();
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 Py_INCREF(Py_None); resultobj = Py_None;
11055 return resultobj;
11056 fail:
11057 return NULL;
11058 }
11059
11060
11061 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxSlider *arg1 = (wxSlider *) 0 ;
11064 int result;
11065 PyObject * obj0 = 0 ;
11066 char *kwnames[] = {
11067 (char *) "self", NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 resultobj = PyInt_FromLong((long)result);
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxSlider *arg1 = (wxSlider *) 0 ;
11089 int result;
11090 PyObject * obj0 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = (int)((wxSlider const *)arg1)->GetSelStart();
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 resultobj = PyInt_FromLong((long)result);
11105 return resultobj;
11106 fail:
11107 return NULL;
11108 }
11109
11110
11111 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj;
11113 wxSlider *arg1 = (wxSlider *) 0 ;
11114 int arg2 ;
11115 int arg3 ;
11116 PyObject * obj0 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self",(char *) "min",(char *) "max", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 (arg1)->SetSelection(arg2,arg3);
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 Py_INCREF(Py_None); resultobj = Py_None;
11131 return resultobj;
11132 fail:
11133 return NULL;
11134 }
11135
11136
11137 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11138 PyObject *obj;
11139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11140 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11141 Py_INCREF(obj);
11142 return Py_BuildValue((char *)"");
11143 }
11144 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11145 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11146 return 1;
11147 }
11148
11149
11150 static PyObject *_wrap_ToggleButtonNameStr_get() {
11151 PyObject *pyobj;
11152
11153 {
11154 #if wxUSE_UNICODE
11155 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11156 #else
11157 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11158 #endif
11159 }
11160 return pyobj;
11161 }
11162
11163
11164 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj;
11166 wxWindow *arg1 = (wxWindow *) 0 ;
11167 int arg2 ;
11168 wxString *arg3 = 0 ;
11169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11171 wxSize const &arg5_defvalue = wxDefaultSize ;
11172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11173 long arg6 = (long) 0 ;
11174 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11175 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11176 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11177 wxString *arg8 = (wxString *) &arg8_defvalue ;
11178 wxToggleButton *result;
11179 bool temp3 = False ;
11180 wxPoint temp4 ;
11181 wxSize temp5 ;
11182 bool temp8 = False ;
11183 PyObject * obj0 = 0 ;
11184 PyObject * obj2 = 0 ;
11185 PyObject * obj3 = 0 ;
11186 PyObject * obj4 = 0 ;
11187 PyObject * obj6 = 0 ;
11188 PyObject * obj7 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11195 {
11196 arg3 = wxString_in_helper(obj2);
11197 if (arg3 == NULL) SWIG_fail;
11198 temp3 = True;
11199 }
11200 if (obj3) {
11201 {
11202 arg4 = &temp4;
11203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11204 }
11205 }
11206 if (obj4) {
11207 {
11208 arg5 = &temp5;
11209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11210 }
11211 }
11212 if (obj6) {
11213 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11214 if (arg7 == NULL) {
11215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11216 }
11217 }
11218 if (obj7) {
11219 {
11220 arg8 = wxString_in_helper(obj7);
11221 if (arg8 == NULL) SWIG_fail;
11222 temp8 = True;
11223 }
11224 }
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11233 {
11234 if (temp3)
11235 delete arg3;
11236 }
11237 {
11238 if (temp8)
11239 delete arg8;
11240 }
11241 return resultobj;
11242 fail:
11243 {
11244 if (temp3)
11245 delete arg3;
11246 }
11247 {
11248 if (temp8)
11249 delete arg8;
11250 }
11251 return NULL;
11252 }
11253
11254
11255 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11256 PyObject *resultobj;
11257 wxToggleButton *result;
11258 char *kwnames[] = {
11259 NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (wxToggleButton *)new wxToggleButton();
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11271 return resultobj;
11272 fail:
11273 return NULL;
11274 }
11275
11276
11277 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11278 PyObject *resultobj;
11279 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11280 wxWindow *arg2 = (wxWindow *) 0 ;
11281 int arg3 ;
11282 wxString *arg4 = 0 ;
11283 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11284 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11285 wxSize const &arg6_defvalue = wxDefaultSize ;
11286 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11287 long arg7 = (long) 0 ;
11288 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11289 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11290 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11291 wxString *arg9 = (wxString *) &arg9_defvalue ;
11292 bool result;
11293 bool temp4 = False ;
11294 wxPoint temp5 ;
11295 wxSize temp6 ;
11296 bool temp9 = False ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 PyObject * obj3 = 0 ;
11300 PyObject * obj4 = 0 ;
11301 PyObject * obj5 = 0 ;
11302 PyObject * obj7 = 0 ;
11303 PyObject * obj8 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11311 {
11312 arg4 = wxString_in_helper(obj3);
11313 if (arg4 == NULL) SWIG_fail;
11314 temp4 = True;
11315 }
11316 if (obj4) {
11317 {
11318 arg5 = &temp5;
11319 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11320 }
11321 }
11322 if (obj5) {
11323 {
11324 arg6 = &temp6;
11325 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11326 }
11327 }
11328 if (obj7) {
11329 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11330 if (arg8 == NULL) {
11331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11332 }
11333 }
11334 if (obj8) {
11335 {
11336 arg9 = wxString_in_helper(obj8);
11337 if (arg9 == NULL) SWIG_fail;
11338 temp9 = True;
11339 }
11340 }
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11344
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 resultobj = PyInt_FromLong((long)result);
11349 {
11350 if (temp4)
11351 delete arg4;
11352 }
11353 {
11354 if (temp9)
11355 delete arg9;
11356 }
11357 return resultobj;
11358 fail:
11359 {
11360 if (temp4)
11361 delete arg4;
11362 }
11363 {
11364 if (temp9)
11365 delete arg9;
11366 }
11367 return NULL;
11368 }
11369
11370
11371 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11372 PyObject *resultobj;
11373 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11374 bool arg2 ;
11375 PyObject * obj0 = 0 ;
11376 PyObject * obj1 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "self",(char *) "value", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11383 arg2 = PyInt_AsLong(obj1) ? true : false;
11384 if (PyErr_Occurred()) SWIG_fail;
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->SetValue(arg2);
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 Py_INCREF(Py_None); resultobj = Py_None;
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11402 bool result;
11403 PyObject * obj0 = 0 ;
11404 char *kwnames[] = {
11405 (char *) "self", NULL
11406 };
11407
11408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 resultobj = PyInt_FromLong((long)result);
11418 return resultobj;
11419 fail:
11420 return NULL;
11421 }
11422
11423
11424 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11427 wxString *arg2 = 0 ;
11428 bool temp2 = False ;
11429 PyObject * obj0 = 0 ;
11430 PyObject * obj1 = 0 ;
11431 char *kwnames[] = {
11432 (char *) "self",(char *) "label", NULL
11433 };
11434
11435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11437 {
11438 arg2 = wxString_in_helper(obj1);
11439 if (arg2 == NULL) SWIG_fail;
11440 temp2 = True;
11441 }
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 (arg1)->SetLabel((wxString const &)*arg2);
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 Py_INCREF(Py_None); resultobj = Py_None;
11450 {
11451 if (temp2)
11452 delete arg2;
11453 }
11454 return resultobj;
11455 fail:
11456 {
11457 if (temp2)
11458 delete arg2;
11459 }
11460 return NULL;
11461 }
11462
11463
11464 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11465 PyObject *obj;
11466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11468 Py_INCREF(obj);
11469 return Py_BuildValue((char *)"");
11470 }
11471 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11472 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11473 return 1;
11474 }
11475
11476
11477 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11478 PyObject *pyobj;
11479
11480 {
11481 #if wxUSE_UNICODE
11482 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11483 #else
11484 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11485 #endif
11486 }
11487 return pyobj;
11488 }
11489
11490
11491 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj;
11493 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11494 size_t result;
11495 PyObject * obj0 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 resultobj = PyInt_FromLong((long)result);
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11519 size_t arg2 ;
11520 wxWindow *result;
11521 PyObject * obj0 = 0 ;
11522 PyObject * obj1 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self",(char *) "n", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 arg2 = (size_t) PyInt_AsLong(obj1);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = (wxWindow *)(arg1)->GetPage(arg2);
11534
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 {
11539 resultobj = wxPyMake_wxObject(result);
11540 }
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11550 int result;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 resultobj = PyInt_FromLong((long)result);
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11575 size_t arg2 ;
11576 wxString *arg3 = 0 ;
11577 bool result;
11578 bool temp3 = False ;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 PyObject * obj2 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "self",(char *) "n",(char *) "strText", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11588 arg2 = (size_t) PyInt_AsLong(obj1);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 {
11591 arg3 = wxString_in_helper(obj2);
11592 if (arg3 == NULL) SWIG_fail;
11593 temp3 = True;
11594 }
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 resultobj = PyInt_FromLong((long)result);
11603 {
11604 if (temp3)
11605 delete arg3;
11606 }
11607 return resultobj;
11608 fail:
11609 {
11610 if (temp3)
11611 delete arg3;
11612 }
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11620 size_t arg2 ;
11621 wxString result;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
11624 char *kwnames[] = {
11625 (char *) "self",(char *) "n", NULL
11626 };
11627
11628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11630 arg2 = (size_t) PyInt_AsLong(obj1);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 {
11640 #if wxUSE_UNICODE
11641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11642 #else
11643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11644 #endif
11645 }
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11655 wxImageList *arg2 = (wxImageList *) 0 ;
11656 PyObject * obj0 = 0 ;
11657 PyObject * obj1 = 0 ;
11658 char *kwnames[] = {
11659 (char *) "self",(char *) "imageList", NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 (arg1)->SetImageList(arg2);
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 Py_INCREF(Py_None); resultobj = Py_None;
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11682 wxImageList *arg2 = (wxImageList *) 0 ;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "imageList", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->AssignImageList(arg2);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 Py_INCREF(Py_None); resultobj = Py_None;
11700 return resultobj;
11701 fail:
11702 return NULL;
11703 }
11704
11705
11706 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11707 PyObject *resultobj;
11708 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11709 wxImageList *result;
11710 PyObject * obj0 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 {
11725 resultobj = wxPyMake_wxObject(result);
11726 }
11727 return resultobj;
11728 fail:
11729 return NULL;
11730 }
11731
11732
11733 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11736 size_t arg2 ;
11737 int result;
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self",(char *) "n", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11746 arg2 = (size_t) PyInt_AsLong(obj1);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 resultobj = PyInt_FromLong((long)result);
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11765 size_t arg2 ;
11766 int arg3 ;
11767 bool result;
11768 PyObject * obj0 = 0 ;
11769 PyObject * obj1 = 0 ;
11770 char *kwnames[] = {
11771 (char *) "self",(char *) "n",(char *) "imageId", NULL
11772 };
11773
11774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11776 arg2 = (size_t) PyInt_AsLong(obj1);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11781
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 resultobj = PyInt_FromLong((long)result);
11786 return resultobj;
11787 fail:
11788 return NULL;
11789 }
11790
11791
11792 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj;
11794 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11795 wxSize *arg2 = 0 ;
11796 wxSize temp2 ;
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self",(char *) "size", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11805 {
11806 arg2 = &temp2;
11807 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11808 }
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 (arg1)->SetPageSize((wxSize const &)*arg2);
11812
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 Py_INCREF(Py_None); resultobj = Py_None;
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11826 wxSize *arg2 = 0 ;
11827 wxSize result;
11828 wxSize temp2 ;
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj1 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "self",(char *) "sizePage", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11837 {
11838 arg2 = &temp2;
11839 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11840 }
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11844
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 {
11849 wxSize * resultptr;
11850 resultptr = new wxSize((wxSize &) result);
11851 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11852 }
11853 return resultobj;
11854 fail:
11855 return NULL;
11856 }
11857
11858
11859 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11860 PyObject *resultobj;
11861 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11862 size_t arg2 ;
11863 bool result;
11864 PyObject * obj0 = 0 ;
11865 PyObject * obj1 = 0 ;
11866 char *kwnames[] = {
11867 (char *) "self",(char *) "n", NULL
11868 };
11869
11870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11872 arg2 = (size_t) PyInt_AsLong(obj1);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (bool)(arg1)->DeletePage(arg2);
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 resultobj = PyInt_FromLong((long)result);
11882 return resultobj;
11883 fail:
11884 return NULL;
11885 }
11886
11887
11888 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11889 PyObject *resultobj;
11890 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11891 size_t arg2 ;
11892 bool result;
11893 PyObject * obj0 = 0 ;
11894 PyObject * obj1 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "self",(char *) "n", NULL
11897 };
11898
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11901 arg2 = (size_t) PyInt_AsLong(obj1);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 result = (bool)(arg1)->RemovePage(arg2);
11906
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 resultobj = PyInt_FromLong((long)result);
11911 return resultobj;
11912 fail:
11913 return NULL;
11914 }
11915
11916
11917 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj;
11919 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11920 bool result;
11921 PyObject * obj0 = 0 ;
11922 char *kwnames[] = {
11923 (char *) "self", NULL
11924 };
11925
11926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11928 {
11929 PyThreadState* __tstate = wxPyBeginAllowThreads();
11930 result = (bool)(arg1)->DeleteAllPages();
11931
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 resultobj = PyInt_FromLong((long)result);
11936 return resultobj;
11937 fail:
11938 return NULL;
11939 }
11940
11941
11942 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11943 PyObject *resultobj;
11944 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11945 wxWindow *arg2 = (wxWindow *) 0 ;
11946 wxString *arg3 = 0 ;
11947 bool arg4 = (bool) False ;
11948 int arg5 = (int) -1 ;
11949 bool result;
11950 bool temp3 = False ;
11951 PyObject * obj0 = 0 ;
11952 PyObject * obj1 = 0 ;
11953 PyObject * obj2 = 0 ;
11954 PyObject * obj3 = 0 ;
11955 char *kwnames[] = {
11956 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11962 {
11963 arg3 = wxString_in_helper(obj2);
11964 if (arg3 == NULL) SWIG_fail;
11965 temp3 = True;
11966 }
11967 if (obj3) {
11968 arg4 = PyInt_AsLong(obj3) ? true : false;
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 resultobj = PyInt_FromLong((long)result);
11979 {
11980 if (temp3)
11981 delete arg3;
11982 }
11983 return resultobj;
11984 fail:
11985 {
11986 if (temp3)
11987 delete arg3;
11988 }
11989 return NULL;
11990 }
11991
11992
11993 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11994 PyObject *resultobj;
11995 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11996 size_t arg2 ;
11997 wxWindow *arg3 = (wxWindow *) 0 ;
11998 wxString *arg4 = 0 ;
11999 bool arg5 = (bool) False ;
12000 int arg6 = (int) -1 ;
12001 bool result;
12002 bool temp4 = False ;
12003 PyObject * obj0 = 0 ;
12004 PyObject * obj1 = 0 ;
12005 PyObject * obj2 = 0 ;
12006 PyObject * obj3 = 0 ;
12007 PyObject * obj4 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
12013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12014 arg2 = (size_t) PyInt_AsLong(obj1);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12017 {
12018 arg4 = wxString_in_helper(obj3);
12019 if (arg4 == NULL) SWIG_fail;
12020 temp4 = True;
12021 }
12022 if (obj4) {
12023 arg5 = PyInt_AsLong(obj4) ? true : false;
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 resultobj = PyInt_FromLong((long)result);
12034 {
12035 if (temp4)
12036 delete arg4;
12037 }
12038 return resultobj;
12039 fail:
12040 {
12041 if (temp4)
12042 delete arg4;
12043 }
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12051 size_t arg2 ;
12052 int result;
12053 PyObject * obj0 = 0 ;
12054 PyObject * obj1 = 0 ;
12055 char *kwnames[] = {
12056 (char *) "self",(char *) "n", NULL
12057 };
12058
12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12061 arg2 = (size_t) PyInt_AsLong(obj1);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 {
12064 PyThreadState* __tstate = wxPyBeginAllowThreads();
12065 result = (int)(arg1)->SetSelection(arg2);
12066
12067 wxPyEndAllowThreads(__tstate);
12068 if (PyErr_Occurred()) SWIG_fail;
12069 }
12070 resultobj = PyInt_FromLong((long)result);
12071 return resultobj;
12072 fail:
12073 return NULL;
12074 }
12075
12076
12077 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12078 PyObject *resultobj;
12079 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12080 bool arg2 = (bool) True ;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self",(char *) "forward", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12089 if (obj1) {
12090 arg2 = PyInt_AsLong(obj1) ? true : false;
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 (arg1)->AdvanceSelection(arg2);
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 Py_INCREF(Py_None); resultobj = Py_None;
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12108 PyObject *obj;
12109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12110 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12111 Py_INCREF(obj);
12112 return Py_BuildValue((char *)"");
12113 }
12114 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12115 PyObject *resultobj;
12116 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12117 int arg2 = (int) 0 ;
12118 int arg3 = (int) -1 ;
12119 int arg4 = (int) -1 ;
12120 wxBookCtrlEvent *result;
12121 char *kwnames[] = {
12122 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12123 };
12124
12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12143 int result;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 resultobj = PyInt_FromLong((long)result);
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12168 int arg2 ;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self",(char *) "nSel", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 (arg1)->SetSelection(arg2);
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 Py_INCREF(Py_None); resultobj = Py_None;
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12193 int result;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 resultobj = PyInt_FromLong((long)result);
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12218 int arg2 ;
12219 PyObject * obj0 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self",(char *) "nOldSel", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 (arg1)->SetOldSelection(arg2);
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 Py_INCREF(Py_None); resultobj = Py_None;
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12241 PyObject *obj;
12242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12243 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12244 Py_INCREF(obj);
12245 return Py_BuildValue((char *)"");
12246 }
12247 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12248 PyObject *resultobj;
12249 wxWindow *arg1 = (wxWindow *) 0 ;
12250 int arg2 ;
12251 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12252 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12253 wxSize const &arg4_defvalue = wxDefaultSize ;
12254 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12255 long arg5 = (long) 0 ;
12256 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12257 wxString *arg6 = (wxString *) &arg6_defvalue ;
12258 wxNotebook *result;
12259 wxPoint temp3 ;
12260 wxSize temp4 ;
12261 bool temp6 = False ;
12262 PyObject * obj0 = 0 ;
12263 PyObject * obj2 = 0 ;
12264 PyObject * obj3 = 0 ;
12265 PyObject * obj5 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12272 if (obj2) {
12273 {
12274 arg3 = &temp3;
12275 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12276 }
12277 }
12278 if (obj3) {
12279 {
12280 arg4 = &temp4;
12281 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12282 }
12283 }
12284 if (obj5) {
12285 {
12286 arg6 = wxString_in_helper(obj5);
12287 if (arg6 == NULL) SWIG_fail;
12288 temp6 = True;
12289 }
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 {
12299 resultobj = wxPyMake_wxObject(result);
12300 }
12301 {
12302 if (temp6)
12303 delete arg6;
12304 }
12305 return resultobj;
12306 fail:
12307 {
12308 if (temp6)
12309 delete arg6;
12310 }
12311 return NULL;
12312 }
12313
12314
12315 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj;
12317 wxNotebook *result;
12318 char *kwnames[] = {
12319 NULL
12320 };
12321
12322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (wxNotebook *)new wxNotebook();
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 {
12331 resultobj = wxPyMake_wxObject(result);
12332 }
12333 return resultobj;
12334 fail:
12335 return NULL;
12336 }
12337
12338
12339 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12340 PyObject *resultobj;
12341 wxNotebook *arg1 = (wxNotebook *) 0 ;
12342 wxWindow *arg2 = (wxWindow *) 0 ;
12343 int arg3 ;
12344 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12345 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12346 wxSize const &arg5_defvalue = wxDefaultSize ;
12347 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12348 long arg6 = (long) 0 ;
12349 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12350 wxString *arg7 = (wxString *) &arg7_defvalue ;
12351 bool result;
12352 wxPoint temp4 ;
12353 wxSize temp5 ;
12354 bool temp7 = False ;
12355 PyObject * obj0 = 0 ;
12356 PyObject * obj1 = 0 ;
12357 PyObject * obj3 = 0 ;
12358 PyObject * obj4 = 0 ;
12359 PyObject * obj6 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12367 if (obj3) {
12368 {
12369 arg4 = &temp4;
12370 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12371 }
12372 }
12373 if (obj4) {
12374 {
12375 arg5 = &temp5;
12376 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12377 }
12378 }
12379 if (obj6) {
12380 {
12381 arg7 = wxString_in_helper(obj6);
12382 if (arg7 == NULL) SWIG_fail;
12383 temp7 = True;
12384 }
12385 }
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 resultobj = PyInt_FromLong((long)result);
12394 {
12395 if (temp7)
12396 delete arg7;
12397 }
12398 return resultobj;
12399 fail:
12400 {
12401 if (temp7)
12402 delete arg7;
12403 }
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxNotebook *arg1 = (wxNotebook *) 0 ;
12411 int result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = PyInt_FromLong((long)result);
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxNotebook *arg1 = (wxNotebook *) 0 ;
12436 wxSize *arg2 = 0 ;
12437 wxSize temp2 ;
12438 PyObject * obj0 = 0 ;
12439 PyObject * obj1 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "self",(char *) "padding", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12446 {
12447 arg2 = &temp2;
12448 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12449 }
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 (arg1)->SetPadding((wxSize const &)*arg2);
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 Py_INCREF(Py_None); resultobj = Py_None;
12458 return resultobj;
12459 fail:
12460 return NULL;
12461 }
12462
12463
12464 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxNotebook *arg1 = (wxNotebook *) 0 ;
12467 wxSize *arg2 = 0 ;
12468 wxSize temp2 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "sz", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12477 {
12478 arg2 = &temp2;
12479 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12480 }
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 (arg1)->SetTabSize((wxSize const &)*arg2);
12484
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 Py_INCREF(Py_None); resultobj = Py_None;
12489 return resultobj;
12490 fail:
12491 return NULL;
12492 }
12493
12494
12495 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxNotebook *arg1 = (wxNotebook *) 0 ;
12498 wxPoint *arg2 = 0 ;
12499 long *arg3 = (long *) 0 ;
12500 int result;
12501 wxPoint temp2 ;
12502 long temp3 ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self",(char *) "pt", NULL
12507 };
12508
12509 arg3 = &temp3;
12510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12512 {
12513 arg2 = &temp2;
12514 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12515 }
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 resultobj = PyInt_FromLong((long)result);
12524 {
12525 PyObject *o = PyInt_FromLong((long) (*arg3));
12526 resultobj = t_output_helper(resultobj,o);
12527 }
12528 return resultobj;
12529 fail:
12530 return NULL;
12531 }
12532
12533
12534 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj;
12536 wxNotebook *arg1 = (wxNotebook *) 0 ;
12537 wxSize *arg2 = 0 ;
12538 wxSize result;
12539 wxSize temp2 ;
12540 PyObject * obj0 = 0 ;
12541 PyObject * obj1 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self",(char *) "sizePage", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12548 {
12549 arg2 = &temp2;
12550 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12551 }
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 {
12560 wxSize * resultptr;
12561 resultptr = new wxSize((wxSize &) result);
12562 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12563 }
12564 return resultobj;
12565 fail:
12566 return NULL;
12567 }
12568
12569
12570 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj;
12572 wxNotebook *arg1 = (wxNotebook *) 0 ;
12573 wxWindow *arg2 = (wxWindow *) 0 ;
12574 wxColour *arg3 = 0 ;
12575 wxColour temp3 ;
12576 PyObject * obj0 = 0 ;
12577 PyObject * obj1 = 0 ;
12578 PyObject * obj2 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self",(char *) "window",(char *) "colour", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12586 {
12587 arg3 = &temp3;
12588 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 Py_INCREF(Py_None); resultobj = Py_None;
12598 return resultobj;
12599 fail:
12600 return NULL;
12601 }
12602
12603
12604 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12605 PyObject *obj;
12606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12607 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12608 Py_INCREF(obj);
12609 return Py_BuildValue((char *)"");
12610 }
12611 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12614 int arg2 = (int) 0 ;
12615 int arg3 = (int) -1 ;
12616 int arg4 = (int) -1 ;
12617 wxNotebookEvent *result;
12618 char *kwnames[] = {
12619 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12631 return resultobj;
12632 fail:
12633 return NULL;
12634 }
12635
12636
12637 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12638 PyObject *obj;
12639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12640 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12641 Py_INCREF(obj);
12642 return Py_BuildValue((char *)"");
12643 }
12644 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxWindow *arg1 = (wxWindow *) 0 ;
12647 int arg2 ;
12648 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12649 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12650 wxSize const &arg4_defvalue = wxDefaultSize ;
12651 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12652 long arg5 = (long) 0 ;
12653 wxString const &arg6_defvalue = wxPyEmptyString ;
12654 wxString *arg6 = (wxString *) &arg6_defvalue ;
12655 wxListbook *result;
12656 wxPoint temp3 ;
12657 wxSize temp4 ;
12658 bool temp6 = False ;
12659 PyObject * obj0 = 0 ;
12660 PyObject * obj2 = 0 ;
12661 PyObject * obj3 = 0 ;
12662 PyObject * obj5 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12669 if (obj2) {
12670 {
12671 arg3 = &temp3;
12672 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12673 }
12674 }
12675 if (obj3) {
12676 {
12677 arg4 = &temp4;
12678 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12679 }
12680 }
12681 if (obj5) {
12682 {
12683 arg6 = wxString_in_helper(obj5);
12684 if (arg6 == NULL) SWIG_fail;
12685 temp6 = True;
12686 }
12687 }
12688 {
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12691
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12696 {
12697 if (temp6)
12698 delete arg6;
12699 }
12700 return resultobj;
12701 fail:
12702 {
12703 if (temp6)
12704 delete arg6;
12705 }
12706 return NULL;
12707 }
12708
12709
12710 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj;
12712 wxListbook *result;
12713 char *kwnames[] = {
12714 NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (wxListbook *)new wxListbook();
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12726 return resultobj;
12727 fail:
12728 return NULL;
12729 }
12730
12731
12732 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj;
12734 wxListbook *arg1 = (wxListbook *) 0 ;
12735 wxWindow *arg2 = (wxWindow *) 0 ;
12736 int arg3 ;
12737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12739 wxSize const &arg5_defvalue = wxDefaultSize ;
12740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12741 long arg6 = (long) 0 ;
12742 wxString const &arg7_defvalue = wxPyEmptyString ;
12743 wxString *arg7 = (wxString *) &arg7_defvalue ;
12744 bool result;
12745 wxPoint temp4 ;
12746 wxSize temp5 ;
12747 bool temp7 = False ;
12748 PyObject * obj0 = 0 ;
12749 PyObject * obj1 = 0 ;
12750 PyObject * obj3 = 0 ;
12751 PyObject * obj4 = 0 ;
12752 PyObject * obj6 = 0 ;
12753 char *kwnames[] = {
12754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12755 };
12756
12757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12760 if (obj3) {
12761 {
12762 arg4 = &temp4;
12763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12764 }
12765 }
12766 if (obj4) {
12767 {
12768 arg5 = &temp5;
12769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12770 }
12771 }
12772 if (obj6) {
12773 {
12774 arg7 = wxString_in_helper(obj6);
12775 if (arg7 == NULL) SWIG_fail;
12776 temp7 = True;
12777 }
12778 }
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 resultobj = PyInt_FromLong((long)result);
12787 {
12788 if (temp7)
12789 delete arg7;
12790 }
12791 return resultobj;
12792 fail:
12793 {
12794 if (temp7)
12795 delete arg7;
12796 }
12797 return NULL;
12798 }
12799
12800
12801 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxListbook *arg1 = (wxListbook *) 0 ;
12804 bool result;
12805 PyObject * obj0 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (bool)((wxListbook const *)arg1)->IsVertical();
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = PyInt_FromLong((long)result);
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12827 PyObject *obj;
12828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12829 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12830 Py_INCREF(obj);
12831 return Py_BuildValue((char *)"");
12832 }
12833 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12836 int arg2 = (int) 0 ;
12837 int arg3 = (int) -1 ;
12838 int arg4 = (int) -1 ;
12839 wxListbookEvent *result;
12840 char *kwnames[] = {
12841 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12853 return resultobj;
12854 fail:
12855 return NULL;
12856 }
12857
12858
12859 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12860 PyObject *obj;
12861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12862 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12863 Py_INCREF(obj);
12864 return Py_BuildValue((char *)"");
12865 }
12866 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12869 wxBookCtrlSizer *result;
12870 PyObject * obj0 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "nb", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12894 PyObject * obj0 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 (arg1)->RecalcSizes();
12904
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 Py_INCREF(Py_None); resultobj = Py_None;
12909 return resultobj;
12910 fail:
12911 return NULL;
12912 }
12913
12914
12915 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12918 wxSize result;
12919 PyObject * obj0 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 result = (arg1)->CalcMin();
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 {
12934 wxSize * resultptr;
12935 resultptr = new wxSize((wxSize &) result);
12936 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12937 }
12938 return resultobj;
12939 fail:
12940 return NULL;
12941 }
12942
12943
12944 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj;
12946 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12947 wxBookCtrl *result;
12948 PyObject * obj0 = 0 ;
12949 char *kwnames[] = {
12950 (char *) "self", NULL
12951 };
12952
12953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (wxBookCtrl *)(arg1)->GetControl();
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12963 return resultobj;
12964 fail:
12965 return NULL;
12966 }
12967
12968
12969 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12970 PyObject *obj;
12971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12972 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12973 Py_INCREF(obj);
12974 return Py_BuildValue((char *)"");
12975 }
12976 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject *resultobj;
12978 wxNotebook *arg1 = (wxNotebook *) 0 ;
12979 wxNotebookSizer *result;
12980 PyObject * obj0 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "nb", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12990
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12995 return resultobj;
12996 fail:
12997 return NULL;
12998 }
12999
13000
13001 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13004 PyObject * obj0 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "self", NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 (arg1)->RecalcSizes();
13014
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 Py_INCREF(Py_None); resultobj = Py_None;
13019 return resultobj;
13020 fail:
13021 return NULL;
13022 }
13023
13024
13025 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13028 wxSize result;
13029 PyObject * obj0 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
13035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (arg1)->CalcMin();
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 {
13044 wxSize * resultptr;
13045 resultptr = new wxSize((wxSize &) result);
13046 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13047 }
13048 return resultobj;
13049 fail:
13050 return NULL;
13051 }
13052
13053
13054 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13057 wxNotebook *result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (wxNotebook *)(arg1)->GetNotebook();
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 {
13073 resultobj = wxPyMake_wxObject(result);
13074 }
13075 return resultobj;
13076 fail:
13077 return NULL;
13078 }
13079
13080
13081 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13082 PyObject *obj;
13083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13084 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13085 Py_INCREF(obj);
13086 return Py_BuildValue((char *)"");
13087 }
13088 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj;
13090 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13091 int result;
13092 PyObject * obj0 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "self", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (int)(arg1)->GetId();
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 resultobj = PyInt_FromLong((long)result);
13107 return resultobj;
13108 fail:
13109 return NULL;
13110 }
13111
13112
13113 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13116 wxControl *result;
13117 PyObject * obj0 = 0 ;
13118 char *kwnames[] = {
13119 (char *) "self", NULL
13120 };
13121
13122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 result = (wxControl *)(arg1)->GetControl();
13127
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 {
13132 resultobj = wxPyMake_wxObject(result);
13133 }
13134 return resultobj;
13135 fail:
13136 return NULL;
13137 }
13138
13139
13140 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13141 PyObject *resultobj;
13142 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13143 wxToolBarBase *result;
13144 PyObject * obj0 = 0 ;
13145 char *kwnames[] = {
13146 (char *) "self", NULL
13147 };
13148
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 result = (wxToolBarBase *)(arg1)->GetToolBar();
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
13158 {
13159 resultobj = wxPyMake_wxObject(result);
13160 }
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj;
13169 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13170 int result;
13171 PyObject * obj0 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "self", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 result = (int)(arg1)->IsButton();
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 resultobj = PyInt_FromLong((long)result);
13186 return resultobj;
13187 fail:
13188 return NULL;
13189 }
13190
13191
13192 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13193 PyObject *resultobj;
13194 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13195 int result;
13196 PyObject * obj0 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 result = (int)(arg1)->IsControl();
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 resultobj = PyInt_FromLong((long)result);
13211 return resultobj;
13212 fail:
13213 return NULL;
13214 }
13215
13216
13217 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13220 int result;
13221 PyObject * obj0 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13228 {
13229 PyThreadState* __tstate = wxPyBeginAllowThreads();
13230 result = (int)(arg1)->IsSeparator();
13231
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = PyInt_FromLong((long)result);
13236 return resultobj;
13237 fail:
13238 return NULL;
13239 }
13240
13241
13242 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13245 int result;
13246 PyObject * obj0 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 result = (int)(arg1)->GetStyle();
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 resultobj = PyInt_FromLong((long)result);
13261 return resultobj;
13262 fail:
13263 return NULL;
13264 }
13265
13266
13267 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13268 PyObject *resultobj;
13269 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13270 int result;
13271 PyObject * obj0 = 0 ;
13272 char *kwnames[] = {
13273 (char *) "self", NULL
13274 };
13275
13276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 result = (int)(arg1)->GetKind();
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 resultobj = PyInt_FromLong((long)result);
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13295 bool result;
13296 PyObject * obj0 = 0 ;
13297 char *kwnames[] = {
13298 (char *) "self", NULL
13299 };
13300
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (bool)(arg1)->IsEnabled();
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 resultobj = PyInt_FromLong((long)result);
13311 return resultobj;
13312 fail:
13313 return NULL;
13314 }
13315
13316
13317 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj;
13319 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13320 bool result;
13321 PyObject * obj0 = 0 ;
13322 char *kwnames[] = {
13323 (char *) "self", NULL
13324 };
13325
13326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 result = (bool)(arg1)->IsToggled();
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 resultobj = PyInt_FromLong((long)result);
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13345 bool result;
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (bool)(arg1)->CanBeToggled();
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = PyInt_FromLong((long)result);
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13370 wxBitmap *result;
13371 PyObject * obj0 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13378 {
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 {
13381 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13382 result = (wxBitmap *) &_result_ref;
13383 }
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13389 return resultobj;
13390 fail:
13391 return NULL;
13392 }
13393
13394
13395 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13398 wxBitmap *result;
13399 PyObject * obj0 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13406 {
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 {
13409 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13410 result = (wxBitmap *) &_result_ref;
13411 }
13412
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13417 return resultobj;
13418 fail:
13419 return NULL;
13420 }
13421
13422
13423 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13424 PyObject *resultobj;
13425 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13426 wxBitmap result;
13427 PyObject * obj0 = 0 ;
13428 char *kwnames[] = {
13429 (char *) "self", NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 result = (arg1)->GetBitmap();
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 {
13442 wxBitmap * resultptr;
13443 resultptr = new wxBitmap((wxBitmap &) result);
13444 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13445 }
13446 return resultobj;
13447 fail:
13448 return NULL;
13449 }
13450
13451
13452 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13455 wxString result;
13456 PyObject * obj0 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (arg1)->GetLabel();
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 {
13471 #if wxUSE_UNICODE
13472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13473 #else
13474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13475 #endif
13476 }
13477 return resultobj;
13478 fail:
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13486 wxString result;
13487 PyObject * obj0 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",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 result = (arg1)->GetShortHelp();
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 {
13502 #if wxUSE_UNICODE
13503 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13504 #else
13505 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13506 #endif
13507 }
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj;
13516 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13517 wxString result;
13518 PyObject * obj0 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 result = (arg1)->GetLongHelp();
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 {
13533 #if wxUSE_UNICODE
13534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13535 #else
13536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13537 #endif
13538 }
13539 return resultobj;
13540 fail:
13541 return NULL;
13542 }
13543
13544
13545 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13546 PyObject *resultobj;
13547 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13548 bool arg2 ;
13549 bool result;
13550 PyObject * obj0 = 0 ;
13551 PyObject * obj1 = 0 ;
13552 char *kwnames[] = {
13553 (char *) "self",(char *) "enable", NULL
13554 };
13555
13556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13558 arg2 = PyInt_AsLong(obj1) ? true : false;
13559 if (PyErr_Occurred()) SWIG_fail;
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 result = (bool)(arg1)->Enable(arg2);
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 resultobj = PyInt_FromLong((long)result);
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13577 PyObject * obj0 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->Toggle();
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13601 bool arg2 ;
13602 bool result;
13603 PyObject * obj0 = 0 ;
13604 PyObject * obj1 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self",(char *) "toggle", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13611 arg2 = PyInt_AsLong(obj1) ? true : false;
13612 if (PyErr_Occurred()) SWIG_fail;
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 result = (bool)(arg1)->SetToggle(arg2);
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 resultobj = PyInt_FromLong((long)result);
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13630 wxString *arg2 = 0 ;
13631 bool result;
13632 bool temp2 = False ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self",(char *) "help", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 {
13642 arg2 = wxString_in_helper(obj1);
13643 if (arg2 == NULL) SWIG_fail;
13644 temp2 = True;
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 resultobj = PyInt_FromLong((long)result);
13654 {
13655 if (temp2)
13656 delete arg2;
13657 }
13658 return resultobj;
13659 fail:
13660 {
13661 if (temp2)
13662 delete arg2;
13663 }
13664 return NULL;
13665 }
13666
13667
13668 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj;
13670 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13671 wxString *arg2 = 0 ;
13672 bool result;
13673 bool temp2 = False ;
13674 PyObject * obj0 = 0 ;
13675 PyObject * obj1 = 0 ;
13676 char *kwnames[] = {
13677 (char *) "self",(char *) "help", NULL
13678 };
13679
13680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13682 {
13683 arg2 = wxString_in_helper(obj1);
13684 if (arg2 == NULL) SWIG_fail;
13685 temp2 = True;
13686 }
13687 {
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13690
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
13694 resultobj = PyInt_FromLong((long)result);
13695 {
13696 if (temp2)
13697 delete arg2;
13698 }
13699 return resultobj;
13700 fail:
13701 {
13702 if (temp2)
13703 delete arg2;
13704 }
13705 return NULL;
13706 }
13707
13708
13709 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13712 wxBitmap *arg2 = 0 ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj1 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "bmp", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13722 if (arg2 == NULL) {
13723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13724 }
13725 {
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 Py_INCREF(Py_None); resultobj = Py_None;
13733 return resultobj;
13734 fail:
13735 return NULL;
13736 }
13737
13738
13739 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj;
13741 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13742 wxBitmap *arg2 = 0 ;
13743 PyObject * obj0 = 0 ;
13744 PyObject * obj1 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "bmp", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13752 if (arg2 == NULL) {
13753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13754 }
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 Py_INCREF(Py_None); resultobj = Py_None;
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj;
13771 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13772 wxString *arg2 = 0 ;
13773 bool temp2 = False ;
13774 PyObject * obj0 = 0 ;
13775 PyObject * obj1 = 0 ;
13776 char *kwnames[] = {
13777 (char *) "self",(char *) "label", NULL
13778 };
13779
13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13782 {
13783 arg2 = wxString_in_helper(obj1);
13784 if (arg2 == NULL) SWIG_fail;
13785 temp2 = True;
13786 }
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 (arg1)->SetLabel((wxString const &)*arg2);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 Py_INCREF(Py_None); resultobj = Py_None;
13795 {
13796 if (temp2)
13797 delete arg2;
13798 }
13799 return resultobj;
13800 fail:
13801 {
13802 if (temp2)
13803 delete arg2;
13804 }
13805 return NULL;
13806 }
13807
13808
13809 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13810 PyObject *resultobj;
13811 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13812 PyObject * obj0 = 0 ;
13813 char *kwnames[] = {
13814 (char *) "self", NULL
13815 };
13816
13817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 (arg1)->Detach();
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 Py_INCREF(Py_None); resultobj = Py_None;
13827 return resultobj;
13828 fail:
13829 return NULL;
13830 }
13831
13832
13833 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj;
13835 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13836 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13837 PyObject * obj0 = 0 ;
13838 PyObject * obj1 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self",(char *) "tbar", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 (arg1)->Attach(arg2);
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 Py_INCREF(Py_None); resultobj = Py_None;
13854 return resultobj;
13855 fail:
13856 return NULL;
13857 }
13858
13859
13860 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13863 PyObject *result;
13864 PyObject * obj0 = 0 ;
13865 char *kwnames[] = {
13866 (char *) "self", NULL
13867 };
13868
13869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
13873 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13874
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 resultobj = result;
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13888 PyObject *arg2 = (PyObject *) 0 ;
13889 PyObject * obj0 = 0 ;
13890 PyObject * obj1 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self",(char *) "clientData", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13897 arg2 = obj1;
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 wxToolBarToolBase_SetClientData(arg1,arg2);
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 Py_INCREF(Py_None); resultobj = Py_None;
13906 return resultobj;
13907 fail:
13908 return NULL;
13909 }
13910
13911
13912 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13913 PyObject *obj;
13914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13915 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13916 Py_INCREF(obj);
13917 return Py_BuildValue((char *)"");
13918 }
13919 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13922 int arg2 ;
13923 wxString *arg3 = 0 ;
13924 wxBitmap *arg4 = 0 ;
13925 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13926 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13927 int arg6 = (int) wxITEM_NORMAL ;
13928 wxString const &arg7_defvalue = wxPyEmptyString ;
13929 wxString *arg7 = (wxString *) &arg7_defvalue ;
13930 wxString const &arg8_defvalue = wxPyEmptyString ;
13931 wxString *arg8 = (wxString *) &arg8_defvalue ;
13932 PyObject *arg9 = (PyObject *) NULL ;
13933 wxToolBarToolBase *result;
13934 bool temp3 = False ;
13935 bool temp7 = False ;
13936 bool temp8 = False ;
13937 PyObject * obj0 = 0 ;
13938 PyObject * obj2 = 0 ;
13939 PyObject * obj3 = 0 ;
13940 PyObject * obj4 = 0 ;
13941 PyObject * obj6 = 0 ;
13942 PyObject * obj7 = 0 ;
13943 PyObject * obj8 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13950 {
13951 arg3 = wxString_in_helper(obj2);
13952 if (arg3 == NULL) SWIG_fail;
13953 temp3 = True;
13954 }
13955 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13956 if (arg4 == NULL) {
13957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13958 }
13959 if (obj4) {
13960 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13961 if (arg5 == NULL) {
13962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13963 }
13964 }
13965 if (obj6) {
13966 {
13967 arg7 = wxString_in_helper(obj6);
13968 if (arg7 == NULL) SWIG_fail;
13969 temp7 = True;
13970 }
13971 }
13972 if (obj7) {
13973 {
13974 arg8 = wxString_in_helper(obj7);
13975 if (arg8 == NULL) SWIG_fail;
13976 temp8 = True;
13977 }
13978 }
13979 if (obj8) {
13980 arg9 = obj8;
13981 }
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 {
13990 resultobj = wxPyMake_wxObject(result);
13991 }
13992 {
13993 if (temp3)
13994 delete arg3;
13995 }
13996 {
13997 if (temp7)
13998 delete arg7;
13999 }
14000 {
14001 if (temp8)
14002 delete arg8;
14003 }
14004 return resultobj;
14005 fail:
14006 {
14007 if (temp3)
14008 delete arg3;
14009 }
14010 {
14011 if (temp7)
14012 delete arg7;
14013 }
14014 {
14015 if (temp8)
14016 delete arg8;
14017 }
14018 return NULL;
14019 }
14020
14021
14022 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14025 size_t arg2 ;
14026 int arg3 ;
14027 wxString *arg4 = 0 ;
14028 wxBitmap *arg5 = 0 ;
14029 wxBitmap const &arg6_defvalue = wxNullBitmap ;
14030 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
14031 int arg7 = (int) wxITEM_NORMAL ;
14032 wxString const &arg8_defvalue = wxPyEmptyString ;
14033 wxString *arg8 = (wxString *) &arg8_defvalue ;
14034 wxString const &arg9_defvalue = wxPyEmptyString ;
14035 wxString *arg9 = (wxString *) &arg9_defvalue ;
14036 PyObject *arg10 = (PyObject *) NULL ;
14037 wxToolBarToolBase *result;
14038 bool temp4 = False ;
14039 bool temp8 = False ;
14040 bool temp9 = False ;
14041 PyObject * obj0 = 0 ;
14042 PyObject * obj1 = 0 ;
14043 PyObject * obj3 = 0 ;
14044 PyObject * obj4 = 0 ;
14045 PyObject * obj5 = 0 ;
14046 PyObject * obj7 = 0 ;
14047 PyObject * obj8 = 0 ;
14048 PyObject * obj9 = 0 ;
14049 char *kwnames[] = {
14050 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14051 };
14052
14053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
14054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14055 arg2 = (size_t) PyInt_AsLong(obj1);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 {
14058 arg4 = wxString_in_helper(obj3);
14059 if (arg4 == NULL) SWIG_fail;
14060 temp4 = True;
14061 }
14062 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14063 if (arg5 == NULL) {
14064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14065 }
14066 if (obj5) {
14067 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14068 if (arg6 == NULL) {
14069 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14070 }
14071 }
14072 if (obj7) {
14073 {
14074 arg8 = wxString_in_helper(obj7);
14075 if (arg8 == NULL) SWIG_fail;
14076 temp8 = True;
14077 }
14078 }
14079 if (obj8) {
14080 {
14081 arg9 = wxString_in_helper(obj8);
14082 if (arg9 == NULL) SWIG_fail;
14083 temp9 = True;
14084 }
14085 }
14086 if (obj9) {
14087 arg10 = obj9;
14088 }
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 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);
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 {
14097 resultobj = wxPyMake_wxObject(result);
14098 }
14099 {
14100 if (temp4)
14101 delete arg4;
14102 }
14103 {
14104 if (temp8)
14105 delete arg8;
14106 }
14107 {
14108 if (temp9)
14109 delete arg9;
14110 }
14111 return resultobj;
14112 fail:
14113 {
14114 if (temp4)
14115 delete arg4;
14116 }
14117 {
14118 if (temp8)
14119 delete arg8;
14120 }
14121 {
14122 if (temp9)
14123 delete arg9;
14124 }
14125 return NULL;
14126 }
14127
14128
14129 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14130 PyObject *resultobj;
14131 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14132 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14133 wxToolBarToolBase *result;
14134 PyObject * obj0 = 0 ;
14135 PyObject * obj1 = 0 ;
14136 char *kwnames[] = {
14137 (char *) "self",(char *) "tool", NULL
14138 };
14139
14140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14146
14147 wxPyEndAllowThreads(__tstate);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 {
14151 resultobj = wxPyMake_wxObject(result);
14152 }
14153 return resultobj;
14154 fail:
14155 return NULL;
14156 }
14157
14158
14159 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14160 PyObject *resultobj;
14161 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14162 size_t arg2 ;
14163 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14164 wxToolBarToolBase *result;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 PyObject * obj2 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self",(char *) "pos",(char *) "tool", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14174 arg2 = (size_t) PyInt_AsLong(obj1);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 {
14185 resultobj = wxPyMake_wxObject(result);
14186 }
14187 return resultobj;
14188 fail:
14189 return NULL;
14190 }
14191
14192
14193 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14196 wxControl *arg2 = (wxControl *) 0 ;
14197 wxToolBarToolBase *result;
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
14200 char *kwnames[] = {
14201 (char *) "self",(char *) "control", NULL
14202 };
14203
14204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215 resultobj = wxPyMake_wxObject(result);
14216 }
14217 return resultobj;
14218 fail:
14219 return NULL;
14220 }
14221
14222
14223 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj;
14225 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14226 size_t arg2 ;
14227 wxControl *arg3 = (wxControl *) 0 ;
14228 wxToolBarToolBase *result;
14229 PyObject * obj0 = 0 ;
14230 PyObject * obj1 = 0 ;
14231 PyObject * obj2 = 0 ;
14232 char *kwnames[] = {
14233 (char *) "self",(char *) "pos",(char *) "control", NULL
14234 };
14235
14236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14238 arg2 = (size_t) PyInt_AsLong(obj1);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14244
14245 wxPyEndAllowThreads(__tstate);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 {
14249 resultobj = wxPyMake_wxObject(result);
14250 }
14251 return resultobj;
14252 fail:
14253 return NULL;
14254 }
14255
14256
14257 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14258 PyObject *resultobj;
14259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14260 int arg2 ;
14261 wxControl *result;
14262 PyObject * obj0 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self",(char *) "id", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 result = (wxControl *)(arg1)->FindControl(arg2);
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 {
14277 resultobj = wxPyMake_wxObject(result);
14278 }
14279 return resultobj;
14280 fail:
14281 return NULL;
14282 }
14283
14284
14285 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14288 wxToolBarToolBase *result;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 {
14304 resultobj = wxPyMake_wxObject(result);
14305 }
14306 return resultobj;
14307 fail:
14308 return NULL;
14309 }
14310
14311
14312 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14315 size_t arg2 ;
14316 wxToolBarToolBase *result;
14317 PyObject * obj0 = 0 ;
14318 PyObject * obj1 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self",(char *) "pos", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325 arg2 = (size_t) PyInt_AsLong(obj1);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14330
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 {
14335 resultobj = wxPyMake_wxObject(result);
14336 }
14337 return resultobj;
14338 fail:
14339 return NULL;
14340 }
14341
14342
14343 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj;
14345 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14346 int arg2 ;
14347 wxToolBarToolBase *result;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self",(char *) "id", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 resultobj = wxPyMake_wxObject(result);
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj;
14373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14374 size_t arg2 ;
14375 bool result;
14376 PyObject * obj0 = 0 ;
14377 PyObject * obj1 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self",(char *) "pos", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14384 arg2 = (size_t) PyInt_AsLong(obj1);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 {
14387 PyThreadState* __tstate = wxPyBeginAllowThreads();
14388 result = (bool)(arg1)->DeleteToolByPos(arg2);
14389
14390 wxPyEndAllowThreads(__tstate);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 resultobj = PyInt_FromLong((long)result);
14394 return resultobj;
14395 fail:
14396 return NULL;
14397 }
14398
14399
14400 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj;
14402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14403 int arg2 ;
14404 bool result;
14405 PyObject * obj0 = 0 ;
14406 char *kwnames[] = {
14407 (char *) "self",(char *) "id", NULL
14408 };
14409
14410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 result = (bool)(arg1)->DeleteTool(arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 resultobj = PyInt_FromLong((long)result);
14420 return resultobj;
14421 fail:
14422 return NULL;
14423 }
14424
14425
14426 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj;
14428 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14429 PyObject * obj0 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "self", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->ClearTools();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14453 bool result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = (bool)(arg1)->Realize();
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 resultobj = PyInt_FromLong((long)result);
14469 return resultobj;
14470 fail:
14471 return NULL;
14472 }
14473
14474
14475 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14478 int arg2 ;
14479 bool arg3 ;
14480 PyObject * obj0 = 0 ;
14481 PyObject * obj2 = 0 ;
14482 char *kwnames[] = {
14483 (char *) "self",(char *) "id",(char *) "enable", NULL
14484 };
14485
14486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14488 arg3 = PyInt_AsLong(obj2) ? true : false;
14489 if (PyErr_Occurred()) SWIG_fail;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 (arg1)->EnableTool(arg2,arg3);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 Py_INCREF(Py_None); resultobj = Py_None;
14498 return resultobj;
14499 fail:
14500 return NULL;
14501 }
14502
14503
14504 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14507 int arg2 ;
14508 bool arg3 ;
14509 PyObject * obj0 = 0 ;
14510 PyObject * obj2 = 0 ;
14511 char *kwnames[] = {
14512 (char *) "self",(char *) "id",(char *) "toggle", NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14517 arg3 = PyInt_AsLong(obj2) ? true : false;
14518 if (PyErr_Occurred()) SWIG_fail;
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 (arg1)->ToggleTool(arg2,arg3);
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_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14536 int arg2 ;
14537 bool arg3 ;
14538 PyObject * obj0 = 0 ;
14539 PyObject * obj2 = 0 ;
14540 char *kwnames[] = {
14541 (char *) "self",(char *) "id",(char *) "toggle", NULL
14542 };
14543
14544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14546 arg3 = PyInt_AsLong(obj2) ? true : false;
14547 if (PyErr_Occurred()) SWIG_fail;
14548 {
14549 PyThreadState* __tstate = wxPyBeginAllowThreads();
14550 (arg1)->SetToggle(arg2,arg3);
14551
14552 wxPyEndAllowThreads(__tstate);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 Py_INCREF(Py_None); resultobj = Py_None;
14556 return resultobj;
14557 fail:
14558 return NULL;
14559 }
14560
14561
14562 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14563 PyObject *resultobj;
14564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14565 int arg2 ;
14566 PyObject *result;
14567 PyObject * obj0 = 0 ;
14568 char *kwnames[] = {
14569 (char *) "self",(char *) "id", NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14577
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = result;
14582 return resultobj;
14583 fail:
14584 return NULL;
14585 }
14586
14587
14588 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14591 int arg2 ;
14592 PyObject *arg3 = (PyObject *) 0 ;
14593 PyObject * obj0 = 0 ;
14594 PyObject * obj2 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "self",(char *) "id",(char *) "clientData", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14601 arg3 = obj2;
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 Py_INCREF(Py_None); resultobj = Py_None;
14610 return resultobj;
14611 fail:
14612 return NULL;
14613 }
14614
14615
14616 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj;
14618 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14619 int arg2 ;
14620 int result;
14621 PyObject * obj0 = 0 ;
14622 char *kwnames[] = {
14623 (char *) "self",(char *) "id", NULL
14624 };
14625
14626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14631
14632 wxPyEndAllowThreads(__tstate);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
14635 resultobj = PyInt_FromLong((long)result);
14636 return resultobj;
14637 fail:
14638 return NULL;
14639 }
14640
14641
14642 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14643 PyObject *resultobj;
14644 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14645 int arg2 ;
14646 bool result;
14647 PyObject * obj0 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "self",(char *) "id", NULL
14650 };
14651
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 result = (bool)(arg1)->GetToolState(arg2);
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 resultobj = PyInt_FromLong((long)result);
14662 return resultobj;
14663 fail:
14664 return NULL;
14665 }
14666
14667
14668 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj;
14670 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14671 int arg2 ;
14672 bool result;
14673 PyObject * obj0 = 0 ;
14674 char *kwnames[] = {
14675 (char *) "self",(char *) "id", NULL
14676 };
14677
14678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = (bool)(arg1)->GetToolEnabled(arg2);
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 resultobj = PyInt_FromLong((long)result);
14688 return resultobj;
14689 fail:
14690 return NULL;
14691 }
14692
14693
14694 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14695 PyObject *resultobj;
14696 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14697 int arg2 ;
14698 wxString *arg3 = 0 ;
14699 bool temp3 = False ;
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj2 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "self",(char *) "id",(char *) "helpString", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14708 {
14709 arg3 = wxString_in_helper(obj2);
14710 if (arg3 == NULL) SWIG_fail;
14711 temp3 = True;
14712 }
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 Py_INCREF(Py_None); resultobj = Py_None;
14721 {
14722 if (temp3)
14723 delete arg3;
14724 }
14725 return resultobj;
14726 fail:
14727 {
14728 if (temp3)
14729 delete arg3;
14730 }
14731 return NULL;
14732 }
14733
14734
14735 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14736 PyObject *resultobj;
14737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14738 int arg2 ;
14739 wxString result;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "self",(char *) "id", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 result = (arg1)->GetToolShortHelp(arg2);
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 {
14755 #if wxUSE_UNICODE
14756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14757 #else
14758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14759 #endif
14760 }
14761 return resultobj;
14762 fail:
14763 return NULL;
14764 }
14765
14766
14767 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14770 int arg2 ;
14771 wxString *arg3 = 0 ;
14772 bool temp3 = False ;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj2 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self",(char *) "id",(char *) "helpString", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14781 {
14782 arg3 = wxString_in_helper(obj2);
14783 if (arg3 == NULL) SWIG_fail;
14784 temp3 = True;
14785 }
14786 {
14787 PyThreadState* __tstate = wxPyBeginAllowThreads();
14788 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14789
14790 wxPyEndAllowThreads(__tstate);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 Py_INCREF(Py_None); resultobj = Py_None;
14794 {
14795 if (temp3)
14796 delete arg3;
14797 }
14798 return resultobj;
14799 fail:
14800 {
14801 if (temp3)
14802 delete arg3;
14803 }
14804 return NULL;
14805 }
14806
14807
14808 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14811 int arg2 ;
14812 wxString result;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self",(char *) "id", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (arg1)->GetToolLongHelp(arg2);
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 {
14828 #if wxUSE_UNICODE
14829 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14830 #else
14831 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14832 #endif
14833 }
14834 return resultobj;
14835 fail:
14836 return NULL;
14837 }
14838
14839
14840 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14841 PyObject *resultobj;
14842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14843 int arg2 ;
14844 int arg3 ;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self",(char *) "x",(char *) "y", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 (arg1)->SetMargins(arg2,arg3);
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 Py_INCREF(Py_None); resultobj = Py_None;
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14869 wxSize *arg2 = 0 ;
14870 wxSize temp2 ;
14871 PyObject * obj0 = 0 ;
14872 PyObject * obj1 = 0 ;
14873 char *kwnames[] = {
14874 (char *) "self",(char *) "size", NULL
14875 };
14876
14877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14879 {
14880 arg2 = &temp2;
14881 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14882 }
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 (arg1)->SetMargins((wxSize const &)*arg2);
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 Py_INCREF(Py_None); resultobj = Py_None;
14891 return resultobj;
14892 fail:
14893 return NULL;
14894 }
14895
14896
14897 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14898 PyObject *resultobj;
14899 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14900 int arg2 ;
14901 PyObject * obj0 = 0 ;
14902 char *kwnames[] = {
14903 (char *) "self",(char *) "packing", NULL
14904 };
14905
14906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14908 {
14909 PyThreadState* __tstate = wxPyBeginAllowThreads();
14910 (arg1)->SetToolPacking(arg2);
14911
14912 wxPyEndAllowThreads(__tstate);
14913 if (PyErr_Occurred()) SWIG_fail;
14914 }
14915 Py_INCREF(Py_None); resultobj = Py_None;
14916 return resultobj;
14917 fail:
14918 return NULL;
14919 }
14920
14921
14922 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj;
14924 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14925 int arg2 ;
14926 PyObject * obj0 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "self",(char *) "separation", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 (arg1)->SetToolSeparation(arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 Py_INCREF(Py_None); resultobj = Py_None;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14950 wxSize result;
14951 PyObject * obj0 = 0 ;
14952 char *kwnames[] = {
14953 (char *) "self", NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 result = (arg1)->GetToolMargins();
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 {
14966 wxSize * resultptr;
14967 resultptr = new wxSize((wxSize &) result);
14968 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14969 }
14970 return resultobj;
14971 fail:
14972 return NULL;
14973 }
14974
14975
14976 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj;
14978 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14979 wxSize result;
14980 PyObject * obj0 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "self", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 result = (arg1)->GetMargins();
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 {
14995 wxSize * resultptr;
14996 resultptr = new wxSize((wxSize &) result);
14997 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14998 }
14999 return resultobj;
15000 fail:
15001 return NULL;
15002 }
15003
15004
15005 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj;
15007 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15008 int result;
15009 PyObject * obj0 = 0 ;
15010 char *kwnames[] = {
15011 (char *) "self", NULL
15012 };
15013
15014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = (int)(arg1)->GetToolPacking();
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 resultobj = PyInt_FromLong((long)result);
15024 return resultobj;
15025 fail:
15026 return NULL;
15027 }
15028
15029
15030 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15033 int result;
15034 PyObject * obj0 = 0 ;
15035 char *kwnames[] = {
15036 (char *) "self", NULL
15037 };
15038
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 result = (int)(arg1)->GetToolSeparation();
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 resultobj = PyInt_FromLong((long)result);
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15058 int arg2 ;
15059 PyObject * obj0 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self",(char *) "nRows", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 (arg1)->SetRows(arg2);
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 Py_INCREF(Py_None); resultobj = Py_None;
15074 return resultobj;
15075 fail:
15076 return NULL;
15077 }
15078
15079
15080 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15081 PyObject *resultobj;
15082 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15083 int arg2 ;
15084 int arg3 ;
15085 PyObject * obj0 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "self",(char *) "rows",(char *) "cols", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 (arg1)->SetMaxRowsCols(arg2,arg3);
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 Py_INCREF(Py_None); resultobj = Py_None;
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15107 PyObject *resultobj;
15108 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15109 int result;
15110 PyObject * obj0 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (int)(arg1)->GetMaxRows();
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 resultobj = PyInt_FromLong((long)result);
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj;
15133 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15134 int result;
15135 PyObject * obj0 = 0 ;
15136 char *kwnames[] = {
15137 (char *) "self", NULL
15138 };
15139
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (int)(arg1)->GetMaxCols();
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 resultobj = PyInt_FromLong((long)result);
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj;
15158 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15159 wxSize *arg2 = 0 ;
15160 wxSize temp2 ;
15161 PyObject * obj0 = 0 ;
15162 PyObject * obj1 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self",(char *) "size", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15169 {
15170 arg2 = &temp2;
15171 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15172 }
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 Py_INCREF(Py_None); resultobj = Py_None;
15181 return resultobj;
15182 fail:
15183 return NULL;
15184 }
15185
15186
15187 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15188 PyObject *resultobj;
15189 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15190 wxSize result;
15191 PyObject * obj0 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "self", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 result = (arg1)->GetToolBitmapSize();
15201
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 {
15206 wxSize * resultptr;
15207 resultptr = new wxSize((wxSize &) result);
15208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15209 }
15210 return resultobj;
15211 fail:
15212 return NULL;
15213 }
15214
15215
15216 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj;
15218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15219 wxSize result;
15220 PyObject * obj0 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "self", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 result = (arg1)->GetToolSize();
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 {
15235 wxSize * resultptr;
15236 resultptr = new wxSize((wxSize &) result);
15237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15238 }
15239 return resultobj;
15240 fail:
15241 return NULL;
15242 }
15243
15244
15245 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15248 int arg2 ;
15249 int arg3 ;
15250 wxToolBarToolBase *result;
15251 PyObject * obj0 = 0 ;
15252 char *kwnames[] = {
15253 (char *) "self",(char *) "x",(char *) "y", NULL
15254 };
15255
15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 {
15266 resultobj = wxPyMake_wxObject(result);
15267 }
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15277 int arg2 ;
15278 wxToolBarToolBase *result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self",(char *) "toolid", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 {
15294 resultobj = wxPyMake_wxObject(result);
15295 }
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj;
15304 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15305 bool result;
15306 PyObject * obj0 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15313 {
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 result = (bool)(arg1)->IsVertical();
15316
15317 wxPyEndAllowThreads(__tstate);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 resultobj = PyInt_FromLong((long)result);
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15328 PyObject *obj;
15329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15330 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15331 Py_INCREF(obj);
15332 return Py_BuildValue((char *)"");
15333 }
15334 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxWindow *arg1 = (wxWindow *) 0 ;
15337 int arg2 ;
15338 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15339 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15340 wxSize const &arg4_defvalue = wxDefaultSize ;
15341 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15342 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15343 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15344 wxString *arg6 = (wxString *) &arg6_defvalue ;
15345 wxToolBar *result;
15346 wxPoint temp3 ;
15347 wxSize temp4 ;
15348 bool temp6 = False ;
15349 PyObject * obj0 = 0 ;
15350 PyObject * obj2 = 0 ;
15351 PyObject * obj3 = 0 ;
15352 PyObject * obj5 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15359 if (obj2) {
15360 {
15361 arg3 = &temp3;
15362 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15363 }
15364 }
15365 if (obj3) {
15366 {
15367 arg4 = &temp4;
15368 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15369 }
15370 }
15371 if (obj5) {
15372 {
15373 arg6 = wxString_in_helper(obj5);
15374 if (arg6 == NULL) SWIG_fail;
15375 temp6 = True;
15376 }
15377 }
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 {
15386 resultobj = wxPyMake_wxObject(result);
15387 }
15388 {
15389 if (temp6)
15390 delete arg6;
15391 }
15392 return resultobj;
15393 fail:
15394 {
15395 if (temp6)
15396 delete arg6;
15397 }
15398 return NULL;
15399 }
15400
15401
15402 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15403 PyObject *resultobj;
15404 wxToolBar *result;
15405 char *kwnames[] = {
15406 NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 result = (wxToolBar *)new wxToolBar();
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 {
15418 resultobj = wxPyMake_wxObject(result);
15419 }
15420 return resultobj;
15421 fail:
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxToolBar *arg1 = (wxToolBar *) 0 ;
15429 wxWindow *arg2 = (wxWindow *) 0 ;
15430 int arg3 ;
15431 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15432 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15433 wxSize const &arg5_defvalue = wxDefaultSize ;
15434 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15435 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15436 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15437 wxString *arg7 = (wxString *) &arg7_defvalue ;
15438 bool result;
15439 wxPoint temp4 ;
15440 wxSize temp5 ;
15441 bool temp7 = False ;
15442 PyObject * obj0 = 0 ;
15443 PyObject * obj1 = 0 ;
15444 PyObject * obj3 = 0 ;
15445 PyObject * obj4 = 0 ;
15446 PyObject * obj6 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15454 if (obj3) {
15455 {
15456 arg4 = &temp4;
15457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15458 }
15459 }
15460 if (obj4) {
15461 {
15462 arg5 = &temp5;
15463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15464 }
15465 }
15466 if (obj6) {
15467 {
15468 arg7 = wxString_in_helper(obj6);
15469 if (arg7 == NULL) SWIG_fail;
15470 temp7 = True;
15471 }
15472 }
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 resultobj = PyInt_FromLong((long)result);
15481 {
15482 if (temp7)
15483 delete arg7;
15484 }
15485 return resultobj;
15486 fail:
15487 {
15488 if (temp7)
15489 delete arg7;
15490 }
15491 return NULL;
15492 }
15493
15494
15495 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15496 PyObject *resultobj;
15497 wxToolBar *arg1 = (wxToolBar *) 0 ;
15498 int arg2 ;
15499 int arg3 ;
15500 wxToolBarToolBase *result;
15501 PyObject * obj0 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self",(char *) "x",(char *) "y", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 {
15516 resultobj = wxPyMake_wxObject(result);
15517 }
15518 return resultobj;
15519 fail:
15520 return NULL;
15521 }
15522
15523
15524 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15525 PyObject *obj;
15526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15527 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15528 Py_INCREF(obj);
15529 return Py_BuildValue((char *)"");
15530 }
15531 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15532 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15533 return 1;
15534 }
15535
15536
15537 static PyObject *_wrap_ListCtrlNameStr_get() {
15538 PyObject *pyobj;
15539
15540 {
15541 #if wxUSE_UNICODE
15542 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15543 #else
15544 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15545 #endif
15546 }
15547 return pyobj;
15548 }
15549
15550
15551 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxColour const &arg1_defvalue = wxNullColour ;
15554 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15555 wxColour const &arg2_defvalue = wxNullColour ;
15556 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15557 wxFont const &arg3_defvalue = wxNullFont ;
15558 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15559 wxListItemAttr *result;
15560 wxColour temp1 ;
15561 wxColour temp2 ;
15562 PyObject * obj0 = 0 ;
15563 PyObject * obj1 = 0 ;
15564 PyObject * obj2 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15570 if (obj0) {
15571 {
15572 arg1 = &temp1;
15573 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15574 }
15575 }
15576 if (obj1) {
15577 {
15578 arg2 = &temp2;
15579 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15580 }
15581 }
15582 if (obj2) {
15583 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15584 if (arg3 == NULL) {
15585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15586 }
15587 }
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15605 wxColour *arg2 = 0 ;
15606 wxColour temp2 ;
15607 PyObject * obj0 = 0 ;
15608 PyObject * obj1 = 0 ;
15609 char *kwnames[] = {
15610 (char *) "self",(char *) "colText", NULL
15611 };
15612
15613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15615 {
15616 arg2 = &temp2;
15617 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15618 }
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 (arg1)->SetTextColour((wxColour const &)*arg2);
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 Py_INCREF(Py_None); resultobj = Py_None;
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15636 wxColour *arg2 = 0 ;
15637 wxColour temp2 ;
15638 PyObject * obj0 = 0 ;
15639 PyObject * obj1 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self",(char *) "colBack", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15646 {
15647 arg2 = &temp2;
15648 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15649 }
15650 {
15651 PyThreadState* __tstate = wxPyBeginAllowThreads();
15652 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15653
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 Py_INCREF(Py_None); resultobj = Py_None;
15658 return resultobj;
15659 fail:
15660 return NULL;
15661 }
15662
15663
15664 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj;
15666 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15667 wxFont *arg2 = 0 ;
15668 PyObject * obj0 = 0 ;
15669 PyObject * obj1 = 0 ;
15670 char *kwnames[] = {
15671 (char *) "self",(char *) "font", NULL
15672 };
15673
15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15677 if (arg2 == NULL) {
15678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15679 }
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 (arg1)->SetFont((wxFont const &)*arg2);
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 Py_INCREF(Py_None); resultobj = Py_None;
15688 return resultobj;
15689 fail:
15690 return NULL;
15691 }
15692
15693
15694 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15697 bool result;
15698 PyObject * obj0 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self", NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 result = (bool)(arg1)->HasTextColour();
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 resultobj = PyInt_FromLong((long)result);
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15722 bool result;
15723 PyObject * obj0 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15730 {
15731 PyThreadState* __tstate = wxPyBeginAllowThreads();
15732 result = (bool)(arg1)->HasBackgroundColour();
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 resultobj = PyInt_FromLong((long)result);
15738 return resultobj;
15739 fail:
15740 return NULL;
15741 }
15742
15743
15744 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15745 PyObject *resultobj;
15746 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15747 bool result;
15748 PyObject * obj0 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 result = (bool)(arg1)->HasFont();
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 resultobj = PyInt_FromLong((long)result);
15763 return resultobj;
15764 fail:
15765 return NULL;
15766 }
15767
15768
15769 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15772 wxColour result;
15773 PyObject * obj0 = 0 ;
15774 char *kwnames[] = {
15775 (char *) "self", NULL
15776 };
15777
15778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (arg1)->GetTextColour();
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 {
15788 wxColour * resultptr;
15789 resultptr = new wxColour((wxColour &) result);
15790 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15791 }
15792 return resultobj;
15793 fail:
15794 return NULL;
15795 }
15796
15797
15798 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15801 wxColour result;
15802 PyObject * obj0 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (arg1)->GetBackgroundColour();
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 {
15817 wxColour * resultptr;
15818 resultptr = new wxColour((wxColour &) result);
15819 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15820 }
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj;
15829 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15830 wxFont result;
15831 PyObject * obj0 = 0 ;
15832 char *kwnames[] = {
15833 (char *) "self", NULL
15834 };
15835
15836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 result = (arg1)->GetFont();
15841
15842 wxPyEndAllowThreads(__tstate);
15843 if (PyErr_Occurred()) SWIG_fail;
15844 }
15845 {
15846 wxFont * resultptr;
15847 resultptr = new wxFont((wxFont &) result);
15848 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15849 }
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15857 PyObject *resultobj;
15858 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15859 PyObject * obj0 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "self", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 wxListItemAttr_Destroy(arg1);
15869
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 Py_INCREF(Py_None); resultobj = Py_None;
15874 return resultobj;
15875 fail:
15876 return NULL;
15877 }
15878
15879
15880 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15881 PyObject *obj;
15882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15883 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15884 Py_INCREF(obj);
15885 return Py_BuildValue((char *)"");
15886 }
15887 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15888 PyObject *resultobj;
15889 wxListItem *result;
15890 char *kwnames[] = {
15891 NULL
15892 };
15893
15894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (wxListItem *)new wxListItem();
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 {
15903 resultobj = wxPyMake_wxObject(result);
15904 }
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj;
15913 wxListItem *arg1 = (wxListItem *) 0 ;
15914 PyObject * obj0 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 delete arg1;
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 Py_INCREF(Py_None); resultobj = Py_None;
15929 return resultobj;
15930 fail:
15931 return NULL;
15932 }
15933
15934
15935 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxListItem *arg1 = (wxListItem *) 0 ;
15938 PyObject * obj0 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15945 {
15946 PyThreadState* __tstate = wxPyBeginAllowThreads();
15947 (arg1)->Clear();
15948
15949 wxPyEndAllowThreads(__tstate);
15950 if (PyErr_Occurred()) SWIG_fail;
15951 }
15952 Py_INCREF(Py_None); resultobj = Py_None;
15953 return resultobj;
15954 fail:
15955 return NULL;
15956 }
15957
15958
15959 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj;
15961 wxListItem *arg1 = (wxListItem *) 0 ;
15962 PyObject * obj0 = 0 ;
15963 char *kwnames[] = {
15964 (char *) "self", NULL
15965 };
15966
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 (arg1)->ClearAttributes();
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxListItem *arg1 = (wxListItem *) 0 ;
15986 long arg2 ;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self",(char *) "mask", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 (arg1)->SetMask(arg2);
15997
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 Py_INCREF(Py_None); resultobj = Py_None;
16002 return resultobj;
16003 fail:
16004 return NULL;
16005 }
16006
16007
16008 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16009 PyObject *resultobj;
16010 wxListItem *arg1 = (wxListItem *) 0 ;
16011 long arg2 ;
16012 PyObject * obj0 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self",(char *) "id", NULL
16015 };
16016
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
16018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 (arg1)->SetId(arg2);
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 Py_INCREF(Py_None); resultobj = Py_None;
16027 return resultobj;
16028 fail:
16029 return NULL;
16030 }
16031
16032
16033 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16034 PyObject *resultobj;
16035 wxListItem *arg1 = (wxListItem *) 0 ;
16036 int arg2 ;
16037 PyObject * obj0 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self",(char *) "col", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
16043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 (arg1)->SetColumn(arg2);
16047
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 Py_INCREF(Py_None); resultobj = Py_None;
16052 return resultobj;
16053 fail:
16054 return NULL;
16055 }
16056
16057
16058 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxListItem *arg1 = (wxListItem *) 0 ;
16061 long arg2 ;
16062 PyObject * obj0 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "self",(char *) "state", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16069 {
16070 PyThreadState* __tstate = wxPyBeginAllowThreads();
16071 (arg1)->SetState(arg2);
16072
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 Py_INCREF(Py_None); resultobj = Py_None;
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16084 PyObject *resultobj;
16085 wxListItem *arg1 = (wxListItem *) 0 ;
16086 long arg2 ;
16087 PyObject * obj0 = 0 ;
16088 char *kwnames[] = {
16089 (char *) "self",(char *) "stateMask", NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 (arg1)->SetStateMask(arg2);
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 Py_INCREF(Py_None); resultobj = Py_None;
16102 return resultobj;
16103 fail:
16104 return NULL;
16105 }
16106
16107
16108 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj;
16110 wxListItem *arg1 = (wxListItem *) 0 ;
16111 wxString *arg2 = 0 ;
16112 bool temp2 = False ;
16113 PyObject * obj0 = 0 ;
16114 PyObject * obj1 = 0 ;
16115 char *kwnames[] = {
16116 (char *) "self",(char *) "text", NULL
16117 };
16118
16119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16121 {
16122 arg2 = wxString_in_helper(obj1);
16123 if (arg2 == NULL) SWIG_fail;
16124 temp2 = True;
16125 }
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 (arg1)->SetText((wxString const &)*arg2);
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 Py_INCREF(Py_None); resultobj = Py_None;
16134 {
16135 if (temp2)
16136 delete arg2;
16137 }
16138 return resultobj;
16139 fail:
16140 {
16141 if (temp2)
16142 delete arg2;
16143 }
16144 return NULL;
16145 }
16146
16147
16148 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxListItem *arg1 = (wxListItem *) 0 ;
16151 int arg2 ;
16152 PyObject * obj0 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self",(char *) "image", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 (arg1)->SetImage(arg2);
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 Py_INCREF(Py_None); resultobj = Py_None;
16167 return resultobj;
16168 fail:
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxListItem *arg1 = (wxListItem *) 0 ;
16176 long arg2 ;
16177 PyObject * obj0 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "data", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 (arg1)->SetData(arg2);
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 Py_INCREF(Py_None); resultobj = Py_None;
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxListItem *arg1 = (wxListItem *) 0 ;
16201 int arg2 ;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self",(char *) "width", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 (arg1)->SetWidth(arg2);
16212
16213 wxPyEndAllowThreads(__tstate);
16214 if (PyErr_Occurred()) SWIG_fail;
16215 }
16216 Py_INCREF(Py_None); resultobj = Py_None;
16217 return resultobj;
16218 fail:
16219 return NULL;
16220 }
16221
16222
16223 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16224 PyObject *resultobj;
16225 wxListItem *arg1 = (wxListItem *) 0 ;
16226 int arg2 ;
16227 PyObject * obj0 = 0 ;
16228 char *kwnames[] = {
16229 (char *) "self",(char *) "align", NULL
16230 };
16231
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 (arg1)->SetAlign((wxListColumnFormat )arg2);
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 Py_INCREF(Py_None); resultobj = Py_None;
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxListItem *arg1 = (wxListItem *) 0 ;
16251 wxColour *arg2 = 0 ;
16252 wxColour temp2 ;
16253 PyObject * obj0 = 0 ;
16254 PyObject * obj1 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self",(char *) "colText", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16261 {
16262 arg2 = &temp2;
16263 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16264 }
16265 {
16266 PyThreadState* __tstate = wxPyBeginAllowThreads();
16267 (arg1)->SetTextColour((wxColour const &)*arg2);
16268
16269 wxPyEndAllowThreads(__tstate);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
16272 Py_INCREF(Py_None); resultobj = Py_None;
16273 return resultobj;
16274 fail:
16275 return NULL;
16276 }
16277
16278
16279 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxListItem *arg1 = (wxListItem *) 0 ;
16282 wxColour *arg2 = 0 ;
16283 wxColour temp2 ;
16284 PyObject * obj0 = 0 ;
16285 PyObject * obj1 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self",(char *) "colBack", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16292 {
16293 arg2 = &temp2;
16294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16295 }
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 Py_INCREF(Py_None); resultobj = Py_None;
16304 return resultobj;
16305 fail:
16306 return NULL;
16307 }
16308
16309
16310 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxListItem *arg1 = (wxListItem *) 0 ;
16313 wxFont *arg2 = 0 ;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "font", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16323 if (arg2 == NULL) {
16324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16325 }
16326 {
16327 PyThreadState* __tstate = wxPyBeginAllowThreads();
16328 (arg1)->SetFont((wxFont const &)*arg2);
16329
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 Py_INCREF(Py_None); resultobj = Py_None;
16334 return resultobj;
16335 fail:
16336 return NULL;
16337 }
16338
16339
16340 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16341 PyObject *resultobj;
16342 wxListItem *arg1 = (wxListItem *) 0 ;
16343 long result;
16344 PyObject * obj0 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (long)(arg1)->GetMask();
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 resultobj = PyInt_FromLong((long)result);
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxListItem *arg1 = (wxListItem *) 0 ;
16368 long result;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 result = (long)(arg1)->GetId();
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 resultobj = PyInt_FromLong((long)result);
16384 return resultobj;
16385 fail:
16386 return NULL;
16387 }
16388
16389
16390 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxListItem *arg1 = (wxListItem *) 0 ;
16393 int result;
16394 PyObject * obj0 = 0 ;
16395 char *kwnames[] = {
16396 (char *) "self", NULL
16397 };
16398
16399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (int)(arg1)->GetColumn();
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 resultobj = PyInt_FromLong((long)result);
16409 return resultobj;
16410 fail:
16411 return NULL;
16412 }
16413
16414
16415 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj;
16417 wxListItem *arg1 = (wxListItem *) 0 ;
16418 long result;
16419 PyObject * obj0 = 0 ;
16420 char *kwnames[] = {
16421 (char *) "self", NULL
16422 };
16423
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 result = (long)(arg1)->GetState();
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 resultobj = PyInt_FromLong((long)result);
16434 return resultobj;
16435 fail:
16436 return NULL;
16437 }
16438
16439
16440 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxListItem *arg1 = (wxListItem *) 0 ;
16443 wxString *result;
16444 PyObject * obj0 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 {
16454 wxString const &_result_ref = (arg1)->GetText();
16455 result = (wxString *) &_result_ref;
16456 }
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 #if wxUSE_UNICODE
16463 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16464 #else
16465 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16466 #endif
16467 }
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxListItem *arg1 = (wxListItem *) 0 ;
16477 int result;
16478 PyObject * obj0 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 result = (int)(arg1)->GetImage();
16488
16489 wxPyEndAllowThreads(__tstate);
16490 if (PyErr_Occurred()) SWIG_fail;
16491 }
16492 resultobj = PyInt_FromLong((long)result);
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxListItem *arg1 = (wxListItem *) 0 ;
16502 long result;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 result = (long)(arg1)->GetData();
16513
16514 wxPyEndAllowThreads(__tstate);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 resultobj = PyInt_FromLong((long)result);
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxListItem *arg1 = (wxListItem *) 0 ;
16527 int result;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16535 {
16536 PyThreadState* __tstate = wxPyBeginAllowThreads();
16537 result = (int)(arg1)->GetWidth();
16538
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
16542 resultobj = PyInt_FromLong((long)result);
16543 return resultobj;
16544 fail:
16545 return NULL;
16546 }
16547
16548
16549 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj;
16551 wxListItem *arg1 = (wxListItem *) 0 ;
16552 int result;
16553 PyObject * obj0 = 0 ;
16554 char *kwnames[] = {
16555 (char *) "self", NULL
16556 };
16557
16558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = (int)(arg1)->GetAlign();
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 resultobj = PyInt_FromLong((long)result);
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj;
16576 wxListItem *arg1 = (wxListItem *) 0 ;
16577 wxListItemAttr *result;
16578 PyObject * obj0 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = (wxListItemAttr *)(arg1)->GetAttributes();
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16593 return resultobj;
16594 fail:
16595 return NULL;
16596 }
16597
16598
16599 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj;
16601 wxListItem *arg1 = (wxListItem *) 0 ;
16602 bool result;
16603 PyObject * obj0 = 0 ;
16604 char *kwnames[] = {
16605 (char *) "self", NULL
16606 };
16607
16608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 result = (bool)(arg1)->HasAttributes();
16613
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 resultobj = PyInt_FromLong((long)result);
16618 return resultobj;
16619 fail:
16620 return NULL;
16621 }
16622
16623
16624 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16625 PyObject *resultobj;
16626 wxListItem *arg1 = (wxListItem *) 0 ;
16627 wxColour result;
16628 PyObject * obj0 = 0 ;
16629 char *kwnames[] = {
16630 (char *) "self", NULL
16631 };
16632
16633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 result = ((wxListItem const *)arg1)->GetTextColour();
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 {
16643 wxColour * resultptr;
16644 resultptr = new wxColour((wxColour &) result);
16645 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16646 }
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxListItem *arg1 = (wxListItem *) 0 ;
16656 wxColour result;
16657 PyObject * obj0 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 {
16672 wxColour * resultptr;
16673 resultptr = new wxColour((wxColour &) result);
16674 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16675 }
16676 return resultobj;
16677 fail:
16678 return NULL;
16679 }
16680
16681
16682 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxListItem *arg1 = (wxListItem *) 0 ;
16685 wxFont result;
16686 PyObject * obj0 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 result = ((wxListItem const *)arg1)->GetFont();
16696
16697 wxPyEndAllowThreads(__tstate);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 {
16701 wxFont * resultptr;
16702 resultptr = new wxFont((wxFont &) result);
16703 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16704 }
16705 return resultobj;
16706 fail:
16707 return NULL;
16708 }
16709
16710
16711 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16712 PyObject *resultobj;
16713 wxListItem *arg1 = (wxListItem *) 0 ;
16714 long arg2 ;
16715 PyObject * obj0 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self",(char *) "m_mask", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16722 if (arg1) (arg1)->m_mask = arg2;
16723
16724 Py_INCREF(Py_None); resultobj = Py_None;
16725 return resultobj;
16726 fail:
16727 return NULL;
16728 }
16729
16730
16731 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16732 PyObject *resultobj;
16733 wxListItem *arg1 = (wxListItem *) 0 ;
16734 long result;
16735 PyObject * obj0 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "self", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16742 result = (long) ((arg1)->m_mask);
16743
16744 resultobj = PyInt_FromLong((long)result);
16745 return resultobj;
16746 fail:
16747 return NULL;
16748 }
16749
16750
16751 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16752 PyObject *resultobj;
16753 wxListItem *arg1 = (wxListItem *) 0 ;
16754 long arg2 ;
16755 PyObject * obj0 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "self",(char *) "m_itemId", NULL
16758 };
16759
16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16762 if (arg1) (arg1)->m_itemId = arg2;
16763
16764 Py_INCREF(Py_None); resultobj = Py_None;
16765 return resultobj;
16766 fail:
16767 return NULL;
16768 }
16769
16770
16771 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16772 PyObject *resultobj;
16773 wxListItem *arg1 = (wxListItem *) 0 ;
16774 long result;
16775 PyObject * obj0 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "self", NULL
16778 };
16779
16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16782 result = (long) ((arg1)->m_itemId);
16783
16784 resultobj = PyInt_FromLong((long)result);
16785 return resultobj;
16786 fail:
16787 return NULL;
16788 }
16789
16790
16791 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16792 PyObject *resultobj;
16793 wxListItem *arg1 = (wxListItem *) 0 ;
16794 int arg2 ;
16795 PyObject * obj0 = 0 ;
16796 char *kwnames[] = {
16797 (char *) "self",(char *) "m_col", NULL
16798 };
16799
16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16802 if (arg1) (arg1)->m_col = arg2;
16803
16804 Py_INCREF(Py_None); resultobj = Py_None;
16805 return resultobj;
16806 fail:
16807 return NULL;
16808 }
16809
16810
16811 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16812 PyObject *resultobj;
16813 wxListItem *arg1 = (wxListItem *) 0 ;
16814 int result;
16815 PyObject * obj0 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16822 result = (int) ((arg1)->m_col);
16823
16824 resultobj = PyInt_FromLong((long)result);
16825 return resultobj;
16826 fail:
16827 return NULL;
16828 }
16829
16830
16831 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxListItem *arg1 = (wxListItem *) 0 ;
16834 long arg2 ;
16835 PyObject * obj0 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self",(char *) "m_state", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16842 if (arg1) (arg1)->m_state = arg2;
16843
16844 Py_INCREF(Py_None); resultobj = Py_None;
16845 return resultobj;
16846 fail:
16847 return NULL;
16848 }
16849
16850
16851 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj;
16853 wxListItem *arg1 = (wxListItem *) 0 ;
16854 long result;
16855 PyObject * obj0 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "self", NULL
16858 };
16859
16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16862 result = (long) ((arg1)->m_state);
16863
16864 resultobj = PyInt_FromLong((long)result);
16865 return resultobj;
16866 fail:
16867 return NULL;
16868 }
16869
16870
16871 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxListItem *arg1 = (wxListItem *) 0 ;
16874 long arg2 ;
16875 PyObject * obj0 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self",(char *) "m_stateMask", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16882 if (arg1) (arg1)->m_stateMask = arg2;
16883
16884 Py_INCREF(Py_None); resultobj = Py_None;
16885 return resultobj;
16886 fail:
16887 return NULL;
16888 }
16889
16890
16891 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 wxListItem *arg1 = (wxListItem *) 0 ;
16894 long result;
16895 PyObject * obj0 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16902 result = (long) ((arg1)->m_stateMask);
16903
16904 resultobj = PyInt_FromLong((long)result);
16905 return resultobj;
16906 fail:
16907 return NULL;
16908 }
16909
16910
16911 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj;
16913 wxListItem *arg1 = (wxListItem *) 0 ;
16914 wxString *arg2 = (wxString *) 0 ;
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self",(char *) "m_text", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 if (arg1) (arg1)->m_text = *arg2;
16925
16926 Py_INCREF(Py_None); resultobj = Py_None;
16927 return resultobj;
16928 fail:
16929 return NULL;
16930 }
16931
16932
16933 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16934 PyObject *resultobj;
16935 wxListItem *arg1 = (wxListItem *) 0 ;
16936 wxString *result;
16937 PyObject * obj0 = 0 ;
16938 char *kwnames[] = {
16939 (char *) "self", NULL
16940 };
16941
16942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16944 result = (wxString *)& ((arg1)->m_text);
16945
16946 {
16947 #if wxUSE_UNICODE
16948 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16949 #else
16950 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16951 #endif
16952 }
16953 return resultobj;
16954 fail:
16955 return NULL;
16956 }
16957
16958
16959 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16960 PyObject *resultobj;
16961 wxListItem *arg1 = (wxListItem *) 0 ;
16962 int arg2 ;
16963 PyObject * obj0 = 0 ;
16964 char *kwnames[] = {
16965 (char *) "self",(char *) "m_image", NULL
16966 };
16967
16968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16970 if (arg1) (arg1)->m_image = arg2;
16971
16972 Py_INCREF(Py_None); resultobj = Py_None;
16973 return resultobj;
16974 fail:
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxListItem *arg1 = (wxListItem *) 0 ;
16982 int result;
16983 PyObject * obj0 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16990 result = (int) ((arg1)->m_image);
16991
16992 resultobj = PyInt_FromLong((long)result);
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxListItem *arg1 = (wxListItem *) 0 ;
17002 long arg2 ;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self",(char *) "m_data", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17010 if (arg1) (arg1)->m_data = arg2;
17011
17012 Py_INCREF(Py_None); resultobj = Py_None;
17013 return resultobj;
17014 fail:
17015 return NULL;
17016 }
17017
17018
17019 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17020 PyObject *resultobj;
17021 wxListItem *arg1 = (wxListItem *) 0 ;
17022 long result;
17023 PyObject * obj0 = 0 ;
17024 char *kwnames[] = {
17025 (char *) "self", NULL
17026 };
17027
17028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
17029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17030 result = (long) ((arg1)->m_data);
17031
17032 resultobj = PyInt_FromLong((long)result);
17033 return resultobj;
17034 fail:
17035 return NULL;
17036 }
17037
17038
17039 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17040 PyObject *resultobj;
17041 wxListItem *arg1 = (wxListItem *) 0 ;
17042 int arg2 ;
17043 PyObject * obj0 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self",(char *) "m_format", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17050 if (arg1) (arg1)->m_format = arg2;
17051
17052 Py_INCREF(Py_None); resultobj = Py_None;
17053 return resultobj;
17054 fail:
17055 return NULL;
17056 }
17057
17058
17059 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17060 PyObject *resultobj;
17061 wxListItem *arg1 = (wxListItem *) 0 ;
17062 int result;
17063 PyObject * obj0 = 0 ;
17064 char *kwnames[] = {
17065 (char *) "self", NULL
17066 };
17067
17068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17070 result = (int) ((arg1)->m_format);
17071
17072 resultobj = PyInt_FromLong((long)result);
17073 return resultobj;
17074 fail:
17075 return NULL;
17076 }
17077
17078
17079 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17080 PyObject *resultobj;
17081 wxListItem *arg1 = (wxListItem *) 0 ;
17082 int arg2 ;
17083 PyObject * obj0 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "self",(char *) "m_width", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17090 if (arg1) (arg1)->m_width = arg2;
17091
17092 Py_INCREF(Py_None); resultobj = Py_None;
17093 return resultobj;
17094 fail:
17095 return NULL;
17096 }
17097
17098
17099 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxListItem *arg1 = (wxListItem *) 0 ;
17102 int result;
17103 PyObject * obj0 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17110 result = (int) ((arg1)->m_width);
17111
17112 resultobj = PyInt_FromLong((long)result);
17113 return resultobj;
17114 fail:
17115 return NULL;
17116 }
17117
17118
17119 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17120 PyObject *obj;
17121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17122 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17123 Py_INCREF(obj);
17124 return Py_BuildValue((char *)"");
17125 }
17126 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17129 int arg2 = (int) 0 ;
17130 wxListEvent *result;
17131 char *kwnames[] = {
17132 (char *) "commandType",(char *) "id", NULL
17133 };
17134
17135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17136 {
17137 PyThreadState* __tstate = wxPyBeginAllowThreads();
17138 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17139
17140 wxPyEndAllowThreads(__tstate);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 }
17143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17144 return resultobj;
17145 fail:
17146 return NULL;
17147 }
17148
17149
17150 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj;
17152 wxListEvent *arg1 = (wxListEvent *) 0 ;
17153 int arg2 ;
17154 PyObject * obj0 = 0 ;
17155 char *kwnames[] = {
17156 (char *) "self",(char *) "m_code", NULL
17157 };
17158
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17161 if (arg1) (arg1)->m_code = arg2;
17162
17163 Py_INCREF(Py_None); resultobj = Py_None;
17164 return resultobj;
17165 fail:
17166 return NULL;
17167 }
17168
17169
17170 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxListEvent *arg1 = (wxListEvent *) 0 ;
17173 int result;
17174 PyObject * obj0 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17181 result = (int) ((arg1)->m_code);
17182
17183 resultobj = PyInt_FromLong((long)result);
17184 return resultobj;
17185 fail:
17186 return NULL;
17187 }
17188
17189
17190 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17191 PyObject *resultobj;
17192 wxListEvent *arg1 = (wxListEvent *) 0 ;
17193 long arg2 ;
17194 PyObject * obj0 = 0 ;
17195 char *kwnames[] = {
17196 (char *) "self",(char *) "m_oldItemIndex", NULL
17197 };
17198
17199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17201 if (arg1) (arg1)->m_oldItemIndex = arg2;
17202
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxListEvent *arg1 = (wxListEvent *) 0 ;
17213 long result;
17214 PyObject * obj0 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "self", NULL
17217 };
17218
17219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17221 result = (long) ((arg1)->m_oldItemIndex);
17222
17223 resultobj = PyInt_FromLong((long)result);
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxListEvent *arg1 = (wxListEvent *) 0 ;
17233 long arg2 ;
17234 PyObject * obj0 = 0 ;
17235 char *kwnames[] = {
17236 (char *) "self",(char *) "m_itemIndex", NULL
17237 };
17238
17239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17241 if (arg1) (arg1)->m_itemIndex = arg2;
17242
17243 Py_INCREF(Py_None); resultobj = Py_None;
17244 return resultobj;
17245 fail:
17246 return NULL;
17247 }
17248
17249
17250 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj;
17252 wxListEvent *arg1 = (wxListEvent *) 0 ;
17253 long result;
17254 PyObject * obj0 = 0 ;
17255 char *kwnames[] = {
17256 (char *) "self", NULL
17257 };
17258
17259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17261 result = (long) ((arg1)->m_itemIndex);
17262
17263 resultobj = PyInt_FromLong((long)result);
17264 return resultobj;
17265 fail:
17266 return NULL;
17267 }
17268
17269
17270 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17271 PyObject *resultobj;
17272 wxListEvent *arg1 = (wxListEvent *) 0 ;
17273 int arg2 ;
17274 PyObject * obj0 = 0 ;
17275 char *kwnames[] = {
17276 (char *) "self",(char *) "m_col", NULL
17277 };
17278
17279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17281 if (arg1) (arg1)->m_col = arg2;
17282
17283 Py_INCREF(Py_None); resultobj = Py_None;
17284 return resultobj;
17285 fail:
17286 return NULL;
17287 }
17288
17289
17290 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj;
17292 wxListEvent *arg1 = (wxListEvent *) 0 ;
17293 int result;
17294 PyObject * obj0 = 0 ;
17295 char *kwnames[] = {
17296 (char *) "self", NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17301 result = (int) ((arg1)->m_col);
17302
17303 resultobj = PyInt_FromLong((long)result);
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxListEvent *arg1 = (wxListEvent *) 0 ;
17313 wxPoint *arg2 = (wxPoint *) 0 ;
17314 PyObject * obj0 = 0 ;
17315 PyObject * obj1 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self",(char *) "m_pointDrag", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17323 if (arg1) (arg1)->m_pointDrag = *arg2;
17324
17325 Py_INCREF(Py_None); resultobj = Py_None;
17326 return resultobj;
17327 fail:
17328 return NULL;
17329 }
17330
17331
17332 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj;
17334 wxListEvent *arg1 = (wxListEvent *) 0 ;
17335 wxPoint *result;
17336 PyObject * obj0 = 0 ;
17337 char *kwnames[] = {
17338 (char *) "self", NULL
17339 };
17340
17341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17343 result = (wxPoint *)& ((arg1)->m_pointDrag);
17344
17345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17346 return resultobj;
17347 fail:
17348 return NULL;
17349 }
17350
17351
17352 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17353 PyObject *resultobj;
17354 wxListEvent *arg1 = (wxListEvent *) 0 ;
17355 wxListItem *result;
17356 PyObject * obj0 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17363 result = (wxListItem *)& ((arg1)->m_item);
17364
17365 {
17366 resultobj = wxPyMake_wxObject(result);
17367 }
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxListEvent *arg1 = (wxListEvent *) 0 ;
17377 int result;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 result = (int)(arg1)->GetKeyCode();
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 resultobj = PyInt_FromLong((long)result);
17393 return resultobj;
17394 fail:
17395 return NULL;
17396 }
17397
17398
17399 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj;
17401 wxListEvent *arg1 = (wxListEvent *) 0 ;
17402 long result;
17403 PyObject * obj0 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 result = (long)(arg1)->GetIndex();
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 resultobj = PyInt_FromLong((long)result);
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxListEvent *arg1 = (wxListEvent *) 0 ;
17427 int result;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = (int)(arg1)->GetColumn();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 resultobj = PyInt_FromLong((long)result);
17443 return resultobj;
17444 fail:
17445 return NULL;
17446 }
17447
17448
17449 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj;
17451 wxListEvent *arg1 = (wxListEvent *) 0 ;
17452 wxPoint result;
17453 PyObject * obj0 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17460 {
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 result = (arg1)->GetPoint();
17463
17464 wxPyEndAllowThreads(__tstate);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 {
17468 wxPoint * resultptr;
17469 resultptr = new wxPoint((wxPoint &) result);
17470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17471 }
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxListEvent *arg1 = (wxListEvent *) 0 ;
17481 wxString *result;
17482 PyObject * obj0 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 {
17492 wxString const &_result_ref = (arg1)->GetLabel();
17493 result = (wxString *) &_result_ref;
17494 }
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 {
17500 #if wxUSE_UNICODE
17501 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17502 #else
17503 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17504 #endif
17505 }
17506 return resultobj;
17507 fail:
17508 return NULL;
17509 }
17510
17511
17512 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj;
17514 wxListEvent *arg1 = (wxListEvent *) 0 ;
17515 wxString *result;
17516 PyObject * obj0 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 {
17526 wxString const &_result_ref = (arg1)->GetText();
17527 result = (wxString *) &_result_ref;
17528 }
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 {
17534 #if wxUSE_UNICODE
17535 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17536 #else
17537 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17538 #endif
17539 }
17540 return resultobj;
17541 fail:
17542 return NULL;
17543 }
17544
17545
17546 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxListEvent *arg1 = (wxListEvent *) 0 ;
17549 int result;
17550 PyObject * obj0 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 result = (int)(arg1)->GetImage();
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 resultobj = PyInt_FromLong((long)result);
17565 return resultobj;
17566 fail:
17567 return NULL;
17568 }
17569
17570
17571 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxListEvent *arg1 = (wxListEvent *) 0 ;
17574 long result;
17575 PyObject * obj0 = 0 ;
17576 char *kwnames[] = {
17577 (char *) "self", NULL
17578 };
17579
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 result = (long)(arg1)->GetData();
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_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxListEvent *arg1 = (wxListEvent *) 0 ;
17599 long result;
17600 PyObject * obj0 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 result = (long)(arg1)->GetMask();
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 resultobj = PyInt_FromLong((long)result);
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxListEvent *arg1 = (wxListEvent *) 0 ;
17624 wxListItem *result;
17625 PyObject * obj0 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17632 {
17633 PyThreadState* __tstate = wxPyBeginAllowThreads();
17634 {
17635 wxListItem const &_result_ref = (arg1)->GetItem();
17636 result = (wxListItem *) &_result_ref;
17637 }
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17643 return resultobj;
17644 fail:
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxListEvent *arg1 = (wxListEvent *) 0 ;
17652 long result;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 result = (long)(arg1)->GetCacheFrom();
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 resultobj = PyInt_FromLong((long)result);
17668 return resultobj;
17669 fail:
17670 return NULL;
17671 }
17672
17673
17674 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxListEvent *arg1 = (wxListEvent *) 0 ;
17677 long result;
17678 PyObject * obj0 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 result = (long)(arg1)->GetCacheTo();
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 resultobj = PyInt_FromLong((long)result);
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxListEvent *arg1 = (wxListEvent *) 0 ;
17702 bool result;
17703 PyObject * obj0 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 resultobj = PyInt_FromLong((long)result);
17718 return resultobj;
17719 fail:
17720 return NULL;
17721 }
17722
17723
17724 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17725 PyObject *resultobj;
17726 wxListEvent *arg1 = (wxListEvent *) 0 ;
17727 bool arg2 ;
17728 PyObject * obj0 = 0 ;
17729 PyObject * obj1 = 0 ;
17730 char *kwnames[] = {
17731 (char *) "self",(char *) "editCancelled", NULL
17732 };
17733
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17736 arg2 = PyInt_AsLong(obj1) ? true : false;
17737 if (PyErr_Occurred()) SWIG_fail;
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 (arg1)->SetEditCanceled(arg2);
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 Py_INCREF(Py_None); resultobj = Py_None;
17746 return resultobj;
17747 fail:
17748 return NULL;
17749 }
17750
17751
17752 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17753 PyObject *obj;
17754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17755 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17756 Py_INCREF(obj);
17757 return Py_BuildValue((char *)"");
17758 }
17759 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxWindow *arg1 = (wxWindow *) 0 ;
17762 int arg2 = (int) -1 ;
17763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17765 wxSize const &arg4_defvalue = wxDefaultSize ;
17766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17767 long arg5 = (long) wxLC_ICON ;
17768 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17769 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17770 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17771 wxString *arg7 = (wxString *) &arg7_defvalue ;
17772 wxPyListCtrl *result;
17773 wxPoint temp3 ;
17774 wxSize temp4 ;
17775 bool temp7 = False ;
17776 PyObject * obj0 = 0 ;
17777 PyObject * obj2 = 0 ;
17778 PyObject * obj3 = 0 ;
17779 PyObject * obj5 = 0 ;
17780 PyObject * obj6 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17787 if (obj2) {
17788 {
17789 arg3 = &temp3;
17790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17791 }
17792 }
17793 if (obj3) {
17794 {
17795 arg4 = &temp4;
17796 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17797 }
17798 }
17799 if (obj5) {
17800 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17801 if (arg6 == NULL) {
17802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17803 }
17804 }
17805 if (obj6) {
17806 {
17807 arg7 = wxString_in_helper(obj6);
17808 if (arg7 == NULL) SWIG_fail;
17809 temp7 = True;
17810 }
17811 }
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17815
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17820 {
17821 if (temp7)
17822 delete arg7;
17823 }
17824 return resultobj;
17825 fail:
17826 {
17827 if (temp7)
17828 delete arg7;
17829 }
17830 return NULL;
17831 }
17832
17833
17834 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17835 PyObject *resultobj;
17836 wxPyListCtrl *result;
17837 char *kwnames[] = {
17838 NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17842 {
17843 PyThreadState* __tstate = wxPyBeginAllowThreads();
17844 result = (wxPyListCtrl *)new wxPyListCtrl();
17845
17846 wxPyEndAllowThreads(__tstate);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 }
17849 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17850 return resultobj;
17851 fail:
17852 return NULL;
17853 }
17854
17855
17856 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17857 PyObject *resultobj;
17858 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17859 wxWindow *arg2 = (wxWindow *) 0 ;
17860 int arg3 = (int) -1 ;
17861 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17862 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17863 wxSize const &arg5_defvalue = wxDefaultSize ;
17864 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17865 long arg6 = (long) wxLC_ICON ;
17866 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17867 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17868 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17869 wxString *arg8 = (wxString *) &arg8_defvalue ;
17870 bool result;
17871 wxPoint temp4 ;
17872 wxSize temp5 ;
17873 bool temp8 = False ;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 PyObject * obj3 = 0 ;
17877 PyObject * obj4 = 0 ;
17878 PyObject * obj6 = 0 ;
17879 PyObject * obj7 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17887 if (obj3) {
17888 {
17889 arg4 = &temp4;
17890 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17891 }
17892 }
17893 if (obj4) {
17894 {
17895 arg5 = &temp5;
17896 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17897 }
17898 }
17899 if (obj6) {
17900 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17901 if (arg7 == NULL) {
17902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17903 }
17904 }
17905 if (obj7) {
17906 {
17907 arg8 = wxString_in_helper(obj7);
17908 if (arg8 == NULL) SWIG_fail;
17909 temp8 = True;
17910 }
17911 }
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = PyInt_FromLong((long)result);
17920 {
17921 if (temp8)
17922 delete arg8;
17923 }
17924 return resultobj;
17925 fail:
17926 {
17927 if (temp8)
17928 delete arg8;
17929 }
17930 return NULL;
17931 }
17932
17933
17934 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17937 PyObject *arg2 = (PyObject *) 0 ;
17938 PyObject *arg3 = (PyObject *) 0 ;
17939 PyObject * obj0 = 0 ;
17940 PyObject * obj1 = 0 ;
17941 PyObject * obj2 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self",(char *) "self",(char *) "_class", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 arg2 = obj1;
17949 arg3 = obj2;
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 (arg1)->_setCallbackInfo(arg2,arg3);
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 Py_INCREF(Py_None); resultobj = Py_None;
17958 return resultobj;
17959 fail:
17960 return NULL;
17961 }
17962
17963
17964 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17967 wxColour *arg2 = 0 ;
17968 bool result;
17969 wxColour temp2 ;
17970 PyObject * obj0 = 0 ;
17971 PyObject * obj1 = 0 ;
17972 char *kwnames[] = {
17973 (char *) "self",(char *) "col", NULL
17974 };
17975
17976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17978 {
17979 arg2 = &temp2;
17980 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17981 }
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17985
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 resultobj = PyInt_FromLong((long)result);
17990 return resultobj;
17991 fail:
17992 return NULL;
17993 }
17994
17995
17996 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17997 PyObject *resultobj;
17998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17999 wxColour *arg2 = 0 ;
18000 bool result;
18001 wxColour temp2 ;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj1 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "col", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 {
18011 arg2 = &temp2;
18012 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18013 }
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = PyInt_FromLong((long)result);
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj;
18030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18031 int arg2 ;
18032 wxListItem *result;
18033 PyObject * obj0 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self",(char *) "col", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 {
18048 resultobj = wxPyMake_wxObject(result);
18049 }
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18059 int arg2 ;
18060 wxListItem *arg3 = 0 ;
18061 bool result;
18062 PyObject * obj0 = 0 ;
18063 PyObject * obj2 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "col",(char *) "item", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18071 if (arg3 == NULL) {
18072 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18073 }
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 resultobj = PyInt_FromLong((long)result);
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18091 int arg2 ;
18092 int result;
18093 PyObject * obj0 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self",(char *) "col", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 resultobj = PyInt_FromLong((long)result);
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18117 int arg2 ;
18118 int arg3 ;
18119 bool result;
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self",(char *) "col",(char *) "width", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 resultobj = PyInt_FromLong((long)result);
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18144 int result;
18145 PyObject * obj0 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = PyInt_FromLong((long)result);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18169 wxRect result;
18170 PyObject * obj0 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 {
18185 wxRect * resultptr;
18186 resultptr = new wxRect((wxRect &) result);
18187 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18188 }
18189 return resultobj;
18190 fail:
18191 return NULL;
18192 }
18193
18194
18195 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18196 PyObject *resultobj;
18197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18198 wxTextCtrl *result;
18199 PyObject * obj0 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
18205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 {
18214 resultobj = wxPyMake_wxObject(result);
18215 }
18216 return resultobj;
18217 fail:
18218 return NULL;
18219 }
18220
18221
18222 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18223 PyObject *resultobj;
18224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18225 long arg2 ;
18226 int arg3 = (int) 0 ;
18227 wxListItem *result;
18228 PyObject * obj0 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self",(char *) "itemId",(char *) "col", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 {
18243 resultobj = wxPyMake_wxObject(result);
18244 }
18245 return resultobj;
18246 fail:
18247 return NULL;
18248 }
18249
18250
18251 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18254 wxListItem *arg2 = 0 ;
18255 bool result;
18256 PyObject * obj0 = 0 ;
18257 PyObject * obj1 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self",(char *) "info", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18265 if (arg2 == NULL) {
18266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18267 }
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 result = (bool)(arg1)->SetItem(*arg2);
18271
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 resultobj = PyInt_FromLong((long)result);
18276 return resultobj;
18277 fail:
18278 return NULL;
18279 }
18280
18281
18282 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18283 PyObject *resultobj;
18284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18285 long arg2 ;
18286 int arg3 ;
18287 wxString *arg4 = 0 ;
18288 int arg5 = (int) -1 ;
18289 long result;
18290 bool temp4 = False ;
18291 PyObject * obj0 = 0 ;
18292 PyObject * obj3 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18299 {
18300 arg4 = wxString_in_helper(obj3);
18301 if (arg4 == NULL) SWIG_fail;
18302 temp4 = True;
18303 }
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 resultobj = PyInt_FromLong((long)result);
18312 {
18313 if (temp4)
18314 delete arg4;
18315 }
18316 return resultobj;
18317 fail:
18318 {
18319 if (temp4)
18320 delete arg4;
18321 }
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18329 long arg2 ;
18330 long arg3 ;
18331 int result;
18332 PyObject * obj0 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 resultobj = PyInt_FromLong((long)result);
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18356 long arg2 ;
18357 long arg3 ;
18358 long arg4 ;
18359 bool result;
18360 PyObject * obj0 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18363 };
18364
18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18370
18371 wxPyEndAllowThreads(__tstate);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 resultobj = PyInt_FromLong((long)result);
18375 return resultobj;
18376 fail:
18377 return NULL;
18378 }
18379
18380
18381 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18382 PyObject *resultobj;
18383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18384 long arg2 ;
18385 int arg3 ;
18386 int arg4 ;
18387 bool result;
18388 PyObject * obj0 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 resultobj = PyInt_FromLong((long)result);
18403 return resultobj;
18404 fail:
18405 return NULL;
18406 }
18407
18408
18409 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18412 long arg2 ;
18413 wxString result;
18414 PyObject * obj0 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "item", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18424
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
18428 {
18429 #if wxUSE_UNICODE
18430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18431 #else
18432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18433 #endif
18434 }
18435 return resultobj;
18436 fail:
18437 return NULL;
18438 }
18439
18440
18441 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18444 long arg2 ;
18445 wxString *arg3 = 0 ;
18446 bool temp3 = False ;
18447 PyObject * obj0 = 0 ;
18448 PyObject * obj2 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self",(char *) "item",(char *) "str", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18455 {
18456 arg3 = wxString_in_helper(obj2);
18457 if (arg3 == NULL) SWIG_fail;
18458 temp3 = True;
18459 }
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 Py_INCREF(Py_None); resultobj = Py_None;
18468 {
18469 if (temp3)
18470 delete arg3;
18471 }
18472 return resultobj;
18473 fail:
18474 {
18475 if (temp3)
18476 delete arg3;
18477 }
18478 return NULL;
18479 }
18480
18481
18482 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18485 long arg2 ;
18486 long result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self",(char *) "item", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 resultobj = PyInt_FromLong((long)result);
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18511 long arg2 ;
18512 long arg3 ;
18513 bool result;
18514 PyObject * obj0 = 0 ;
18515 char *kwnames[] = {
18516 (char *) "self",(char *) "item",(char *) "data", NULL
18517 };
18518
18519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18521 {
18522 PyThreadState* __tstate = wxPyBeginAllowThreads();
18523 result = (bool)(arg1)->SetItemData(arg2,arg3);
18524
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
18528 resultobj = PyInt_FromLong((long)result);
18529 return resultobj;
18530 fail:
18531 return NULL;
18532 }
18533
18534
18535 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18536 PyObject *resultobj;
18537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18538 long arg2 ;
18539 wxPoint result;
18540 PyObject * obj0 = 0 ;
18541 char *kwnames[] = {
18542 (char *) "self",(char *) "item", NULL
18543 };
18544
18545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 {
18555 wxPoint * resultptr;
18556 resultptr = new wxPoint((wxPoint &) result);
18557 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18558 }
18559 return resultobj;
18560 fail:
18561 return NULL;
18562 }
18563
18564
18565 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj;
18567 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18568 long arg2 ;
18569 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18570 wxRect result;
18571 PyObject * obj0 = 0 ;
18572 char *kwnames[] = {
18573 (char *) "self",(char *) "item",(char *) "code", NULL
18574 };
18575
18576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 {
18586 wxRect * resultptr;
18587 resultptr = new wxRect((wxRect &) result);
18588 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18589 }
18590 return resultobj;
18591 fail:
18592 return NULL;
18593 }
18594
18595
18596 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18597 PyObject *resultobj;
18598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18599 long arg2 ;
18600 wxPoint *arg3 = 0 ;
18601 bool result;
18602 wxPoint temp3 ;
18603 PyObject * obj0 = 0 ;
18604 PyObject * obj2 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self",(char *) "item",(char *) "pos", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18611 {
18612 arg3 = &temp3;
18613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18614 }
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18618
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 resultobj = PyInt_FromLong((long)result);
18623 return resultobj;
18624 fail:
18625 return NULL;
18626 }
18627
18628
18629 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18632 int result;
18633 PyObject * obj0 = 0 ;
18634 char *kwnames[] = {
18635 (char *) "self", NULL
18636 };
18637
18638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 resultobj = PyInt_FromLong((long)result);
18648 return resultobj;
18649 fail:
18650 return NULL;
18651 }
18652
18653
18654 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18655 PyObject *resultobj;
18656 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18657 int result;
18658 PyObject * obj0 = 0 ;
18659 char *kwnames[] = {
18660 (char *) "self", NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 resultobj = PyInt_FromLong((long)result);
18673 return resultobj;
18674 fail:
18675 return NULL;
18676 }
18677
18678
18679 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18680 PyObject *resultobj;
18681 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18682 wxSize result;
18683 PyObject * obj0 = 0 ;
18684 char *kwnames[] = {
18685 (char *) "self", NULL
18686 };
18687
18688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18690 {
18691 PyThreadState* __tstate = wxPyBeginAllowThreads();
18692 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18693
18694 wxPyEndAllowThreads(__tstate);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 }
18697 {
18698 wxSize * resultptr;
18699 resultptr = new wxSize((wxSize &) result);
18700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18701 }
18702 return resultobj;
18703 fail:
18704 return NULL;
18705 }
18706
18707
18708 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18711 int result;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) 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 = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
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_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18736 wxColour result;
18737 PyObject * obj0 = 0 ;
18738 char *kwnames[] = {
18739 (char *) "self", NULL
18740 };
18741
18742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",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 = ((wxPyListCtrl const *)arg1)->GetTextColour();
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 {
18752 wxColour * resultptr;
18753 resultptr = new wxColour((wxColour &) result);
18754 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18755 }
18756 return resultobj;
18757 fail:
18758 return NULL;
18759 }
18760
18761
18762 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18765 wxColour *arg2 = 0 ;
18766 wxColour temp2 ;
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "self",(char *) "col", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18775 {
18776 arg2 = &temp2;
18777 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18778 }
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 (arg1)->SetTextColour((wxColour const &)*arg2);
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 Py_INCREF(Py_None); resultobj = Py_None;
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj;
18795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18796 long result;
18797 PyObject * obj0 = 0 ;
18798 char *kwnames[] = {
18799 (char *) "self", NULL
18800 };
18801
18802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18807
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 resultobj = PyInt_FromLong((long)result);
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18821 long arg2 ;
18822 bool arg3 = (bool) True ;
18823 PyObject * obj0 = 0 ;
18824 PyObject * obj2 = 0 ;
18825 char *kwnames[] = {
18826 (char *) "self",(char *) "style",(char *) "add", NULL
18827 };
18828
18829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18831 if (obj2) {
18832 arg3 = PyInt_AsLong(obj2) ? true : false;
18833 if (PyErr_Occurred()) SWIG_fail;
18834 }
18835 {
18836 PyThreadState* __tstate = wxPyBeginAllowThreads();
18837 (arg1)->SetSingleStyle(arg2,arg3);
18838
18839 wxPyEndAllowThreads(__tstate);
18840 if (PyErr_Occurred()) SWIG_fail;
18841 }
18842 Py_INCREF(Py_None); resultobj = Py_None;
18843 return resultobj;
18844 fail:
18845 return NULL;
18846 }
18847
18848
18849 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18850 PyObject *resultobj;
18851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18852 long arg2 ;
18853 PyObject * obj0 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self",(char *) "style", NULL
18856 };
18857
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 (arg1)->SetWindowStyleFlag(arg2);
18863
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 Py_INCREF(Py_None); resultobj = Py_None;
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18877 long arg2 ;
18878 int arg3 = (int) wxLIST_NEXT_ALL ;
18879 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18880 long result;
18881 PyObject * obj0 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = PyInt_FromLong((long)result);
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18905 int arg2 ;
18906 wxImageList *result;
18907 PyObject * obj0 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self",(char *) "which", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 {
18922 resultobj = wxPyMake_wxObject(result);
18923 }
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18933 wxImageList *arg2 = (wxImageList *) 0 ;
18934 int arg3 ;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "imageList",(char *) "which", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 (arg1)->SetImageList(arg2,arg3);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 Py_INCREF(Py_None); resultobj = Py_None;
18952 return resultobj;
18953 fail:
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18961 wxImageList *arg2 = (wxImageList *) 0 ;
18962 int arg3 ;
18963 PyObject * obj0 = 0 ;
18964 PyObject * obj1 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "self",(char *) "imageList",(char *) "which", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 (arg1)->AssignImageList(arg2,arg3);
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 Py_INCREF(Py_None); resultobj = Py_None;
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18989 bool result;
18990 PyObject * obj0 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 resultobj = PyInt_FromLong((long)result);
19005 return resultobj;
19006 fail:
19007 return NULL;
19008 }
19009
19010
19011 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj;
19013 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19014 long arg2 ;
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self",(char *) "item", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 (arg1)->RefreshItem(arg2);
19025
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 Py_INCREF(Py_None); resultobj = Py_None;
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj;
19038 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19039 long arg2 ;
19040 long arg3 ;
19041 PyObject * obj0 = 0 ;
19042 char *kwnames[] = {
19043 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19044 };
19045
19046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 (arg1)->RefreshItems(arg2,arg3);
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 Py_INCREF(Py_None); resultobj = Py_None;
19056 return resultobj;
19057 fail:
19058 return NULL;
19059 }
19060
19061
19062 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19065 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19066 bool result;
19067 PyObject * obj0 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self",(char *) "flag", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 result = (bool)(arg1)->Arrange(arg2);
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 resultobj = PyInt_FromLong((long)result);
19082 return resultobj;
19083 fail:
19084 return NULL;
19085 }
19086
19087
19088 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19091 long arg2 ;
19092 bool result;
19093 PyObject * obj0 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "self",(char *) "item", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (bool)(arg1)->DeleteItem(arg2);
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = PyInt_FromLong((long)result);
19108 return resultobj;
19109 fail:
19110 return NULL;
19111 }
19112
19113
19114 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19115 PyObject *resultobj;
19116 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19117 bool result;
19118 PyObject * obj0 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "self", NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 result = (bool)(arg1)->DeleteAllItems();
19128
19129 wxPyEndAllowThreads(__tstate);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 resultobj = PyInt_FromLong((long)result);
19133 return resultobj;
19134 fail:
19135 return NULL;
19136 }
19137
19138
19139 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19140 PyObject *resultobj;
19141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19142 int arg2 ;
19143 bool result;
19144 PyObject * obj0 = 0 ;
19145 char *kwnames[] = {
19146 (char *) "self",(char *) "col", NULL
19147 };
19148
19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (bool)(arg1)->DeleteColumn(arg2);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 resultobj = PyInt_FromLong((long)result);
19159 return resultobj;
19160 fail:
19161 return NULL;
19162 }
19163
19164
19165 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19168 bool result;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = (bool)(arg1)->DeleteAllColumns();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 resultobj = PyInt_FromLong((long)result);
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19193 PyObject * obj0 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 (arg1)->ClearAll();
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19217 long arg2 ;
19218 wxTextCtrl *result;
19219 PyObject * obj0 = 0 ;
19220 char *kwnames[] = {
19221 (char *) "self",(char *) "item", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 {
19234 resultobj = wxPyMake_wxObject(result);
19235 }
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19245 bool arg2 ;
19246 bool result;
19247 PyObject * obj0 = 0 ;
19248 PyObject * obj1 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self",(char *) "cancel", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19255 arg2 = PyInt_AsLong(obj1) ? true : false;
19256 if (PyErr_Occurred()) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (bool)(arg1)->EndEditLabel(arg2);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 resultobj = PyInt_FromLong((long)result);
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19274 long arg2 ;
19275 bool result;
19276 PyObject * obj0 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "item", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 result = (bool)(arg1)->EnsureVisible(arg2);
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 resultobj = PyInt_FromLong((long)result);
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj;
19299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19300 long arg2 ;
19301 wxString *arg3 = 0 ;
19302 bool arg4 = (bool) False ;
19303 long result;
19304 bool temp3 = False ;
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj2 = 0 ;
19307 PyObject * obj3 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 {
19315 arg3 = wxString_in_helper(obj2);
19316 if (arg3 == NULL) SWIG_fail;
19317 temp3 = True;
19318 }
19319 if (obj3) {
19320 arg4 = PyInt_AsLong(obj3) ? true : false;
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
19324 PyThreadState* __tstate = wxPyBeginAllowThreads();
19325 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
19330 resultobj = PyInt_FromLong((long)result);
19331 {
19332 if (temp3)
19333 delete arg3;
19334 }
19335 return resultobj;
19336 fail:
19337 {
19338 if (temp3)
19339 delete arg3;
19340 }
19341 return NULL;
19342 }
19343
19344
19345 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19348 long arg2 ;
19349 long arg3 ;
19350 long result;
19351 PyObject * obj0 = 0 ;
19352 char *kwnames[] = {
19353 (char *) "self",(char *) "start",(char *) "data", NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 result = (long)(arg1)->FindItem(arg2,arg3);
19361
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 resultobj = PyInt_FromLong((long)result);
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj;
19374 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19375 long arg2 ;
19376 wxPoint *arg3 = 0 ;
19377 int arg4 ;
19378 long result;
19379 wxPoint temp3 ;
19380 PyObject * obj0 = 0 ;
19381 PyObject * obj2 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19384 };
19385
19386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19388 {
19389 arg3 = &temp3;
19390 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19391 }
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 resultobj = PyInt_FromLong((long)result);
19400 return resultobj;
19401 fail:
19402 return NULL;
19403 }
19404
19405
19406 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19409 wxPoint *arg2 = 0 ;
19410 int *arg3 = 0 ;
19411 long result;
19412 wxPoint temp2 ;
19413 int temp3 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self",(char *) "point", NULL
19418 };
19419
19420 arg3 = &temp3;
19421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19423 {
19424 arg2 = &temp2;
19425 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19426 }
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19430
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 resultobj = PyInt_FromLong((long)result);
19435 {
19436 PyObject *o = PyInt_FromLong((long) (*arg3));
19437 resultobj = t_output_helper(resultobj,o);
19438 }
19439 return resultobj;
19440 fail:
19441 return NULL;
19442 }
19443
19444
19445 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19448 wxListItem *arg2 = 0 ;
19449 long result;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self",(char *) "info", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19459 if (arg2 == NULL) {
19460 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19461 }
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 result = (long)(arg1)->InsertItem(*arg2);
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 resultobj = PyInt_FromLong((long)result);
19470 return resultobj;
19471 fail:
19472 return NULL;
19473 }
19474
19475
19476 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19479 long arg2 ;
19480 wxString *arg3 = 0 ;
19481 long result;
19482 bool temp3 = False ;
19483 PyObject * obj0 = 0 ;
19484 PyObject * obj2 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self",(char *) "index",(char *) "label", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19491 {
19492 arg3 = wxString_in_helper(obj2);
19493 if (arg3 == NULL) SWIG_fail;
19494 temp3 = True;
19495 }
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 resultobj = PyInt_FromLong((long)result);
19504 {
19505 if (temp3)
19506 delete arg3;
19507 }
19508 return resultobj;
19509 fail:
19510 {
19511 if (temp3)
19512 delete arg3;
19513 }
19514 return NULL;
19515 }
19516
19517
19518 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19521 long arg2 ;
19522 int arg3 ;
19523 long result;
19524 PyObject * obj0 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = (long)(arg1)->InsertItem(arg2,arg3);
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = PyInt_FromLong((long)result);
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19548 long arg2 ;
19549 wxString *arg3 = 0 ;
19550 int arg4 ;
19551 long result;
19552 bool temp3 = False ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj2 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 {
19562 arg3 = wxString_in_helper(obj2);
19563 if (arg3 == NULL) SWIG_fail;
19564 temp3 = True;
19565 }
19566 {
19567 PyThreadState* __tstate = wxPyBeginAllowThreads();
19568 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19569
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 resultobj = PyInt_FromLong((long)result);
19574 {
19575 if (temp3)
19576 delete arg3;
19577 }
19578 return resultobj;
19579 fail:
19580 {
19581 if (temp3)
19582 delete arg3;
19583 }
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19591 long arg2 ;
19592 wxListItem *arg3 = 0 ;
19593 long result;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj2 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "col",(char *) "info", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19602 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19603 if (arg3 == NULL) {
19604 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19605 }
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
19608 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
19613 resultobj = PyInt_FromLong((long)result);
19614 return resultobj;
19615 fail:
19616 return NULL;
19617 }
19618
19619
19620 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19621 PyObject *resultobj;
19622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19623 long arg2 ;
19624 wxString *arg3 = 0 ;
19625 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19626 int arg5 = (int) -1 ;
19627 long result;
19628 bool temp3 = False ;
19629 PyObject * obj0 = 0 ;
19630 PyObject * obj2 = 0 ;
19631 char *kwnames[] = {
19632 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19633 };
19634
19635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19637 {
19638 arg3 = wxString_in_helper(obj2);
19639 if (arg3 == NULL) SWIG_fail;
19640 temp3 = True;
19641 }
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 resultobj = PyInt_FromLong((long)result);
19650 {
19651 if (temp3)
19652 delete arg3;
19653 }
19654 return resultobj;
19655 fail:
19656 {
19657 if (temp3)
19658 delete arg3;
19659 }
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19667 long arg2 ;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self",(char *) "count", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->SetItemCount(arg2);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 Py_INCREF(Py_None); resultobj = Py_None;
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19692 int arg2 ;
19693 int arg3 ;
19694 bool result;
19695 PyObject * obj0 = 0 ;
19696 char *kwnames[] = {
19697 (char *) "self",(char *) "dx",(char *) "dy", NULL
19698 };
19699
19700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 result = (bool)(arg1)->ScrollList(arg2,arg3);
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 resultobj = PyInt_FromLong((long)result);
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19719 long arg2 ;
19720 wxColour *arg3 = 0 ;
19721 wxColour temp3 ;
19722 PyObject * obj0 = 0 ;
19723 PyObject * obj2 = 0 ;
19724 char *kwnames[] = {
19725 (char *) "self",(char *) "item",(char *) "col", NULL
19726 };
19727
19728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19730 {
19731 arg3 = &temp3;
19732 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19733 }
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 Py_INCREF(Py_None); resultobj = Py_None;
19742 return resultobj;
19743 fail:
19744 return NULL;
19745 }
19746
19747
19748 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj;
19750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19751 long arg2 ;
19752 wxColour result;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self",(char *) "item", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 {
19768 wxColour * resultptr;
19769 resultptr = new wxColour((wxColour &) result);
19770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19771 }
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19781 long arg2 ;
19782 wxColour *arg3 = 0 ;
19783 wxColour temp3 ;
19784 PyObject * obj0 = 0 ;
19785 PyObject * obj2 = 0 ;
19786 char *kwnames[] = {
19787 (char *) "self",(char *) "item",(char *) "col", NULL
19788 };
19789
19790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19792 {
19793 arg3 = &temp3;
19794 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19795 }
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 Py_INCREF(Py_None); resultobj = Py_None;
19804 return resultobj;
19805 fail:
19806 return NULL;
19807 }
19808
19809
19810 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj;
19812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19813 long arg2 ;
19814 wxColour result;
19815 PyObject * obj0 = 0 ;
19816 char *kwnames[] = {
19817 (char *) "self",(char *) "item", NULL
19818 };
19819
19820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 {
19830 wxColour * resultptr;
19831 resultptr = new wxColour((wxColour &) result);
19832 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19833 }
19834 return resultobj;
19835 fail:
19836 return NULL;
19837 }
19838
19839
19840 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19841 PyObject *resultobj;
19842 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19843 PyObject *arg2 = (PyObject *) 0 ;
19844 bool result;
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj1 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self",(char *) "func", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19853 arg2 = obj1;
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19857
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 resultobj = PyInt_FromLong((long)result);
19862 return resultobj;
19863 fail:
19864 return NULL;
19865 }
19866
19867
19868 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19869 PyObject *resultobj;
19870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19871 wxWindow *result;
19872 PyObject * obj0 = 0 ;
19873 char *kwnames[] = {
19874 (char *) "self", NULL
19875 };
19876
19877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19879 {
19880 PyThreadState* __tstate = wxPyBeginAllowThreads();
19881 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19882
19883 wxPyEndAllowThreads(__tstate);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 }
19886 {
19887 resultobj = wxPyMake_wxObject(result);
19888 }
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19896 PyObject *obj;
19897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19898 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19899 Py_INCREF(obj);
19900 return Py_BuildValue((char *)"");
19901 }
19902 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxWindow *arg1 = (wxWindow *) 0 ;
19905 int arg2 = (int) -1 ;
19906 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19907 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19908 wxSize const &arg4_defvalue = wxDefaultSize ;
19909 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19910 long arg5 = (long) wxLC_REPORT ;
19911 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19912 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19913 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19914 wxString *arg7 = (wxString *) &arg7_defvalue ;
19915 wxListView *result;
19916 wxPoint temp3 ;
19917 wxSize temp4 ;
19918 bool temp7 = False ;
19919 PyObject * obj0 = 0 ;
19920 PyObject * obj2 = 0 ;
19921 PyObject * obj3 = 0 ;
19922 PyObject * obj5 = 0 ;
19923 PyObject * obj6 = 0 ;
19924 char *kwnames[] = {
19925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19926 };
19927
19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19930 if (obj2) {
19931 {
19932 arg3 = &temp3;
19933 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19934 }
19935 }
19936 if (obj3) {
19937 {
19938 arg4 = &temp4;
19939 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19940 }
19941 }
19942 if (obj5) {
19943 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 if (arg6 == NULL) {
19945 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19946 }
19947 }
19948 if (obj6) {
19949 {
19950 arg7 = wxString_in_helper(obj6);
19951 if (arg7 == NULL) SWIG_fail;
19952 temp7 = True;
19953 }
19954 }
19955 {
19956 PyThreadState* __tstate = wxPyBeginAllowThreads();
19957 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19958
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19963 {
19964 if (temp7)
19965 delete arg7;
19966 }
19967 return resultobj;
19968 fail:
19969 {
19970 if (temp7)
19971 delete arg7;
19972 }
19973 return NULL;
19974 }
19975
19976
19977 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxListView *result;
19980 char *kwnames[] = {
19981 NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 result = (wxListView *)new wxListView();
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19993 return resultobj;
19994 fail:
19995 return NULL;
19996 }
19997
19998
19999 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxListView *arg1 = (wxListView *) 0 ;
20002 wxWindow *arg2 = (wxWindow *) 0 ;
20003 int arg3 = (int) -1 ;
20004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20006 wxSize const &arg5_defvalue = wxDefaultSize ;
20007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20008 long arg6 = (long) wxLC_REPORT ;
20009 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20010 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20011 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20012 wxString *arg8 = (wxString *) &arg8_defvalue ;
20013 bool result;
20014 wxPoint temp4 ;
20015 wxSize temp5 ;
20016 bool temp8 = False ;
20017 PyObject * obj0 = 0 ;
20018 PyObject * obj1 = 0 ;
20019 PyObject * obj3 = 0 ;
20020 PyObject * obj4 = 0 ;
20021 PyObject * obj6 = 0 ;
20022 PyObject * obj7 = 0 ;
20023 char *kwnames[] = {
20024 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20025 };
20026
20027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20029 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20030 if (obj3) {
20031 {
20032 arg4 = &temp4;
20033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20034 }
20035 }
20036 if (obj4) {
20037 {
20038 arg5 = &temp5;
20039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20040 }
20041 }
20042 if (obj6) {
20043 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20044 if (arg7 == NULL) {
20045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20046 }
20047 }
20048 if (obj7) {
20049 {
20050 arg8 = wxString_in_helper(obj7);
20051 if (arg8 == NULL) SWIG_fail;
20052 temp8 = True;
20053 }
20054 }
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 resultobj = PyInt_FromLong((long)result);
20063 {
20064 if (temp8)
20065 delete arg8;
20066 }
20067 return resultobj;
20068 fail:
20069 {
20070 if (temp8)
20071 delete arg8;
20072 }
20073 return NULL;
20074 }
20075
20076
20077 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20078 PyObject *resultobj;
20079 wxListView *arg1 = (wxListView *) 0 ;
20080 long arg2 ;
20081 bool arg3 = (bool) True ;
20082 PyObject * obj0 = 0 ;
20083 PyObject * obj2 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self",(char *) "n",(char *) "on", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20090 if (obj2) {
20091 arg3 = PyInt_AsLong(obj2) ? true : false;
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 (arg1)->Select(arg2,arg3);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 Py_INCREF(Py_None); resultobj = Py_None;
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxListView *arg1 = (wxListView *) 0 ;
20111 long arg2 ;
20112 PyObject * obj0 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self",(char *) "index", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 (arg1)->Focus(arg2);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 Py_INCREF(Py_None); resultobj = Py_None;
20127 return resultobj;
20128 fail:
20129 return NULL;
20130 }
20131
20132
20133 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20134 PyObject *resultobj;
20135 wxListView *arg1 = (wxListView *) 0 ;
20136 long result;
20137 PyObject * obj0 = 0 ;
20138 char *kwnames[] = {
20139 (char *) "self", NULL
20140 };
20141
20142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20147
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 resultobj = PyInt_FromLong((long)result);
20152 return resultobj;
20153 fail:
20154 return NULL;
20155 }
20156
20157
20158 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20159 PyObject *resultobj;
20160 wxListView *arg1 = (wxListView *) 0 ;
20161 long arg2 ;
20162 long result;
20163 PyObject * obj0 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self",(char *) "item", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 resultobj = PyInt_FromLong((long)result);
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxListView *arg1 = (wxListView *) 0 ;
20187 long result;
20188 PyObject * obj0 = 0 ;
20189 char *kwnames[] = {
20190 (char *) "self", NULL
20191 };
20192
20193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20195 {
20196 PyThreadState* __tstate = wxPyBeginAllowThreads();
20197 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20198
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 resultobj = PyInt_FromLong((long)result);
20203 return resultobj;
20204 fail:
20205 return NULL;
20206 }
20207
20208
20209 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxListView *arg1 = (wxListView *) 0 ;
20212 long arg2 ;
20213 bool result;
20214 PyObject * obj0 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self",(char *) "index", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20221 {
20222 PyThreadState* __tstate = wxPyBeginAllowThreads();
20223 result = (bool)(arg1)->IsSelected(arg2);
20224
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 resultobj = PyInt_FromLong((long)result);
20229 return resultobj;
20230 fail:
20231 return NULL;
20232 }
20233
20234
20235 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxListView *arg1 = (wxListView *) 0 ;
20238 int arg2 ;
20239 int arg3 ;
20240 PyObject * obj0 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self",(char *) "col",(char *) "image", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 (arg1)->SetColumnImage(arg2,arg3);
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 Py_INCREF(Py_None); resultobj = Py_None;
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxListView *arg1 = (wxListView *) 0 ;
20264 int arg2 ;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self",(char *) "col", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 (arg1)->ClearColumnImage(arg2);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20287 PyObject *obj;
20288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20289 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20290 Py_INCREF(obj);
20291 return Py_BuildValue((char *)"");
20292 }
20293 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20294 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20295 return 1;
20296 }
20297
20298
20299 static PyObject *_wrap_TreeCtrlNameStr_get() {
20300 PyObject *pyobj;
20301
20302 {
20303 #if wxUSE_UNICODE
20304 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20305 #else
20306 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20307 #endif
20308 }
20309 return pyobj;
20310 }
20311
20312
20313 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20314 PyObject *resultobj;
20315 wxTreeItemId *result;
20316 char *kwnames[] = {
20317 NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 result = (wxTreeItemId *)new wxTreeItemId();
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20338 PyObject * obj0 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self", NULL
20341 };
20342
20343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 delete arg1;
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 Py_INCREF(Py_None); resultobj = Py_None;
20353 return resultobj;
20354 fail:
20355 return NULL;
20356 }
20357
20358
20359 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj;
20361 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20362 bool result;
20363 PyObject * obj0 = 0 ;
20364 char *kwnames[] = {
20365 (char *) "self", NULL
20366 };
20367
20368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20370 {
20371 PyThreadState* __tstate = wxPyBeginAllowThreads();
20372 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20373
20374 wxPyEndAllowThreads(__tstate);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 }
20377 resultobj = PyInt_FromLong((long)result);
20378 return resultobj;
20379 fail:
20380 return NULL;
20381 }
20382
20383
20384 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20385 PyObject *resultobj;
20386 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20387 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20388 bool result;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self",(char *) "other", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 resultobj = PyInt_FromLong((long)result);
20406 return resultobj;
20407 fail:
20408 return NULL;
20409 }
20410
20411
20412 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20415 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20416 bool result;
20417 PyObject * obj0 = 0 ;
20418 PyObject * obj1 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self",(char *) "other", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 resultobj = PyInt_FromLong((long)result);
20434 return resultobj;
20435 fail:
20436 return NULL;
20437 }
20438
20439
20440 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20441 PyObject *resultobj;
20442 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20443 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20444 PyObject * obj0 = 0 ;
20445 PyObject * obj1 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self",(char *) "m_pItem", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20453 if (arg1) (arg1)->m_pItem = arg2;
20454
20455 Py_INCREF(Py_None); resultobj = Py_None;
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20465 wxTreeItemIdValue result;
20466 PyObject * obj0 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20473 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20474
20475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20483 PyObject *obj;
20484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20485 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20486 Py_INCREF(obj);
20487 return Py_BuildValue((char *)"");
20488 }
20489 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 PyObject *arg1 = (PyObject *) NULL ;
20492 wxPyTreeItemData *result;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "obj", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20499 if (obj0) {
20500 arg1 = obj0;
20501 }
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20519 PyObject *result;
20520 PyObject * obj0 = 0 ;
20521 char *kwnames[] = {
20522 (char *) "self", NULL
20523 };
20524
20525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 result = (PyObject *)(arg1)->GetData();
20530
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 resultobj = result;
20535 return resultobj;
20536 fail:
20537 return NULL;
20538 }
20539
20540
20541 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20544 PyObject *arg2 = (PyObject *) 0 ;
20545 PyObject * obj0 = 0 ;
20546 PyObject * obj1 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self",(char *) "obj", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20553 arg2 = obj1;
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 (arg1)->SetData(arg2);
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 Py_INCREF(Py_None); resultobj = Py_None;
20562 return resultobj;
20563 fail:
20564 return NULL;
20565 }
20566
20567
20568 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20569 PyObject *resultobj;
20570 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20571 wxTreeItemId *result;
20572 PyObject * obj0 = 0 ;
20573 char *kwnames[] = {
20574 (char *) "self", NULL
20575 };
20576
20577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 {
20582 wxTreeItemId const &_result_ref = (arg1)->GetId();
20583 result = (wxTreeItemId *) &_result_ref;
20584 }
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20590 return resultobj;
20591 fail:
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj;
20598 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20599 wxTreeItemId *arg2 = 0 ;
20600 PyObject * obj0 = 0 ;
20601 PyObject * obj1 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self",(char *) "id", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20609 if (arg2 == NULL) {
20610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20611 }
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 (arg1)->SetId((wxTreeItemId const &)*arg2);
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 Py_INCREF(Py_None); resultobj = Py_None;
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20629 PyObject * obj0 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 wxPyTreeItemData_Destroy(arg1);
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 Py_INCREF(Py_None); resultobj = Py_None;
20644 return resultobj;
20645 fail:
20646 return NULL;
20647 }
20648
20649
20650 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20651 PyObject *obj;
20652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20653 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20654 Py_INCREF(obj);
20655 return Py_BuildValue((char *)"");
20656 }
20657 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20658 PyObject *resultobj;
20659 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20660 int arg2 = (int) 0 ;
20661 wxTreeEvent *result;
20662 char *kwnames[] = {
20663 (char *) "commandType",(char *) "id", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20675 return resultobj;
20676 fail:
20677 return NULL;
20678 }
20679
20680
20681 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj;
20683 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20684 wxTreeItemId result;
20685 PyObject * obj0 = 0 ;
20686 char *kwnames[] = {
20687 (char *) "self", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 result = ((wxTreeEvent const *)arg1)->GetItem();
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 {
20700 wxTreeItemId * resultptr;
20701 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20702 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20703 }
20704 return resultobj;
20705 fail:
20706 return NULL;
20707 }
20708
20709
20710 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20711 PyObject *resultobj;
20712 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20713 wxTreeItemId *arg2 = 0 ;
20714 PyObject * obj0 = 0 ;
20715 PyObject * obj1 = 0 ;
20716 char *kwnames[] = {
20717 (char *) "self",(char *) "item", NULL
20718 };
20719
20720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20723 if (arg2 == NULL) {
20724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20725 }
20726 {
20727 PyThreadState* __tstate = wxPyBeginAllowThreads();
20728 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20729
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 Py_INCREF(Py_None); resultobj = Py_None;
20734 return resultobj;
20735 fail:
20736 return NULL;
20737 }
20738
20739
20740 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20741 PyObject *resultobj;
20742 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20743 wxTreeItemId result;
20744 PyObject * obj0 = 0 ;
20745 char *kwnames[] = {
20746 (char *) "self", NULL
20747 };
20748
20749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 {
20759 wxTreeItemId * resultptr;
20760 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20761 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20762 }
20763 return resultobj;
20764 fail:
20765 return NULL;
20766 }
20767
20768
20769 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20770 PyObject *resultobj;
20771 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20772 wxTreeItemId *arg2 = 0 ;
20773 PyObject * obj0 = 0 ;
20774 PyObject * obj1 = 0 ;
20775 char *kwnames[] = {
20776 (char *) "self",(char *) "item", NULL
20777 };
20778
20779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20782 if (arg2 == NULL) {
20783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20784 }
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 Py_INCREF(Py_None); resultobj = Py_None;
20793 return resultobj;
20794 fail:
20795 return NULL;
20796 }
20797
20798
20799 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20800 PyObject *resultobj;
20801 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20802 wxPoint result;
20803 PyObject * obj0 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = ((wxTreeEvent const *)arg1)->GetPoint();
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 {
20818 wxPoint * resultptr;
20819 resultptr = new wxPoint((wxPoint &) result);
20820 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20821 }
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20831 wxPoint *arg2 = 0 ;
20832 wxPoint temp2 ;
20833 PyObject * obj0 = 0 ;
20834 PyObject * obj1 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self",(char *) "pt", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20841 {
20842 arg2 = &temp2;
20843 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20844 }
20845 {
20846 PyThreadState* __tstate = wxPyBeginAllowThreads();
20847 (arg1)->SetPoint((wxPoint const &)*arg2);
20848
20849 wxPyEndAllowThreads(__tstate);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
20852 Py_INCREF(Py_None); resultobj = Py_None;
20853 return resultobj;
20854 fail:
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20862 wxKeyEvent *result;
20863 PyObject * obj0 = 0 ;
20864 char *kwnames[] = {
20865 (char *) "self", NULL
20866 };
20867
20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20870 {
20871 PyThreadState* __tstate = wxPyBeginAllowThreads();
20872 {
20873 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20874 result = (wxKeyEvent *) &_result_ref;
20875 }
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
20880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20881 return resultobj;
20882 fail:
20883 return NULL;
20884 }
20885
20886
20887 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20888 PyObject *resultobj;
20889 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20890 int result;
20891 PyObject * obj0 = 0 ;
20892 char *kwnames[] = {
20893 (char *) "self", NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20901
20902 wxPyEndAllowThreads(__tstate);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 }
20905 resultobj = PyInt_FromLong((long)result);
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20913 PyObject *resultobj;
20914 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20915 wxKeyEvent *arg2 = 0 ;
20916 PyObject * obj0 = 0 ;
20917 PyObject * obj1 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "self",(char *) "evt", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20925 if (arg2 == NULL) {
20926 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20927 }
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 Py_INCREF(Py_None); resultobj = Py_None;
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20945 wxString *result;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "self", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 {
20956 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20957 result = (wxString *) &_result_ref;
20958 }
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 {
20964 #if wxUSE_UNICODE
20965 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20966 #else
20967 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20968 #endif
20969 }
20970 return resultobj;
20971 fail:
20972 return NULL;
20973 }
20974
20975
20976 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20977 PyObject *resultobj;
20978 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20979 wxString *arg2 = 0 ;
20980 bool temp2 = False ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 char *kwnames[] = {
20984 (char *) "self",(char *) "label", NULL
20985 };
20986
20987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20989 {
20990 arg2 = wxString_in_helper(obj1);
20991 if (arg2 == NULL) SWIG_fail;
20992 temp2 = True;
20993 }
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 (arg1)->SetLabel((wxString const &)*arg2);
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 Py_INCREF(Py_None); resultobj = Py_None;
21002 {
21003 if (temp2)
21004 delete arg2;
21005 }
21006 return resultobj;
21007 fail:
21008 {
21009 if (temp2)
21010 delete arg2;
21011 }
21012 return NULL;
21013 }
21014
21015
21016 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21019 bool result;
21020 PyObject * obj0 = 0 ;
21021 char *kwnames[] = {
21022 (char *) "self", NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
21030
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 resultobj = PyInt_FromLong((long)result);
21035 return resultobj;
21036 fail:
21037 return NULL;
21038 }
21039
21040
21041 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21042 PyObject *resultobj;
21043 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21044 bool arg2 ;
21045 PyObject * obj0 = 0 ;
21046 PyObject * obj1 = 0 ;
21047 char *kwnames[] = {
21048 (char *) "self",(char *) "editCancelled", NULL
21049 };
21050
21051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21053 arg2 = PyInt_AsLong(obj1) ? true : false;
21054 if (PyErr_Occurred()) SWIG_fail;
21055 {
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 (arg1)->SetEditCanceled(arg2);
21058
21059 wxPyEndAllowThreads(__tstate);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 }
21062 Py_INCREF(Py_None); resultobj = Py_None;
21063 return resultobj;
21064 fail:
21065 return NULL;
21066 }
21067
21068
21069 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21070 PyObject *resultobj;
21071 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21072 wxString *arg2 = 0 ;
21073 bool temp2 = False ;
21074 PyObject * obj0 = 0 ;
21075 PyObject * obj1 = 0 ;
21076 char *kwnames[] = {
21077 (char *) "self",(char *) "toolTip", NULL
21078 };
21079
21080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21082 {
21083 arg2 = wxString_in_helper(obj1);
21084 if (arg2 == NULL) SWIG_fail;
21085 temp2 = True;
21086 }
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 (arg1)->SetToolTip((wxString const &)*arg2);
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 Py_INCREF(Py_None); resultobj = Py_None;
21095 {
21096 if (temp2)
21097 delete arg2;
21098 }
21099 return resultobj;
21100 fail:
21101 {
21102 if (temp2)
21103 delete arg2;
21104 }
21105 return NULL;
21106 }
21107
21108
21109 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21110 PyObject *obj;
21111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21112 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21113 Py_INCREF(obj);
21114 return Py_BuildValue((char *)"");
21115 }
21116 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxWindow *arg1 = (wxWindow *) 0 ;
21119 int arg2 = (int) -1 ;
21120 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21121 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21122 wxSize const &arg4_defvalue = wxDefaultSize ;
21123 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21124 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21125 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21126 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21127 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21128 wxString *arg7 = (wxString *) &arg7_defvalue ;
21129 wxPyTreeCtrl *result;
21130 wxPoint temp3 ;
21131 wxSize temp4 ;
21132 bool temp7 = False ;
21133 PyObject * obj0 = 0 ;
21134 PyObject * obj2 = 0 ;
21135 PyObject * obj3 = 0 ;
21136 PyObject * obj5 = 0 ;
21137 PyObject * obj6 = 0 ;
21138 char *kwnames[] = {
21139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21140 };
21141
21142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21144 if (obj2) {
21145 {
21146 arg3 = &temp3;
21147 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21148 }
21149 }
21150 if (obj3) {
21151 {
21152 arg4 = &temp4;
21153 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21154 }
21155 }
21156 if (obj5) {
21157 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21158 if (arg6 == NULL) {
21159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21160 }
21161 }
21162 if (obj6) {
21163 {
21164 arg7 = wxString_in_helper(obj6);
21165 if (arg7 == NULL) SWIG_fail;
21166 temp7 = True;
21167 }
21168 }
21169 {
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21172
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 {
21177 resultobj = wxPyMake_wxObject(result);
21178 }
21179 {
21180 if (temp7)
21181 delete arg7;
21182 }
21183 return resultobj;
21184 fail:
21185 {
21186 if (temp7)
21187 delete arg7;
21188 }
21189 return NULL;
21190 }
21191
21192
21193 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21194 PyObject *resultobj;
21195 wxPyTreeCtrl *result;
21196 char *kwnames[] = {
21197 NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 {
21209 resultobj = wxPyMake_wxObject(result);
21210 }
21211 return resultobj;
21212 fail:
21213 return NULL;
21214 }
21215
21216
21217 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21218 PyObject *resultobj;
21219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21220 wxWindow *arg2 = (wxWindow *) 0 ;
21221 int arg3 = (int) -1 ;
21222 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21223 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21224 wxSize const &arg5_defvalue = wxDefaultSize ;
21225 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21226 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21227 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21228 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21229 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21230 wxString *arg8 = (wxString *) &arg8_defvalue ;
21231 bool result;
21232 wxPoint temp4 ;
21233 wxSize temp5 ;
21234 bool temp8 = False ;
21235 PyObject * obj0 = 0 ;
21236 PyObject * obj1 = 0 ;
21237 PyObject * obj3 = 0 ;
21238 PyObject * obj4 = 0 ;
21239 PyObject * obj6 = 0 ;
21240 PyObject * obj7 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21248 if (obj3) {
21249 {
21250 arg4 = &temp4;
21251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21252 }
21253 }
21254 if (obj4) {
21255 {
21256 arg5 = &temp5;
21257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21258 }
21259 }
21260 if (obj6) {
21261 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21262 if (arg7 == NULL) {
21263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21264 }
21265 }
21266 if (obj7) {
21267 {
21268 arg8 = wxString_in_helper(obj7);
21269 if (arg8 == NULL) SWIG_fail;
21270 temp8 = True;
21271 }
21272 }
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 resultobj = PyInt_FromLong((long)result);
21281 {
21282 if (temp8)
21283 delete arg8;
21284 }
21285 return resultobj;
21286 fail:
21287 {
21288 if (temp8)
21289 delete arg8;
21290 }
21291 return NULL;
21292 }
21293
21294
21295 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21296 PyObject *resultobj;
21297 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21298 PyObject *arg2 = (PyObject *) 0 ;
21299 PyObject *arg3 = (PyObject *) 0 ;
21300 PyObject * obj0 = 0 ;
21301 PyObject * obj1 = 0 ;
21302 PyObject * obj2 = 0 ;
21303 char *kwnames[] = {
21304 (char *) "self",(char *) "self",(char *) "_class", NULL
21305 };
21306
21307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21309 arg2 = obj1;
21310 arg3 = obj2;
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
21313 (arg1)->_setCallbackInfo(arg2,arg3);
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 Py_INCREF(Py_None); resultobj = Py_None;
21319 return resultobj;
21320 fail:
21321 return NULL;
21322 }
21323
21324
21325 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21326 PyObject *resultobj;
21327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21328 size_t result;
21329 PyObject * obj0 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21336 {
21337 PyThreadState* __tstate = wxPyBeginAllowThreads();
21338 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21339
21340 wxPyEndAllowThreads(__tstate);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 resultobj = PyInt_FromLong((long)result);
21344 return resultobj;
21345 fail:
21346 return NULL;
21347 }
21348
21349
21350 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21351 PyObject *resultobj;
21352 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21353 unsigned int result;
21354 PyObject * obj0 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 resultobj = PyInt_FromLong((long)result);
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21378 unsigned int arg2 ;
21379 PyObject * obj0 = 0 ;
21380 PyObject * obj1 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "self",(char *) "indent", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21387 arg2 = (unsigned int) PyInt_AsLong(obj1);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 (arg1)->SetIndent(arg2);
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 Py_INCREF(Py_None); resultobj = Py_None;
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21406 unsigned int result;
21407 PyObject * obj0 = 0 ;
21408 char *kwnames[] = {
21409 (char *) "self", NULL
21410 };
21411
21412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 resultobj = PyInt_FromLong((long)result);
21422 return resultobj;
21423 fail:
21424 return NULL;
21425 }
21426
21427
21428 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21429 PyObject *resultobj;
21430 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21431 unsigned int arg2 ;
21432 PyObject * obj0 = 0 ;
21433 PyObject * obj1 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self",(char *) "spacing", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21440 arg2 = (unsigned int) PyInt_AsLong(obj1);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 (arg1)->SetSpacing(arg2);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 Py_INCREF(Py_None); resultobj = Py_None;
21450 return resultobj;
21451 fail:
21452 return NULL;
21453 }
21454
21455
21456 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21459 wxImageList *result;
21460 PyObject * obj0 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 {
21475 resultobj = wxPyMake_wxObject(result);
21476 }
21477 return resultobj;
21478 fail:
21479 return NULL;
21480 }
21481
21482
21483 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21486 wxImageList *result;
21487 PyObject * obj0 = 0 ;
21488 char *kwnames[] = {
21489 (char *) "self", NULL
21490 };
21491
21492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 {
21502 resultobj = wxPyMake_wxObject(result);
21503 }
21504 return resultobj;
21505 fail:
21506 return NULL;
21507 }
21508
21509
21510 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj;
21512 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21513 wxImageList *arg2 = (wxImageList *) 0 ;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self",(char *) "imageList", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->SetImageList(arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21540 wxImageList *arg2 = (wxImageList *) 0 ;
21541 PyObject * obj0 = 0 ;
21542 PyObject * obj1 = 0 ;
21543 char *kwnames[] = {
21544 (char *) "self",(char *) "imageList", NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21550 {
21551 PyThreadState* __tstate = wxPyBeginAllowThreads();
21552 (arg1)->SetStateImageList(arg2);
21553
21554 wxPyEndAllowThreads(__tstate);
21555 if (PyErr_Occurred()) SWIG_fail;
21556 }
21557 Py_INCREF(Py_None); resultobj = Py_None;
21558 return resultobj;
21559 fail:
21560 return NULL;
21561 }
21562
21563
21564 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21567 wxImageList *arg2 = (wxImageList *) 0 ;
21568 PyObject * obj0 = 0 ;
21569 PyObject * obj1 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "imageList", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21577 {
21578 PyThreadState* __tstate = wxPyBeginAllowThreads();
21579 (arg1)->AssignImageList(arg2);
21580
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 Py_INCREF(Py_None); resultobj = Py_None;
21585 return resultobj;
21586 fail:
21587 return NULL;
21588 }
21589
21590
21591 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj;
21593 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21594 wxImageList *arg2 = (wxImageList *) 0 ;
21595 PyObject * obj0 = 0 ;
21596 PyObject * obj1 = 0 ;
21597 char *kwnames[] = {
21598 (char *) "self",(char *) "imageList", NULL
21599 };
21600
21601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 (arg1)->AssignStateImageList(arg2);
21607
21608 wxPyEndAllowThreads(__tstate);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
21611 Py_INCREF(Py_None); resultobj = Py_None;
21612 return resultobj;
21613 fail:
21614 return NULL;
21615 }
21616
21617
21618 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21619 PyObject *resultobj;
21620 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21621 wxTreeItemId *arg2 = 0 ;
21622 wxString result;
21623 PyObject * obj0 = 0 ;
21624 PyObject * obj1 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self",(char *) "item", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21632 if (arg2 == NULL) {
21633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21634 }
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 {
21643 #if wxUSE_UNICODE
21644 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21645 #else
21646 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21647 #endif
21648 }
21649 return resultobj;
21650 fail:
21651 return NULL;
21652 }
21653
21654
21655 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21656 PyObject *resultobj;
21657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21658 wxTreeItemId *arg2 = 0 ;
21659 int arg3 = (int) wxTreeItemIcon_Normal ;
21660 int result;
21661 PyObject * obj0 = 0 ;
21662 PyObject * obj1 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "item",(char *) "which", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21670 if (arg2 == NULL) {
21671 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21672 }
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21676
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 resultobj = PyInt_FromLong((long)result);
21681 return resultobj;
21682 fail:
21683 return NULL;
21684 }
21685
21686
21687 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21688 PyObject *resultobj;
21689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21690 wxTreeItemId *arg2 = 0 ;
21691 wxPyTreeItemData *result;
21692 PyObject * obj0 = 0 ;
21693 PyObject * obj1 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "item", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21701 if (arg2 == NULL) {
21702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21703 }
21704 {
21705 PyThreadState* __tstate = wxPyBeginAllowThreads();
21706 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21707
21708 wxPyEndAllowThreads(__tstate);
21709 if (PyErr_Occurred()) SWIG_fail;
21710 }
21711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21712 return resultobj;
21713 fail:
21714 return NULL;
21715 }
21716
21717
21718 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21719 PyObject *resultobj;
21720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21721 wxTreeItemId *arg2 = 0 ;
21722 PyObject *result;
21723 PyObject * obj0 = 0 ;
21724 PyObject * obj1 = 0 ;
21725 char *kwnames[] = {
21726 (char *) "self",(char *) "item", NULL
21727 };
21728
21729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21732 if (arg2 == NULL) {
21733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21734 }
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 resultobj = result;
21743 return resultobj;
21744 fail:
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21750 PyObject *resultobj;
21751 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21752 wxTreeItemId *arg2 = 0 ;
21753 wxColour result;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 char *kwnames[] = {
21757 (char *) "self",(char *) "item", NULL
21758 };
21759
21760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21763 if (arg2 == NULL) {
21764 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774 wxColour * resultptr;
21775 resultptr = new wxColour((wxColour &) result);
21776 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21777 }
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21787 wxTreeItemId *arg2 = 0 ;
21788 wxColour result;
21789 PyObject * obj0 = 0 ;
21790 PyObject * obj1 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self",(char *) "item", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21798 if (arg2 == NULL) {
21799 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21800 }
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 {
21809 wxColour * resultptr;
21810 resultptr = new wxColour((wxColour &) result);
21811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21812 }
21813 return resultobj;
21814 fail:
21815 return NULL;
21816 }
21817
21818
21819 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj;
21821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21822 wxTreeItemId *arg2 = 0 ;
21823 wxFont result;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self",(char *) "item", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21833 if (arg2 == NULL) {
21834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21835 }
21836 {
21837 PyThreadState* __tstate = wxPyBeginAllowThreads();
21838 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21839
21840 wxPyEndAllowThreads(__tstate);
21841 if (PyErr_Occurred()) SWIG_fail;
21842 }
21843 {
21844 wxFont * resultptr;
21845 resultptr = new wxFont((wxFont &) result);
21846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21847 }
21848 return resultobj;
21849 fail:
21850 return NULL;
21851 }
21852
21853
21854 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21855 PyObject *resultobj;
21856 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21857 wxTreeItemId *arg2 = 0 ;
21858 wxString *arg3 = 0 ;
21859 bool temp3 = False ;
21860 PyObject * obj0 = 0 ;
21861 PyObject * obj1 = 0 ;
21862 PyObject * obj2 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self",(char *) "item",(char *) "text", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 if (arg2 == NULL) {
21871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21872 }
21873 {
21874 arg3 = wxString_in_helper(obj2);
21875 if (arg3 == NULL) SWIG_fail;
21876 temp3 = True;
21877 }
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 Py_INCREF(Py_None); resultobj = Py_None;
21886 {
21887 if (temp3)
21888 delete arg3;
21889 }
21890 return resultobj;
21891 fail:
21892 {
21893 if (temp3)
21894 delete arg3;
21895 }
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21903 wxTreeItemId *arg2 = 0 ;
21904 int arg3 ;
21905 int arg4 = (int) wxTreeItemIcon_Normal ;
21906 PyObject * obj0 = 0 ;
21907 PyObject * obj1 = 0 ;
21908 char *kwnames[] = {
21909 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21910 };
21911
21912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21915 if (arg2 == NULL) {
21916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21917 }
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21921
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
21925 Py_INCREF(Py_None); resultobj = Py_None;
21926 return resultobj;
21927 fail:
21928 return NULL;
21929 }
21930
21931
21932 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21933 PyObject *resultobj;
21934 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21935 wxTreeItemId *arg2 = 0 ;
21936 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21937 PyObject * obj0 = 0 ;
21938 PyObject * obj1 = 0 ;
21939 PyObject * obj2 = 0 ;
21940 char *kwnames[] = {
21941 (char *) "self",(char *) "item",(char *) "data", NULL
21942 };
21943
21944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21947 if (arg2 == NULL) {
21948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21949 }
21950 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21951 {
21952 PyThreadState* __tstate = wxPyBeginAllowThreads();
21953 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21954
21955 wxPyEndAllowThreads(__tstate);
21956 if (PyErr_Occurred()) SWIG_fail;
21957 }
21958 Py_INCREF(Py_None); resultobj = Py_None;
21959 return resultobj;
21960 fail:
21961 return NULL;
21962 }
21963
21964
21965 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21966 PyObject *resultobj;
21967 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21968 wxTreeItemId *arg2 = 0 ;
21969 PyObject *arg3 = (PyObject *) 0 ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "item",(char *) "obj", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21980 if (arg2 == NULL) {
21981 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21982 }
21983 arg3 = obj2;
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 Py_INCREF(Py_None); resultobj = Py_None;
21992 return resultobj;
21993 fail:
21994 return NULL;
21995 }
21996
21997
21998 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21999 PyObject *resultobj;
22000 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22001 wxTreeItemId *arg2 = 0 ;
22002 bool arg3 = (bool) True ;
22003 PyObject * obj0 = 0 ;
22004 PyObject * obj1 = 0 ;
22005 PyObject * obj2 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self",(char *) "item",(char *) "has", NULL
22008 };
22009
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
22011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22013 if (arg2 == NULL) {
22014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22015 }
22016 if (obj2) {
22017 arg3 = PyInt_AsLong(obj2) ? true : false;
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 Py_INCREF(Py_None); resultobj = Py_None;
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj;
22036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22037 wxTreeItemId *arg2 = 0 ;
22038 bool arg3 = (bool) True ;
22039 PyObject * obj0 = 0 ;
22040 PyObject * obj1 = 0 ;
22041 PyObject * obj2 = 0 ;
22042 char *kwnames[] = {
22043 (char *) "self",(char *) "item",(char *) "bold", NULL
22044 };
22045
22046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
22053 arg3 = PyInt_AsLong(obj2) ? true : false;
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 Py_INCREF(Py_None); resultobj = Py_None;
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22073 wxTreeItemId *arg2 = 0 ;
22074 bool arg3 = (bool) True ;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 PyObject * obj2 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self",(char *) "item",(char *) "highlight", NULL
22080 };
22081
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
22083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22085 if (arg2 == NULL) {
22086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22087 }
22088 if (obj2) {
22089 arg3 = PyInt_AsLong(obj2) ? true : false;
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 Py_INCREF(Py_None); resultobj = Py_None;
22100 return resultobj;
22101 fail:
22102 return NULL;
22103 }
22104
22105
22106 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22107 PyObject *resultobj;
22108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22109 wxTreeItemId *arg2 = 0 ;
22110 wxColour *arg3 = 0 ;
22111 wxColour temp3 ;
22112 PyObject * obj0 = 0 ;
22113 PyObject * obj1 = 0 ;
22114 PyObject * obj2 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self",(char *) "item",(char *) "col", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22122 if (arg2 == NULL) {
22123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22124 }
22125 {
22126 arg3 = &temp3;
22127 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22128 }
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 Py_INCREF(Py_None); resultobj = Py_None;
22137 return resultobj;
22138 fail:
22139 return NULL;
22140 }
22141
22142
22143 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22146 wxTreeItemId *arg2 = 0 ;
22147 wxColour *arg3 = 0 ;
22148 wxColour temp3 ;
22149 PyObject * obj0 = 0 ;
22150 PyObject * obj1 = 0 ;
22151 PyObject * obj2 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self",(char *) "item",(char *) "col", NULL
22154 };
22155
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22159 if (arg2 == NULL) {
22160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22161 }
22162 {
22163 arg3 = &temp3;
22164 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22165 }
22166 {
22167 PyThreadState* __tstate = wxPyBeginAllowThreads();
22168 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22169
22170 wxPyEndAllowThreads(__tstate);
22171 if (PyErr_Occurred()) SWIG_fail;
22172 }
22173 Py_INCREF(Py_None); resultobj = Py_None;
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj;
22182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22183 wxTreeItemId *arg2 = 0 ;
22184 wxFont *arg3 = 0 ;
22185 PyObject * obj0 = 0 ;
22186 PyObject * obj1 = 0 ;
22187 PyObject * obj2 = 0 ;
22188 char *kwnames[] = {
22189 (char *) "self",(char *) "item",(char *) "font", NULL
22190 };
22191
22192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22195 if (arg2 == NULL) {
22196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22197 }
22198 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22199 if (arg3 == NULL) {
22200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22201 }
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 Py_INCREF(Py_None); resultobj = Py_None;
22210 return resultobj;
22211 fail:
22212 return NULL;
22213 }
22214
22215
22216 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22219 wxTreeItemId *arg2 = 0 ;
22220 bool result;
22221 PyObject * obj0 = 0 ;
22222 PyObject * obj1 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "self",(char *) "item", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22230 if (arg2 == NULL) {
22231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22232 }
22233 {
22234 PyThreadState* __tstate = wxPyBeginAllowThreads();
22235 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22236
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 resultobj = PyInt_FromLong((long)result);
22241 return resultobj;
22242 fail:
22243 return NULL;
22244 }
22245
22246
22247 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22248 PyObject *resultobj;
22249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22250 wxTreeItemId *arg2 = 0 ;
22251 bool result;
22252 PyObject * obj0 = 0 ;
22253 PyObject * obj1 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self",(char *) "item", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22261 if (arg2 == NULL) {
22262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22263 }
22264 {
22265 PyThreadState* __tstate = wxPyBeginAllowThreads();
22266 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22267
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 resultobj = PyInt_FromLong((long)result);
22272 return resultobj;
22273 fail:
22274 return NULL;
22275 }
22276
22277
22278 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj;
22280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22281 wxTreeItemId *arg2 = 0 ;
22282 bool result;
22283 PyObject * obj0 = 0 ;
22284 PyObject * obj1 = 0 ;
22285 char *kwnames[] = {
22286 (char *) "self",(char *) "item", NULL
22287 };
22288
22289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22292 if (arg2 == NULL) {
22293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22294 }
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22298
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 resultobj = PyInt_FromLong((long)result);
22303 return resultobj;
22304 fail:
22305 return NULL;
22306 }
22307
22308
22309 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22310 PyObject *resultobj;
22311 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22312 wxTreeItemId *arg2 = 0 ;
22313 bool result;
22314 PyObject * obj0 = 0 ;
22315 PyObject * obj1 = 0 ;
22316 char *kwnames[] = {
22317 (char *) "self",(char *) "item", NULL
22318 };
22319
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22323 if (arg2 == NULL) {
22324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22325 }
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22329
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 resultobj = PyInt_FromLong((long)result);
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22343 wxTreeItemId *arg2 = 0 ;
22344 bool result;
22345 PyObject * obj0 = 0 ;
22346 PyObject * obj1 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self",(char *) "item", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22354 if (arg2 == NULL) {
22355 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22356 }
22357 {
22358 PyThreadState* __tstate = wxPyBeginAllowThreads();
22359 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22360
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 resultobj = PyInt_FromLong((long)result);
22365 return resultobj;
22366 fail:
22367 return NULL;
22368 }
22369
22370
22371 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22372 PyObject *resultobj;
22373 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22374 wxTreeItemId *arg2 = 0 ;
22375 bool arg3 = (bool) True ;
22376 size_t result;
22377 PyObject * obj0 = 0 ;
22378 PyObject * obj1 = 0 ;
22379 PyObject * obj2 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self",(char *) "item",(char *) "recursively", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22387 if (arg2 == NULL) {
22388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22389 }
22390 if (obj2) {
22391 arg3 = PyInt_AsLong(obj2) ? true : false;
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 resultobj = PyInt_FromLong((long)result);
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22411 wxTreeItemId result;
22412 PyObject * obj0 = 0 ;
22413 char *kwnames[] = {
22414 (char *) "self", NULL
22415 };
22416
22417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22419 {
22420 PyThreadState* __tstate = wxPyBeginAllowThreads();
22421 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22422
22423 wxPyEndAllowThreads(__tstate);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 {
22427 wxTreeItemId * resultptr;
22428 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22430 }
22431 return resultobj;
22432 fail:
22433 return NULL;
22434 }
22435
22436
22437 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj;
22439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22440 wxTreeItemId result;
22441 PyObject * obj0 = 0 ;
22442 char *kwnames[] = {
22443 (char *) "self", NULL
22444 };
22445
22446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 {
22456 wxTreeItemId * resultptr;
22457 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22458 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22459 }
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22469 PyObject *result;
22470 PyObject * obj0 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "self", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 resultobj = result;
22485 return resultobj;
22486 fail:
22487 return NULL;
22488 }
22489
22490
22491 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22494 wxTreeItemId *arg2 = 0 ;
22495 wxTreeItemId result;
22496 PyObject * obj0 = 0 ;
22497 PyObject * obj1 = 0 ;
22498 char *kwnames[] = {
22499 (char *) "self",(char *) "item", NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22505 if (arg2 == NULL) {
22506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22507 }
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 {
22516 wxTreeItemId * resultptr;
22517 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22518 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22519 }
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22529 wxTreeItemId *arg2 = 0 ;
22530 PyObject *result;
22531 PyObject * obj0 = 0 ;
22532 PyObject * obj1 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self",(char *) "item", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22540 if (arg2 == NULL) {
22541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22542 }
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 resultobj = result;
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj;
22559 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22560 wxTreeItemId *arg2 = 0 ;
22561 wxTreeItemIdValue *arg3 = 0 ;
22562 PyObject *result;
22563 PyObject * obj0 = 0 ;
22564 PyObject * obj1 = 0 ;
22565 PyObject * obj2 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self",(char *) "item",(char *) "cookie", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22573 if (arg2 == NULL) {
22574 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22575 }
22576 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22577 if (arg3 == NULL) {
22578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22579 }
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22583
22584 wxPyEndAllowThreads(__tstate);
22585 if (PyErr_Occurred()) SWIG_fail;
22586 }
22587 resultobj = result;
22588 return resultobj;
22589 fail:
22590 return NULL;
22591 }
22592
22593
22594 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22597 wxTreeItemId *arg2 = 0 ;
22598 wxTreeItemId result;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self",(char *) "item", NULL
22603 };
22604
22605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22608 if (arg2 == NULL) {
22609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22610 }
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22614
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 {
22619 wxTreeItemId * resultptr;
22620 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22621 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22622 }
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22632 wxTreeItemId *arg2 = 0 ;
22633 wxTreeItemId result;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self",(char *) "item", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22643 if (arg2 == NULL) {
22644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22645 }
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 {
22654 wxTreeItemId * resultptr;
22655 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22656 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22657 }
22658 return resultobj;
22659 fail:
22660 return NULL;
22661 }
22662
22663
22664 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj;
22666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22667 wxTreeItemId *arg2 = 0 ;
22668 wxTreeItemId result;
22669 PyObject * obj0 = 0 ;
22670 PyObject * obj1 = 0 ;
22671 char *kwnames[] = {
22672 (char *) "self",(char *) "item", NULL
22673 };
22674
22675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 if (arg2 == NULL) {
22679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22680 }
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 {
22689 wxTreeItemId * resultptr;
22690 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22691 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22692 }
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj;
22701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22702 wxTreeItemId result;
22703 PyObject * obj0 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 {
22718 wxTreeItemId * resultptr;
22719 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22720 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22721 }
22722 return resultobj;
22723 fail:
22724 return NULL;
22725 }
22726
22727
22728 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj;
22730 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22731 wxTreeItemId *arg2 = 0 ;
22732 wxTreeItemId result;
22733 PyObject * obj0 = 0 ;
22734 PyObject * obj1 = 0 ;
22735 char *kwnames[] = {
22736 (char *) "self",(char *) "item", NULL
22737 };
22738
22739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22742 if (arg2 == NULL) {
22743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22744 }
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 {
22753 wxTreeItemId * resultptr;
22754 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22755 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22756 }
22757 return resultobj;
22758 fail:
22759 return NULL;
22760 }
22761
22762
22763 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22764 PyObject *resultobj;
22765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22766 wxTreeItemId *arg2 = 0 ;
22767 wxTreeItemId result;
22768 PyObject * obj0 = 0 ;
22769 PyObject * obj1 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self",(char *) "item", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22777 if (arg2 == NULL) {
22778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22779 }
22780 {
22781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22782 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22783
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 {
22788 wxTreeItemId * resultptr;
22789 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22790 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22791 }
22792 return resultobj;
22793 fail:
22794 return NULL;
22795 }
22796
22797
22798 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22799 PyObject *resultobj;
22800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22801 wxString *arg2 = 0 ;
22802 int arg3 = (int) -1 ;
22803 int arg4 = (int) -1 ;
22804 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22805 wxTreeItemId result;
22806 bool temp2 = False ;
22807 PyObject * obj0 = 0 ;
22808 PyObject * obj1 = 0 ;
22809 PyObject * obj4 = 0 ;
22810 char *kwnames[] = {
22811 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22812 };
22813
22814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22816 {
22817 arg2 = wxString_in_helper(obj1);
22818 if (arg2 == NULL) SWIG_fail;
22819 temp2 = True;
22820 }
22821 if (obj4) {
22822 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22823 }
22824 {
22825 PyThreadState* __tstate = wxPyBeginAllowThreads();
22826 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22827
22828 wxPyEndAllowThreads(__tstate);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 }
22831 {
22832 wxTreeItemId * resultptr;
22833 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22834 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22835 }
22836 {
22837 if (temp2)
22838 delete arg2;
22839 }
22840 return resultobj;
22841 fail:
22842 {
22843 if (temp2)
22844 delete arg2;
22845 }
22846 return NULL;
22847 }
22848
22849
22850 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22851 PyObject *resultobj;
22852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22853 wxTreeItemId *arg2 = 0 ;
22854 wxString *arg3 = 0 ;
22855 int arg4 = (int) -1 ;
22856 int arg5 = (int) -1 ;
22857 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22858 wxTreeItemId result;
22859 bool temp3 = False ;
22860 PyObject * obj0 = 0 ;
22861 PyObject * obj1 = 0 ;
22862 PyObject * obj2 = 0 ;
22863 PyObject * obj5 = 0 ;
22864 char *kwnames[] = {
22865 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22866 };
22867
22868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22871 if (arg2 == NULL) {
22872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22873 }
22874 {
22875 arg3 = wxString_in_helper(obj2);
22876 if (arg3 == NULL) SWIG_fail;
22877 temp3 = True;
22878 }
22879 if (obj5) {
22880 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22881 }
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22885
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 {
22890 wxTreeItemId * resultptr;
22891 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22892 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22893 }
22894 {
22895 if (temp3)
22896 delete arg3;
22897 }
22898 return resultobj;
22899 fail:
22900 {
22901 if (temp3)
22902 delete arg3;
22903 }
22904 return NULL;
22905 }
22906
22907
22908 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj;
22910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22911 wxTreeItemId *arg2 = 0 ;
22912 wxTreeItemId *arg3 = 0 ;
22913 wxString *arg4 = 0 ;
22914 int arg5 = (int) -1 ;
22915 int arg6 = (int) -1 ;
22916 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22917 wxTreeItemId result;
22918 bool temp4 = False ;
22919 PyObject * obj0 = 0 ;
22920 PyObject * obj1 = 0 ;
22921 PyObject * obj2 = 0 ;
22922 PyObject * obj3 = 0 ;
22923 PyObject * obj6 = 0 ;
22924 char *kwnames[] = {
22925 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22926 };
22927
22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) 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 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22935 if (arg3 == NULL) {
22936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22937 }
22938 {
22939 arg4 = wxString_in_helper(obj3);
22940 if (arg4 == NULL) SWIG_fail;
22941 temp4 = True;
22942 }
22943 if (obj6) {
22944 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22945 }
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 {
22954 wxTreeItemId * resultptr;
22955 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22956 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22957 }
22958 {
22959 if (temp4)
22960 delete arg4;
22961 }
22962 return resultobj;
22963 fail:
22964 {
22965 if (temp4)
22966 delete arg4;
22967 }
22968 return NULL;
22969 }
22970
22971
22972 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj;
22974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22975 wxTreeItemId *arg2 = 0 ;
22976 size_t arg3 ;
22977 wxString *arg4 = 0 ;
22978 int arg5 = (int) -1 ;
22979 int arg6 = (int) -1 ;
22980 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22981 wxTreeItemId result;
22982 bool temp4 = False ;
22983 PyObject * obj0 = 0 ;
22984 PyObject * obj1 = 0 ;
22985 PyObject * obj2 = 0 ;
22986 PyObject * obj3 = 0 ;
22987 PyObject * obj6 = 0 ;
22988 char *kwnames[] = {
22989 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22990 };
22991
22992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22995 if (arg2 == NULL) {
22996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22997 }
22998 arg3 = (size_t) PyInt_AsLong(obj2);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 {
23001 arg4 = wxString_in_helper(obj3);
23002 if (arg4 == NULL) SWIG_fail;
23003 temp4 = True;
23004 }
23005 if (obj6) {
23006 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23007 }
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23011
23012 wxPyEndAllowThreads(__tstate);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 {
23016 wxTreeItemId * resultptr;
23017 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23018 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23019 }
23020 {
23021 if (temp4)
23022 delete arg4;
23023 }
23024 return resultobj;
23025 fail:
23026 {
23027 if (temp4)
23028 delete arg4;
23029 }
23030 return NULL;
23031 }
23032
23033
23034 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23035 PyObject *resultobj;
23036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23037 wxTreeItemId *arg2 = 0 ;
23038 wxString *arg3 = 0 ;
23039 int arg4 = (int) -1 ;
23040 int arg5 = (int) -1 ;
23041 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23042 wxTreeItemId result;
23043 bool temp3 = False ;
23044 PyObject * obj0 = 0 ;
23045 PyObject * obj1 = 0 ;
23046 PyObject * obj2 = 0 ;
23047 PyObject * obj5 = 0 ;
23048 char *kwnames[] = {
23049 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23050 };
23051
23052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23055 if (arg2 == NULL) {
23056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23057 }
23058 {
23059 arg3 = wxString_in_helper(obj2);
23060 if (arg3 == NULL) SWIG_fail;
23061 temp3 = True;
23062 }
23063 if (obj5) {
23064 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23065 }
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 {
23074 wxTreeItemId * resultptr;
23075 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23076 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23077 }
23078 {
23079 if (temp3)
23080 delete arg3;
23081 }
23082 return resultobj;
23083 fail:
23084 {
23085 if (temp3)
23086 delete arg3;
23087 }
23088 return NULL;
23089 }
23090
23091
23092 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23093 PyObject *resultobj;
23094 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23095 wxTreeItemId *arg2 = 0 ;
23096 PyObject * obj0 = 0 ;
23097 PyObject * obj1 = 0 ;
23098 char *kwnames[] = {
23099 (char *) "self",(char *) "item", NULL
23100 };
23101
23102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23105 if (arg2 == NULL) {
23106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23107 }
23108 {
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 (arg1)->Delete((wxTreeItemId const &)*arg2);
23111
23112 wxPyEndAllowThreads(__tstate);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 }
23115 Py_INCREF(Py_None); resultobj = Py_None;
23116 return resultobj;
23117 fail:
23118 return NULL;
23119 }
23120
23121
23122 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23123 PyObject *resultobj;
23124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23125 wxTreeItemId *arg2 = 0 ;
23126 PyObject * obj0 = 0 ;
23127 PyObject * obj1 = 0 ;
23128 char *kwnames[] = {
23129 (char *) "self",(char *) "item", NULL
23130 };
23131
23132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23135 if (arg2 == NULL) {
23136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23137 }
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23141
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 Py_INCREF(Py_None); resultobj = Py_None;
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23155 PyObject * obj0 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 (arg1)->DeleteAllItems();
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 Py_INCREF(Py_None); resultobj = Py_None;
23170 return resultobj;
23171 fail:
23172 return NULL;
23173 }
23174
23175
23176 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23177 PyObject *resultobj;
23178 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23179 wxTreeItemId *arg2 = 0 ;
23180 PyObject * obj0 = 0 ;
23181 PyObject * obj1 = 0 ;
23182 char *kwnames[] = {
23183 (char *) "self",(char *) "item", NULL
23184 };
23185
23186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23189 if (arg2 == NULL) {
23190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23191 }
23192 {
23193 PyThreadState* __tstate = wxPyBeginAllowThreads();
23194 (arg1)->Expand((wxTreeItemId const &)*arg2);
23195
23196 wxPyEndAllowThreads(__tstate);
23197 if (PyErr_Occurred()) SWIG_fail;
23198 }
23199 Py_INCREF(Py_None); resultobj = Py_None;
23200 return resultobj;
23201 fail:
23202 return NULL;
23203 }
23204
23205
23206 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23207 PyObject *resultobj;
23208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23209 wxTreeItemId *arg2 = 0 ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self",(char *) "item", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23219 if (arg2 == NULL) {
23220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23221 }
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 Py_INCREF(Py_None); resultobj = Py_None;
23230 return resultobj;
23231 fail:
23232 return NULL;
23233 }
23234
23235
23236 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23237 PyObject *resultobj;
23238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23239 wxTreeItemId *arg2 = 0 ;
23240 PyObject * obj0 = 0 ;
23241 PyObject * obj1 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self",(char *) "item", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23249 if (arg2 == NULL) {
23250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23251 }
23252 {
23253 PyThreadState* __tstate = wxPyBeginAllowThreads();
23254 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23255
23256 wxPyEndAllowThreads(__tstate);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 }
23259 Py_INCREF(Py_None); resultobj = Py_None;
23260 return resultobj;
23261 fail:
23262 return NULL;
23263 }
23264
23265
23266 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23267 PyObject *resultobj;
23268 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23269 wxTreeItemId *arg2 = 0 ;
23270 PyObject * obj0 = 0 ;
23271 PyObject * obj1 = 0 ;
23272 char *kwnames[] = {
23273 (char *) "self",(char *) "item", NULL
23274 };
23275
23276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23279 if (arg2 == NULL) {
23280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23281 }
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 Py_INCREF(Py_None); resultobj = Py_None;
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23297 PyObject *resultobj;
23298 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23299 PyObject * obj0 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 (arg1)->Unselect();
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 Py_INCREF(Py_None); resultobj = Py_None;
23314 return resultobj;
23315 fail:
23316 return NULL;
23317 }
23318
23319
23320 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23321 PyObject *resultobj;
23322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23323 PyObject * obj0 = 0 ;
23324 char *kwnames[] = {
23325 (char *) "self", NULL
23326 };
23327
23328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 (arg1)->UnselectAll();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 Py_INCREF(Py_None); resultobj = Py_None;
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23347 wxTreeItemId *arg2 = 0 ;
23348 PyObject * obj0 = 0 ;
23349 PyObject * obj1 = 0 ;
23350 char *kwnames[] = {
23351 (char *) "self",(char *) "item", NULL
23352 };
23353
23354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23357 if (arg2 == NULL) {
23358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23359 }
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 Py_INCREF(Py_None); resultobj = Py_None;
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj;
23376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23377 wxTreeItemId *arg2 = 0 ;
23378 PyObject * obj0 = 0 ;
23379 PyObject * obj1 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "item", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23387 if (arg2 == NULL) {
23388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23389 }
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 Py_INCREF(Py_None); resultobj = Py_None;
23398 return resultobj;
23399 fail:
23400 return NULL;
23401 }
23402
23403
23404 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23407 wxTreeItemId *arg2 = 0 ;
23408 PyObject * obj0 = 0 ;
23409 PyObject * obj1 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self",(char *) "item", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23417 if (arg2 == NULL) {
23418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23419 }
23420 {
23421 PyThreadState* __tstate = wxPyBeginAllowThreads();
23422 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 Py_INCREF(Py_None); resultobj = Py_None;
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj;
23436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23437 wxTreeItemId *arg2 = 0 ;
23438 PyObject * obj0 = 0 ;
23439 PyObject * obj1 = 0 ;
23440 char *kwnames[] = {
23441 (char *) "self",(char *) "item", NULL
23442 };
23443
23444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23447 if (arg2 == NULL) {
23448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23449 }
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 Py_INCREF(Py_None); resultobj = Py_None;
23458 return resultobj;
23459 fail:
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23467 wxTextCtrl *result;
23468 PyObject * obj0 = 0 ;
23469 char *kwnames[] = {
23470 (char *) "self", NULL
23471 };
23472
23473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 {
23483 resultobj = wxPyMake_wxObject(result);
23484 }
23485 return resultobj;
23486 fail:
23487 return NULL;
23488 }
23489
23490
23491 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23492 PyObject *resultobj;
23493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23494 wxTreeItemId *arg2 = 0 ;
23495 bool arg3 = (bool) False ;
23496 PyObject * obj0 = 0 ;
23497 PyObject * obj1 = 0 ;
23498 PyObject * obj2 = 0 ;
23499 char *kwnames[] = {
23500 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23501 };
23502
23503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
23504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23506 if (arg2 == NULL) {
23507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23508 }
23509 if (obj2) {
23510 arg3 = PyInt_AsLong(obj2) ? true : false;
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 {
23514 PyThreadState* __tstate = wxPyBeginAllowThreads();
23515 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23516
23517 wxPyEndAllowThreads(__tstate);
23518 if (PyErr_Occurred()) SWIG_fail;
23519 }
23520 Py_INCREF(Py_None); resultobj = Py_None;
23521 return resultobj;
23522 fail:
23523 return NULL;
23524 }
23525
23526
23527 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj;
23529 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23530 wxTreeItemId *arg2 = 0 ;
23531 PyObject * obj0 = 0 ;
23532 PyObject * obj1 = 0 ;
23533 char *kwnames[] = {
23534 (char *) "self",(char *) "item", NULL
23535 };
23536
23537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23540 if (arg2 == NULL) {
23541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23542 }
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 Py_INCREF(Py_None); resultobj = Py_None;
23551 return resultobj;
23552 fail:
23553 return NULL;
23554 }
23555
23556
23557 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23558 PyObject *resultobj;
23559 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23560 wxPoint *arg2 = 0 ;
23561 int *arg3 = 0 ;
23562 wxTreeItemId result;
23563 wxPoint temp2 ;
23564 int temp3 ;
23565 PyObject * obj0 = 0 ;
23566 PyObject * obj1 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self",(char *) "point", NULL
23569 };
23570
23571 arg3 = &temp3;
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23574 {
23575 arg2 = &temp2;
23576 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23577 }
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 {
23586 wxTreeItemId * resultptr;
23587 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23588 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23589 }
23590 {
23591 PyObject *o = PyInt_FromLong((long) (*arg3));
23592 resultobj = t_output_helper(resultobj,o);
23593 }
23594 return resultobj;
23595 fail:
23596 return NULL;
23597 }
23598
23599
23600 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23601 PyObject *resultobj;
23602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23603 wxTreeItemId *arg2 = 0 ;
23604 bool arg3 = (bool) False ;
23605 PyObject *result;
23606 PyObject * obj0 = 0 ;
23607 PyObject * obj1 = 0 ;
23608 PyObject * obj2 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23616 if (arg2 == NULL) {
23617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23618 }
23619 if (obj2) {
23620 arg3 = PyInt_AsLong(obj2) ? true : false;
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
23623 {
23624 PyThreadState* __tstate = wxPyBeginAllowThreads();
23625 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23626
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
23630 resultobj = result;
23631 return resultobj;
23632 fail:
23633 return NULL;
23634 }
23635
23636
23637 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23638 PyObject *obj;
23639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23640 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23641 Py_INCREF(obj);
23642 return Py_BuildValue((char *)"");
23643 }
23644 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23645 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23646 return 1;
23647 }
23648
23649
23650 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23651 PyObject *pyobj;
23652
23653 {
23654 #if wxUSE_UNICODE
23655 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23656 #else
23657 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23658 #endif
23659 }
23660 return pyobj;
23661 }
23662
23663
23664 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 wxWindow *arg1 = (wxWindow *) 0 ;
23667 int arg2 = (int) (int)-1 ;
23668 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23669 wxString *arg3 = (wxString *) &arg3_defvalue ;
23670 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23671 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23672 wxSize const &arg5_defvalue = wxDefaultSize ;
23673 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23674 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23675 wxString const &arg7_defvalue = wxPyEmptyString ;
23676 wxString *arg7 = (wxString *) &arg7_defvalue ;
23677 int arg8 = (int) 0 ;
23678 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23679 wxString *arg9 = (wxString *) &arg9_defvalue ;
23680 wxGenericDirCtrl *result;
23681 bool temp3 = False ;
23682 wxPoint temp4 ;
23683 wxSize temp5 ;
23684 bool temp7 = False ;
23685 bool temp9 = False ;
23686 PyObject * obj0 = 0 ;
23687 PyObject * obj2 = 0 ;
23688 PyObject * obj3 = 0 ;
23689 PyObject * obj4 = 0 ;
23690 PyObject * obj6 = 0 ;
23691 PyObject * obj8 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23698 if (obj2) {
23699 {
23700 arg3 = wxString_in_helper(obj2);
23701 if (arg3 == NULL) SWIG_fail;
23702 temp3 = True;
23703 }
23704 }
23705 if (obj3) {
23706 {
23707 arg4 = &temp4;
23708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23709 }
23710 }
23711 if (obj4) {
23712 {
23713 arg5 = &temp5;
23714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23715 }
23716 }
23717 if (obj6) {
23718 {
23719 arg7 = wxString_in_helper(obj6);
23720 if (arg7 == NULL) SWIG_fail;
23721 temp7 = True;
23722 }
23723 }
23724 if (obj8) {
23725 {
23726 arg9 = wxString_in_helper(obj8);
23727 if (arg9 == NULL) SWIG_fail;
23728 temp9 = True;
23729 }
23730 }
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23739 {
23740 if (temp3)
23741 delete arg3;
23742 }
23743 {
23744 if (temp7)
23745 delete arg7;
23746 }
23747 {
23748 if (temp9)
23749 delete arg9;
23750 }
23751 return resultobj;
23752 fail:
23753 {
23754 if (temp3)
23755 delete arg3;
23756 }
23757 {
23758 if (temp7)
23759 delete arg7;
23760 }
23761 {
23762 if (temp9)
23763 delete arg9;
23764 }
23765 return NULL;
23766 }
23767
23768
23769 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23770 PyObject *resultobj;
23771 wxGenericDirCtrl *result;
23772 char *kwnames[] = {
23773 NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23780
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23785 return resultobj;
23786 fail:
23787 return NULL;
23788 }
23789
23790
23791 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23792 PyObject *resultobj;
23793 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23794 wxWindow *arg2 = (wxWindow *) 0 ;
23795 int arg3 = (int) (int)-1 ;
23796 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23797 wxString *arg4 = (wxString *) &arg4_defvalue ;
23798 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23799 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23800 wxSize const &arg6_defvalue = wxDefaultSize ;
23801 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23802 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23803 wxString const &arg8_defvalue = wxPyEmptyString ;
23804 wxString *arg8 = (wxString *) &arg8_defvalue ;
23805 int arg9 = (int) 0 ;
23806 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23807 wxString *arg10 = (wxString *) &arg10_defvalue ;
23808 bool result;
23809 bool temp4 = False ;
23810 wxPoint temp5 ;
23811 wxSize temp6 ;
23812 bool temp8 = False ;
23813 bool temp10 = False ;
23814 PyObject * obj0 = 0 ;
23815 PyObject * obj1 = 0 ;
23816 PyObject * obj3 = 0 ;
23817 PyObject * obj4 = 0 ;
23818 PyObject * obj5 = 0 ;
23819 PyObject * obj7 = 0 ;
23820 PyObject * obj9 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23827 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23828 if (obj3) {
23829 {
23830 arg4 = wxString_in_helper(obj3);
23831 if (arg4 == NULL) SWIG_fail;
23832 temp4 = True;
23833 }
23834 }
23835 if (obj4) {
23836 {
23837 arg5 = &temp5;
23838 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23839 }
23840 }
23841 if (obj5) {
23842 {
23843 arg6 = &temp6;
23844 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23845 }
23846 }
23847 if (obj7) {
23848 {
23849 arg8 = wxString_in_helper(obj7);
23850 if (arg8 == NULL) SWIG_fail;
23851 temp8 = True;
23852 }
23853 }
23854 if (obj9) {
23855 {
23856 arg10 = wxString_in_helper(obj9);
23857 if (arg10 == NULL) SWIG_fail;
23858 temp10 = True;
23859 }
23860 }
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 resultobj = PyInt_FromLong((long)result);
23869 {
23870 if (temp4)
23871 delete arg4;
23872 }
23873 {
23874 if (temp8)
23875 delete arg8;
23876 }
23877 {
23878 if (temp10)
23879 delete arg10;
23880 }
23881 return resultobj;
23882 fail:
23883 {
23884 if (temp4)
23885 delete arg4;
23886 }
23887 {
23888 if (temp8)
23889 delete arg8;
23890 }
23891 {
23892 if (temp10)
23893 delete arg10;
23894 }
23895 return NULL;
23896 }
23897
23898
23899 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj;
23901 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23902 wxString *arg2 = 0 ;
23903 bool result;
23904 bool temp2 = False ;
23905 PyObject * obj0 = 0 ;
23906 PyObject * obj1 = 0 ;
23907 char *kwnames[] = {
23908 (char *) "self",(char *) "path", NULL
23909 };
23910
23911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23913 {
23914 arg2 = wxString_in_helper(obj1);
23915 if (arg2 == NULL) SWIG_fail;
23916 temp2 = True;
23917 }
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23921
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 resultobj = PyInt_FromLong((long)result);
23926 {
23927 if (temp2)
23928 delete arg2;
23929 }
23930 return resultobj;
23931 fail:
23932 {
23933 if (temp2)
23934 delete arg2;
23935 }
23936 return NULL;
23937 }
23938
23939
23940 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23941 PyObject *resultobj;
23942 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23943 wxString result;
23944 PyObject * obj0 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23954
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 {
23959 #if wxUSE_UNICODE
23960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23961 #else
23962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23963 #endif
23964 }
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj;
23973 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23974 wxString *arg2 = 0 ;
23975 bool temp2 = False ;
23976 PyObject * obj0 = 0 ;
23977 PyObject * obj1 = 0 ;
23978 char *kwnames[] = {
23979 (char *) "self",(char *) "path", NULL
23980 };
23981
23982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23984 {
23985 arg2 = wxString_in_helper(obj1);
23986 if (arg2 == NULL) SWIG_fail;
23987 temp2 = True;
23988 }
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 (arg1)->SetDefaultPath((wxString const &)*arg2);
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 Py_INCREF(Py_None); resultobj = Py_None;
23997 {
23998 if (temp2)
23999 delete arg2;
24000 }
24001 return resultobj;
24002 fail:
24003 {
24004 if (temp2)
24005 delete arg2;
24006 }
24007 return NULL;
24008 }
24009
24010
24011 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24012 PyObject *resultobj;
24013 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24014 wxString result;
24015 PyObject * obj0 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
24021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 {
24030 #if wxUSE_UNICODE
24031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24032 #else
24033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24034 #endif
24035 }
24036 return resultobj;
24037 fail:
24038 return NULL;
24039 }
24040
24041
24042 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj;
24044 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24045 wxString result;
24046 PyObject * obj0 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
24052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24053 {
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 {
24061 #if wxUSE_UNICODE
24062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24063 #else
24064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24065 #endif
24066 }
24067 return resultobj;
24068 fail:
24069 return NULL;
24070 }
24071
24072
24073 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24074 PyObject *resultobj;
24075 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24076 wxString *arg2 = 0 ;
24077 bool temp2 = False ;
24078 PyObject * obj0 = 0 ;
24079 PyObject * obj1 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self",(char *) "path", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
24085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24086 {
24087 arg2 = wxString_in_helper(obj1);
24088 if (arg2 == NULL) SWIG_fail;
24089 temp2 = True;
24090 }
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 (arg1)->SetPath((wxString const &)*arg2);
24094
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 Py_INCREF(Py_None); resultobj = Py_None;
24099 {
24100 if (temp2)
24101 delete arg2;
24102 }
24103 return resultobj;
24104 fail:
24105 {
24106 if (temp2)
24107 delete arg2;
24108 }
24109 return NULL;
24110 }
24111
24112
24113 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24116 bool arg2 ;
24117 PyObject * obj0 = 0 ;
24118 PyObject * obj1 = 0 ;
24119 char *kwnames[] = {
24120 (char *) "self",(char *) "show", NULL
24121 };
24122
24123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24125 arg2 = PyInt_AsLong(obj1) ? true : false;
24126 if (PyErr_Occurred()) SWIG_fail;
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 (arg1)->ShowHidden(arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 Py_INCREF(Py_None); resultobj = Py_None;
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24144 bool result;
24145 PyObject * obj0 = 0 ;
24146 char *kwnames[] = {
24147 (char *) "self", NULL
24148 };
24149
24150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 result = (bool)(arg1)->GetShowHidden();
24155
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 resultobj = PyInt_FromLong((long)result);
24160 return resultobj;
24161 fail:
24162 return NULL;
24163 }
24164
24165
24166 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24167 PyObject *resultobj;
24168 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24169 wxString result;
24170 PyObject * obj0 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24180
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 {
24185 #if wxUSE_UNICODE
24186 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24187 #else
24188 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24189 #endif
24190 }
24191 return resultobj;
24192 fail:
24193 return NULL;
24194 }
24195
24196
24197 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24198 PyObject *resultobj;
24199 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24200 wxString *arg2 = 0 ;
24201 bool temp2 = False ;
24202 PyObject * obj0 = 0 ;
24203 PyObject * obj1 = 0 ;
24204 char *kwnames[] = {
24205 (char *) "self",(char *) "filter", NULL
24206 };
24207
24208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24210 {
24211 arg2 = wxString_in_helper(obj1);
24212 if (arg2 == NULL) SWIG_fail;
24213 temp2 = True;
24214 }
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 (arg1)->SetFilter((wxString const &)*arg2);
24218
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 Py_INCREF(Py_None); resultobj = Py_None;
24223 {
24224 if (temp2)
24225 delete arg2;
24226 }
24227 return resultobj;
24228 fail:
24229 {
24230 if (temp2)
24231 delete arg2;
24232 }
24233 return NULL;
24234 }
24235
24236
24237 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24238 PyObject *resultobj;
24239 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24240 int result;
24241 PyObject * obj0 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self", NULL
24244 };
24245
24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 resultobj = PyInt_FromLong((long)result);
24256 return resultobj;
24257 fail:
24258 return NULL;
24259 }
24260
24261
24262 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24263 PyObject *resultobj;
24264 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24265 int arg2 ;
24266 PyObject * obj0 = 0 ;
24267 char *kwnames[] = {
24268 (char *) "self",(char *) "n", NULL
24269 };
24270
24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 (arg1)->SetFilterIndex(arg2);
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 Py_INCREF(Py_None); resultobj = Py_None;
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24290 wxTreeItemId result;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (arg1)->GetRootId();
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 wxTreeItemId * resultptr;
24307 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24308 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24309 }
24310 return resultobj;
24311 fail:
24312 return NULL;
24313 }
24314
24315
24316 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24319 wxPyTreeCtrl *result;
24320 PyObject * obj0 = 0 ;
24321 char *kwnames[] = {
24322 (char *) "self", NULL
24323 };
24324
24325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 resultobj = wxPyMake_wxObject(result);
24336 }
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24346 wxDirFilterListCtrl *result;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24362 return resultobj;
24363 fail:
24364 return NULL;
24365 }
24366
24367
24368 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24371 wxTreeItemId arg2 ;
24372 wxString *arg3 = 0 ;
24373 bool *arg4 = 0 ;
24374 wxTreeItemId result;
24375 wxTreeItemId *argp2 ;
24376 bool temp3 = False ;
24377 bool temp4 ;
24378 PyObject * obj0 = 0 ;
24379 PyObject * obj1 = 0 ;
24380 PyObject * obj2 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self",(char *) "parentId",(char *) "path", NULL
24383 };
24384
24385 arg4 = &temp4;
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24388 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24389 arg2 = *argp2;
24390 {
24391 arg3 = wxString_in_helper(obj2);
24392 if (arg3 == NULL) SWIG_fail;
24393 temp3 = True;
24394 }
24395 {
24396 PyThreadState* __tstate = wxPyBeginAllowThreads();
24397 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24398
24399 wxPyEndAllowThreads(__tstate);
24400 if (PyErr_Occurred()) SWIG_fail;
24401 }
24402 {
24403 wxTreeItemId * resultptr;
24404 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24405 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24406 }
24407 {
24408 PyObject *o = PyInt_FromLong((long) (*arg4));
24409 resultobj = t_output_helper(resultobj,o);
24410 }
24411 {
24412 if (temp3)
24413 delete arg3;
24414 }
24415 return resultobj;
24416 fail:
24417 {
24418 if (temp3)
24419 delete arg3;
24420 }
24421 return NULL;
24422 }
24423
24424
24425 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24426 PyObject *resultobj;
24427 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24428 PyObject * obj0 = 0 ;
24429 char *kwnames[] = {
24430 (char *) "self", NULL
24431 };
24432
24433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 (arg1)->DoResize();
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 Py_INCREF(Py_None); resultobj = Py_None;
24443 return resultobj;
24444 fail:
24445 return NULL;
24446 }
24447
24448
24449 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj;
24451 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24452 PyObject * obj0 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "self", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 (arg1)->ReCreateTree();
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 Py_INCREF(Py_None); resultobj = Py_None;
24467 return resultobj;
24468 fail:
24469 return NULL;
24470 }
24471
24472
24473 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24474 PyObject *obj;
24475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24476 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24477 Py_INCREF(obj);
24478 return Py_BuildValue((char *)"");
24479 }
24480 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj;
24482 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24483 int arg2 = (int) (int)-1 ;
24484 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24485 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24486 wxSize const &arg4_defvalue = wxDefaultSize ;
24487 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24488 long arg5 = (long) 0 ;
24489 wxDirFilterListCtrl *result;
24490 wxPoint temp3 ;
24491 wxSize temp4 ;
24492 PyObject * obj0 = 0 ;
24493 PyObject * obj2 = 0 ;
24494 PyObject * obj3 = 0 ;
24495 char *kwnames[] = {
24496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24497 };
24498
24499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24501 if (obj2) {
24502 {
24503 arg3 = &temp3;
24504 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24505 }
24506 }
24507 if (obj3) {
24508 {
24509 arg4 = &temp4;
24510 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24511 }
24512 }
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24516
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24521 return resultobj;
24522 fail:
24523 return NULL;
24524 }
24525
24526
24527 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24528 PyObject *resultobj;
24529 wxDirFilterListCtrl *result;
24530 char *kwnames[] = {
24531 NULL
24532 };
24533
24534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24543 return resultobj;
24544 fail:
24545 return NULL;
24546 }
24547
24548
24549 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj;
24551 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24552 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24553 int arg3 = (int) (int)-1 ;
24554 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24555 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24556 wxSize const &arg5_defvalue = wxDefaultSize ;
24557 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24558 long arg6 = (long) 0 ;
24559 bool result;
24560 wxPoint temp4 ;
24561 wxSize temp5 ;
24562 PyObject * obj0 = 0 ;
24563 PyObject * obj1 = 0 ;
24564 PyObject * obj3 = 0 ;
24565 PyObject * obj4 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24573 if (obj3) {
24574 {
24575 arg4 = &temp4;
24576 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24577 }
24578 }
24579 if (obj4) {
24580 {
24581 arg5 = &temp5;
24582 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24583 }
24584 }
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 resultobj = PyInt_FromLong((long)result);
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24602 wxString *arg2 = 0 ;
24603 int arg3 ;
24604 bool temp2 = False ;
24605 PyObject * obj0 = 0 ;
24606 PyObject * obj1 = 0 ;
24607 char *kwnames[] = {
24608 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24609 };
24610
24611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24613 {
24614 arg2 = wxString_in_helper(obj1);
24615 if (arg2 == NULL) SWIG_fail;
24616 temp2 = True;
24617 }
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24621
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 Py_INCREF(Py_None); resultobj = Py_None;
24626 {
24627 if (temp2)
24628 delete arg2;
24629 }
24630 return resultobj;
24631 fail:
24632 {
24633 if (temp2)
24634 delete arg2;
24635 }
24636 return NULL;
24637 }
24638
24639
24640 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24641 PyObject *obj;
24642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24643 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24644 Py_INCREF(obj);
24645 return Py_BuildValue((char *)"");
24646 }
24647 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxWindow *arg1 = (wxWindow *) 0 ;
24650 int arg2 ;
24651 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24652 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24653 wxSize const &arg4_defvalue = wxDefaultSize ;
24654 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24655 long arg5 = (long) 0 ;
24656 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24657 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24658 wxString const &arg7_defvalue = wxPyControlNameStr ;
24659 wxString *arg7 = (wxString *) &arg7_defvalue ;
24660 wxPyControl *result;
24661 wxPoint temp3 ;
24662 wxSize temp4 ;
24663 bool temp7 = False ;
24664 PyObject * obj0 = 0 ;
24665 PyObject * obj2 = 0 ;
24666 PyObject * obj3 = 0 ;
24667 PyObject * obj5 = 0 ;
24668 PyObject * obj6 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24675 if (obj2) {
24676 {
24677 arg3 = &temp3;
24678 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24679 }
24680 }
24681 if (obj3) {
24682 {
24683 arg4 = &temp4;
24684 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24685 }
24686 }
24687 if (obj5) {
24688 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24689 if (arg6 == NULL) {
24690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24691 }
24692 }
24693 if (obj6) {
24694 {
24695 arg7 = wxString_in_helper(obj6);
24696 if (arg7 == NULL) SWIG_fail;
24697 temp7 = True;
24698 }
24699 }
24700 {
24701 PyThreadState* __tstate = wxPyBeginAllowThreads();
24702 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24703
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24708 {
24709 if (temp7)
24710 delete arg7;
24711 }
24712 return resultobj;
24713 fail:
24714 {
24715 if (temp7)
24716 delete arg7;
24717 }
24718 return NULL;
24719 }
24720
24721
24722 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj;
24724 wxPyControl *arg1 = (wxPyControl *) 0 ;
24725 PyObject *arg2 = (PyObject *) 0 ;
24726 PyObject *arg3 = (PyObject *) 0 ;
24727 PyObject * obj0 = 0 ;
24728 PyObject * obj1 = 0 ;
24729 PyObject * obj2 = 0 ;
24730 char *kwnames[] = {
24731 (char *) "self",(char *) "self",(char *) "_class", NULL
24732 };
24733
24734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24736 arg2 = obj1;
24737 arg3 = obj2;
24738 {
24739 PyThreadState* __tstate = wxPyBeginAllowThreads();
24740 (arg1)->_setCallbackInfo(arg2,arg3);
24741
24742 wxPyEndAllowThreads(__tstate);
24743 if (PyErr_Occurred()) SWIG_fail;
24744 }
24745 Py_INCREF(Py_None); resultobj = Py_None;
24746 return resultobj;
24747 fail:
24748 return NULL;
24749 }
24750
24751
24752 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24753 PyObject *resultobj;
24754 wxPyControl *arg1 = (wxPyControl *) 0 ;
24755 int arg2 ;
24756 int arg3 ;
24757 int arg4 ;
24758 int arg5 ;
24759 PyObject * obj0 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24766 {
24767 PyThreadState* __tstate = wxPyBeginAllowThreads();
24768 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24769
24770 wxPyEndAllowThreads(__tstate);
24771 if (PyErr_Occurred()) SWIG_fail;
24772 }
24773 Py_INCREF(Py_None); resultobj = Py_None;
24774 return resultobj;
24775 fail:
24776 return NULL;
24777 }
24778
24779
24780 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj;
24782 wxPyControl *arg1 = (wxPyControl *) 0 ;
24783 int arg2 ;
24784 int arg3 ;
24785 int arg4 ;
24786 int arg5 ;
24787 int arg6 = (int) wxSIZE_AUTO ;
24788 PyObject * obj0 = 0 ;
24789 char *kwnames[] = {
24790 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24791 };
24792
24793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24798
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 Py_INCREF(Py_None); resultobj = Py_None;
24803 return resultobj;
24804 fail:
24805 return NULL;
24806 }
24807
24808
24809 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24810 PyObject *resultobj;
24811 wxPyControl *arg1 = (wxPyControl *) 0 ;
24812 int arg2 ;
24813 int arg3 ;
24814 PyObject * obj0 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self",(char *) "width",(char *) "height", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24821 {
24822 PyThreadState* __tstate = wxPyBeginAllowThreads();
24823 (arg1)->base_DoSetClientSize(arg2,arg3);
24824
24825 wxPyEndAllowThreads(__tstate);
24826 if (PyErr_Occurred()) SWIG_fail;
24827 }
24828 Py_INCREF(Py_None); resultobj = Py_None;
24829 return resultobj;
24830 fail:
24831 return NULL;
24832 }
24833
24834
24835 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24836 PyObject *resultobj;
24837 wxPyControl *arg1 = (wxPyControl *) 0 ;
24838 int arg2 ;
24839 int arg3 ;
24840 PyObject * obj0 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self",(char *) "x",(char *) "y", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24850
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 Py_INCREF(Py_None); resultobj = Py_None;
24855 return resultobj;
24856 fail:
24857 return NULL;
24858 }
24859
24860
24861 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24862 PyObject *resultobj;
24863 wxPyControl *arg1 = (wxPyControl *) 0 ;
24864 int *arg2 = (int *) 0 ;
24865 int *arg3 = (int *) 0 ;
24866 int temp2 ;
24867 int temp3 ;
24868 PyObject * obj0 = 0 ;
24869 char *kwnames[] = {
24870 (char *) "self", NULL
24871 };
24872
24873 arg2 = &temp2;
24874 arg3 = &temp3;
24875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 Py_INCREF(Py_None); resultobj = Py_None;
24885 {
24886 PyObject *o = PyInt_FromLong((long) (*arg2));
24887 resultobj = t_output_helper(resultobj,o);
24888 }
24889 {
24890 PyObject *o = PyInt_FromLong((long) (*arg3));
24891 resultobj = t_output_helper(resultobj,o);
24892 }
24893 return resultobj;
24894 fail:
24895 return NULL;
24896 }
24897
24898
24899 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24900 PyObject *resultobj;
24901 wxPyControl *arg1 = (wxPyControl *) 0 ;
24902 int *arg2 = (int *) 0 ;
24903 int *arg3 = (int *) 0 ;
24904 int temp2 ;
24905 int temp3 ;
24906 PyObject * obj0 = 0 ;
24907 char *kwnames[] = {
24908 (char *) "self", NULL
24909 };
24910
24911 arg2 = &temp2;
24912 arg3 = &temp3;
24913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 Py_INCREF(Py_None); resultobj = Py_None;
24923 {
24924 PyObject *o = PyInt_FromLong((long) (*arg2));
24925 resultobj = t_output_helper(resultobj,o);
24926 }
24927 {
24928 PyObject *o = PyInt_FromLong((long) (*arg3));
24929 resultobj = t_output_helper(resultobj,o);
24930 }
24931 return resultobj;
24932 fail:
24933 return NULL;
24934 }
24935
24936
24937 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24938 PyObject *resultobj;
24939 wxPyControl *arg1 = (wxPyControl *) 0 ;
24940 int *arg2 = (int *) 0 ;
24941 int *arg3 = (int *) 0 ;
24942 int temp2 ;
24943 int temp3 ;
24944 PyObject * obj0 = 0 ;
24945 char *kwnames[] = {
24946 (char *) "self", NULL
24947 };
24948
24949 arg2 = &temp2;
24950 arg3 = &temp3;
24951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
24955 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24956
24957 wxPyEndAllowThreads(__tstate);
24958 if (PyErr_Occurred()) SWIG_fail;
24959 }
24960 Py_INCREF(Py_None); resultobj = Py_None;
24961 {
24962 PyObject *o = PyInt_FromLong((long) (*arg2));
24963 resultobj = t_output_helper(resultobj,o);
24964 }
24965 {
24966 PyObject *o = PyInt_FromLong((long) (*arg3));
24967 resultobj = t_output_helper(resultobj,o);
24968 }
24969 return resultobj;
24970 fail:
24971 return NULL;
24972 }
24973
24974
24975 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj;
24977 wxPyControl *arg1 = (wxPyControl *) 0 ;
24978 wxSize result;
24979 PyObject * obj0 = 0 ;
24980 char *kwnames[] = {
24981 (char *) "self", NULL
24982 };
24983
24984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24989
24990 wxPyEndAllowThreads(__tstate);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 {
24994 wxSize * resultptr;
24995 resultptr = new wxSize((wxSize &) result);
24996 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24997 }
24998 return resultobj;
24999 fail:
25000 return NULL;
25001 }
25002
25003
25004 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25005 PyObject *resultobj;
25006 wxPyControl *arg1 = (wxPyControl *) 0 ;
25007 wxSize result;
25008 PyObject * obj0 = 0 ;
25009 char *kwnames[] = {
25010 (char *) "self", NULL
25011 };
25012
25013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
25014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 {
25023 wxSize * resultptr;
25024 resultptr = new wxSize((wxSize &) result);
25025 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25026 }
25027 return resultobj;
25028 fail:
25029 return NULL;
25030 }
25031
25032
25033 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25034 PyObject *resultobj;
25035 wxPyControl *arg1 = (wxPyControl *) 0 ;
25036 PyObject * obj0 = 0 ;
25037 char *kwnames[] = {
25038 (char *) "self", NULL
25039 };
25040
25041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
25042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 (arg1)->base_InitDialog();
25046
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 Py_INCREF(Py_None); resultobj = Py_None;
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj;
25059 wxPyControl *arg1 = (wxPyControl *) 0 ;
25060 bool result;
25061 PyObject * obj0 = 0 ;
25062 char *kwnames[] = {
25063 (char *) "self", NULL
25064 };
25065
25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
25067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25068 {
25069 PyThreadState* __tstate = wxPyBeginAllowThreads();
25070 result = (bool)(arg1)->base_TransferDataToWindow();
25071
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
25075 resultobj = PyInt_FromLong((long)result);
25076 return resultobj;
25077 fail:
25078 return NULL;
25079 }
25080
25081
25082 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25083 PyObject *resultobj;
25084 wxPyControl *arg1 = (wxPyControl *) 0 ;
25085 bool result;
25086 PyObject * obj0 = 0 ;
25087 char *kwnames[] = {
25088 (char *) "self", NULL
25089 };
25090
25091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 result = (bool)(arg1)->base_TransferDataFromWindow();
25096
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
25100 resultobj = PyInt_FromLong((long)result);
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25108 PyObject *resultobj;
25109 wxPyControl *arg1 = (wxPyControl *) 0 ;
25110 bool result;
25111 PyObject * obj0 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self", NULL
25114 };
25115
25116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 result = (bool)(arg1)->base_Validate();
25121
25122 wxPyEndAllowThreads(__tstate);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 resultobj = PyInt_FromLong((long)result);
25126 return resultobj;
25127 fail:
25128 return NULL;
25129 }
25130
25131
25132 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25133 PyObject *resultobj;
25134 wxPyControl *arg1 = (wxPyControl *) 0 ;
25135 bool result;
25136 PyObject * obj0 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "self", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 resultobj = PyInt_FromLong((long)result);
25151 return resultobj;
25152 fail:
25153 return NULL;
25154 }
25155
25156
25157 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25158 PyObject *resultobj;
25159 wxPyControl *arg1 = (wxPyControl *) 0 ;
25160 bool result;
25161 PyObject * obj0 = 0 ;
25162 char *kwnames[] = {
25163 (char *) "self", NULL
25164 };
25165
25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25171
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 resultobj = PyInt_FromLong((long)result);
25176 return resultobj;
25177 fail:
25178 return NULL;
25179 }
25180
25181
25182 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25183 PyObject *resultobj;
25184 wxPyControl *arg1 = (wxPyControl *) 0 ;
25185 wxSize result;
25186 PyObject * obj0 = 0 ;
25187 char *kwnames[] = {
25188 (char *) "self", NULL
25189 };
25190
25191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
25195 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25196
25197 wxPyEndAllowThreads(__tstate);
25198 if (PyErr_Occurred()) SWIG_fail;
25199 }
25200 {
25201 wxSize * resultptr;
25202 resultptr = new wxSize((wxSize &) result);
25203 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25204 }
25205 return resultobj;
25206 fail:
25207 return NULL;
25208 }
25209
25210
25211 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25212 PyObject *resultobj;
25213 wxPyControl *arg1 = (wxPyControl *) 0 ;
25214 wxWindow *arg2 = (wxWindow *) 0 ;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "self",(char *) "child", NULL
25219 };
25220
25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 (arg1)->base_AddChild(arg2);
25227
25228 wxPyEndAllowThreads(__tstate);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 }
25231 Py_INCREF(Py_None); resultobj = Py_None;
25232 return resultobj;
25233 fail:
25234 return NULL;
25235 }
25236
25237
25238 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25239 PyObject *resultobj;
25240 wxPyControl *arg1 = (wxPyControl *) 0 ;
25241 wxWindow *arg2 = (wxWindow *) 0 ;
25242 PyObject * obj0 = 0 ;
25243 PyObject * obj1 = 0 ;
25244 char *kwnames[] = {
25245 (char *) "self",(char *) "child", NULL
25246 };
25247
25248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25251 {
25252 PyThreadState* __tstate = wxPyBeginAllowThreads();
25253 (arg1)->base_RemoveChild(arg2);
25254
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 Py_INCREF(Py_None); resultobj = Py_None;
25259 return resultobj;
25260 fail:
25261 return NULL;
25262 }
25263
25264
25265 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25266 PyObject *obj;
25267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25268 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25269 Py_INCREF(obj);
25270 return Py_BuildValue((char *)"");
25271 }
25272 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25273 PyObject *resultobj;
25274 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25275 int arg2 = (int) 0 ;
25276 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25277 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25278 wxHelpEvent *result;
25279 wxPoint temp3 ;
25280 PyObject * obj2 = 0 ;
25281 char *kwnames[] = {
25282 (char *) "type",(char *) "winid",(char *) "pt", NULL
25283 };
25284
25285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25286 if (obj2) {
25287 {
25288 arg3 = &temp3;
25289 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25290 }
25291 }
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25295
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25300 return resultobj;
25301 fail:
25302 return NULL;
25303 }
25304
25305
25306 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj;
25308 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25309 wxPoint *result;
25310 PyObject * obj0 = 0 ;
25311 char *kwnames[] = {
25312 (char *) "self", NULL
25313 };
25314
25315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25317 {
25318 PyThreadState* __tstate = wxPyBeginAllowThreads();
25319 {
25320 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25321 result = (wxPoint *) &_result_ref;
25322 }
25323
25324 wxPyEndAllowThreads(__tstate);
25325 if (PyErr_Occurred()) SWIG_fail;
25326 }
25327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25328 return resultobj;
25329 fail:
25330 return NULL;
25331 }
25332
25333
25334 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25335 PyObject *resultobj;
25336 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25337 wxPoint *arg2 = 0 ;
25338 wxPoint temp2 ;
25339 PyObject * obj0 = 0 ;
25340 PyObject * obj1 = 0 ;
25341 char *kwnames[] = {
25342 (char *) "self",(char *) "pos", NULL
25343 };
25344
25345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25347 {
25348 arg2 = &temp2;
25349 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25350 }
25351 {
25352 PyThreadState* __tstate = wxPyBeginAllowThreads();
25353 (arg1)->SetPosition((wxPoint const &)*arg2);
25354
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
25358 Py_INCREF(Py_None); resultobj = Py_None;
25359 return resultobj;
25360 fail:
25361 return NULL;
25362 }
25363
25364
25365 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25366 PyObject *resultobj;
25367 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25368 wxString *result;
25369 PyObject * obj0 = 0 ;
25370 char *kwnames[] = {
25371 (char *) "self", NULL
25372 };
25373
25374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 {
25379 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25380 result = (wxString *) &_result_ref;
25381 }
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
25386 {
25387 #if wxUSE_UNICODE
25388 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25389 #else
25390 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25391 #endif
25392 }
25393 return resultobj;
25394 fail:
25395 return NULL;
25396 }
25397
25398
25399 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25400 PyObject *resultobj;
25401 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25402 wxString *arg2 = 0 ;
25403 bool temp2 = False ;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 char *kwnames[] = {
25407 (char *) "self",(char *) "link", NULL
25408 };
25409
25410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25412 {
25413 arg2 = wxString_in_helper(obj1);
25414 if (arg2 == NULL) SWIG_fail;
25415 temp2 = True;
25416 }
25417 {
25418 PyThreadState* __tstate = wxPyBeginAllowThreads();
25419 (arg1)->SetLink((wxString const &)*arg2);
25420
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 Py_INCREF(Py_None); resultobj = Py_None;
25425 {
25426 if (temp2)
25427 delete arg2;
25428 }
25429 return resultobj;
25430 fail:
25431 {
25432 if (temp2)
25433 delete arg2;
25434 }
25435 return NULL;
25436 }
25437
25438
25439 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj;
25441 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25442 wxString *result;
25443 PyObject * obj0 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "self", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 {
25453 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25454 result = (wxString *) &_result_ref;
25455 }
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 {
25461 #if wxUSE_UNICODE
25462 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25463 #else
25464 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25465 #endif
25466 }
25467 return resultobj;
25468 fail:
25469 return NULL;
25470 }
25471
25472
25473 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25474 PyObject *resultobj;
25475 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25476 wxString *arg2 = 0 ;
25477 bool temp2 = False ;
25478 PyObject * obj0 = 0 ;
25479 PyObject * obj1 = 0 ;
25480 char *kwnames[] = {
25481 (char *) "self",(char *) "target", NULL
25482 };
25483
25484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25486 {
25487 arg2 = wxString_in_helper(obj1);
25488 if (arg2 == NULL) SWIG_fail;
25489 temp2 = True;
25490 }
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 (arg1)->SetTarget((wxString const &)*arg2);
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 Py_INCREF(Py_None); resultobj = Py_None;
25499 {
25500 if (temp2)
25501 delete arg2;
25502 }
25503 return resultobj;
25504 fail:
25505 {
25506 if (temp2)
25507 delete arg2;
25508 }
25509 return NULL;
25510 }
25511
25512
25513 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25514 PyObject *obj;
25515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25516 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25517 Py_INCREF(obj);
25518 return Py_BuildValue((char *)"");
25519 }
25520 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25521 PyObject *resultobj;
25522 wxWindow *arg1 = (wxWindow *) NULL ;
25523 bool arg2 = (bool) True ;
25524 wxContextHelp *result;
25525 PyObject * obj0 = 0 ;
25526 PyObject * obj1 = 0 ;
25527 char *kwnames[] = {
25528 (char *) "window",(char *) "doNow", NULL
25529 };
25530
25531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25532 if (obj0) {
25533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25534 }
25535 if (obj1) {
25536 arg2 = PyInt_AsLong(obj1) ? true : false;
25537 if (PyErr_Occurred()) SWIG_fail;
25538 }
25539 {
25540 PyThreadState* __tstate = wxPyBeginAllowThreads();
25541 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25542
25543 wxPyEndAllowThreads(__tstate);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 }
25546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25547 return resultobj;
25548 fail:
25549 return NULL;
25550 }
25551
25552
25553 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25554 PyObject *resultobj;
25555 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25556 PyObject * obj0 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "self", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25563 {
25564 PyThreadState* __tstate = wxPyBeginAllowThreads();
25565 delete arg1;
25566
25567 wxPyEndAllowThreads(__tstate);
25568 if (PyErr_Occurred()) SWIG_fail;
25569 }
25570 Py_INCREF(Py_None); resultobj = Py_None;
25571 return resultobj;
25572 fail:
25573 return NULL;
25574 }
25575
25576
25577 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25578 PyObject *resultobj;
25579 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25580 wxWindow *arg2 = (wxWindow *) NULL ;
25581 bool result;
25582 PyObject * obj0 = 0 ;
25583 PyObject * obj1 = 0 ;
25584 char *kwnames[] = {
25585 (char *) "self",(char *) "window", NULL
25586 };
25587
25588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25590 if (obj1) {
25591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25592 }
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (bool)(arg1)->BeginContextHelp(arg2);
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 resultobj = PyInt_FromLong((long)result);
25601 return resultobj;
25602 fail:
25603 return NULL;
25604 }
25605
25606
25607 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25608 PyObject *resultobj;
25609 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25610 bool result;
25611 PyObject * obj0 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 result = (bool)(arg1)->EndContextHelp();
25621
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 resultobj = PyInt_FromLong((long)result);
25626 return resultobj;
25627 fail:
25628 return NULL;
25629 }
25630
25631
25632 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25633 PyObject *obj;
25634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25635 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25636 Py_INCREF(obj);
25637 return Py_BuildValue((char *)"");
25638 }
25639 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25640 PyObject *resultobj;
25641 wxWindow *arg1 = (wxWindow *) 0 ;
25642 int arg2 = (int) wxID_CONTEXT_HELP ;
25643 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25644 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25645 wxSize const &arg4_defvalue = wxDefaultSize ;
25646 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25647 long arg5 = (long) wxBU_AUTODRAW ;
25648 wxContextHelpButton *result;
25649 wxPoint temp3 ;
25650 wxSize temp4 ;
25651 PyObject * obj0 = 0 ;
25652 PyObject * obj2 = 0 ;
25653 PyObject * obj3 = 0 ;
25654 char *kwnames[] = {
25655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25656 };
25657
25658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25660 if (obj2) {
25661 {
25662 arg3 = &temp3;
25663 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25664 }
25665 }
25666 if (obj3) {
25667 {
25668 arg4 = &temp4;
25669 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25670 }
25671 }
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25675
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25680 return resultobj;
25681 fail:
25682 return NULL;
25683 }
25684
25685
25686 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25687 PyObject *obj;
25688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25689 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25690 Py_INCREF(obj);
25691 return Py_BuildValue((char *)"");
25692 }
25693 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25694 PyObject *resultobj;
25695 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25696 wxHelpProvider *result;
25697 PyObject * obj0 = 0 ;
25698 char *kwnames[] = {
25699 (char *) "helpProvider", NULL
25700 };
25701
25702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25707
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25712 return resultobj;
25713 fail:
25714 return NULL;
25715 }
25716
25717
25718 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj;
25720 wxHelpProvider *result;
25721 char *kwnames[] = {
25722 NULL
25723 };
25724
25725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 result = (wxHelpProvider *)wxHelpProvider::Get();
25729
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25734 return resultobj;
25735 fail:
25736 return NULL;
25737 }
25738
25739
25740 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25741 PyObject *resultobj;
25742 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25743 wxWindow *arg2 = (wxWindow *) 0 ;
25744 wxString result;
25745 PyObject * obj0 = 0 ;
25746 PyObject * obj1 = 0 ;
25747 char *kwnames[] = {
25748 (char *) "self",(char *) "window", NULL
25749 };
25750
25751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25754 {
25755 PyThreadState* __tstate = wxPyBeginAllowThreads();
25756 result = (arg1)->GetHelp((wxWindow const *)arg2);
25757
25758 wxPyEndAllowThreads(__tstate);
25759 if (PyErr_Occurred()) SWIG_fail;
25760 }
25761 {
25762 #if wxUSE_UNICODE
25763 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25764 #else
25765 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25766 #endif
25767 }
25768 return resultobj;
25769 fail:
25770 return NULL;
25771 }
25772
25773
25774 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25775 PyObject *resultobj;
25776 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25777 wxWindow *arg2 = (wxWindow *) 0 ;
25778 bool result;
25779 PyObject * obj0 = 0 ;
25780 PyObject * obj1 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "window", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 result = (bool)(arg1)->ShowHelp(arg2);
25791
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 resultobj = PyInt_FromLong((long)result);
25796 return resultobj;
25797 fail:
25798 return NULL;
25799 }
25800
25801
25802 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25803 PyObject *resultobj;
25804 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25805 wxWindow *arg2 = (wxWindow *) 0 ;
25806 wxString *arg3 = 0 ;
25807 bool temp3 = False ;
25808 PyObject * obj0 = 0 ;
25809 PyObject * obj1 = 0 ;
25810 PyObject * obj2 = 0 ;
25811 char *kwnames[] = {
25812 (char *) "self",(char *) "window",(char *) "text", NULL
25813 };
25814
25815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25818 {
25819 arg3 = wxString_in_helper(obj2);
25820 if (arg3 == NULL) SWIG_fail;
25821 temp3 = True;
25822 }
25823 {
25824 PyThreadState* __tstate = wxPyBeginAllowThreads();
25825 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25826
25827 wxPyEndAllowThreads(__tstate);
25828 if (PyErr_Occurred()) SWIG_fail;
25829 }
25830 Py_INCREF(Py_None); resultobj = Py_None;
25831 {
25832 if (temp3)
25833 delete arg3;
25834 }
25835 return resultobj;
25836 fail:
25837 {
25838 if (temp3)
25839 delete arg3;
25840 }
25841 return NULL;
25842 }
25843
25844
25845 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25846 PyObject *resultobj;
25847 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25848 int arg2 ;
25849 wxString *arg3 = 0 ;
25850 bool temp3 = False ;
25851 PyObject * obj0 = 0 ;
25852 PyObject * obj2 = 0 ;
25853 char *kwnames[] = {
25854 (char *) "self",(char *) "id",(char *) "text", NULL
25855 };
25856
25857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25859 {
25860 arg3 = wxString_in_helper(obj2);
25861 if (arg3 == NULL) SWIG_fail;
25862 temp3 = True;
25863 }
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 Py_INCREF(Py_None); resultobj = Py_None;
25872 {
25873 if (temp3)
25874 delete arg3;
25875 }
25876 return resultobj;
25877 fail:
25878 {
25879 if (temp3)
25880 delete arg3;
25881 }
25882 return NULL;
25883 }
25884
25885
25886 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25887 PyObject *resultobj;
25888 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25889 PyObject * obj0 = 0 ;
25890 char *kwnames[] = {
25891 (char *) "self", NULL
25892 };
25893
25894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25896 {
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 wxHelpProvider_Destroy(arg1);
25899
25900 wxPyEndAllowThreads(__tstate);
25901 if (PyErr_Occurred()) SWIG_fail;
25902 }
25903 Py_INCREF(Py_None); resultobj = Py_None;
25904 return resultobj;
25905 fail:
25906 return NULL;
25907 }
25908
25909
25910 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25911 PyObject *obj;
25912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25913 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25914 Py_INCREF(obj);
25915 return Py_BuildValue((char *)"");
25916 }
25917 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25918 PyObject *resultobj;
25919 wxSimpleHelpProvider *result;
25920 char *kwnames[] = {
25921 NULL
25922 };
25923
25924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25928
25929 wxPyEndAllowThreads(__tstate);
25930 if (PyErr_Occurred()) SWIG_fail;
25931 }
25932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25933 return resultobj;
25934 fail:
25935 return NULL;
25936 }
25937
25938
25939 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25940 PyObject *obj;
25941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25942 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25943 Py_INCREF(obj);
25944 return Py_BuildValue((char *)"");
25945 }
25946 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25947 PyObject *resultobj;
25948 wxBitmap *arg1 = 0 ;
25949 wxCursor const &arg2_defvalue = wxNullCursor ;
25950 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25951 wxGenericDragImage *result;
25952 PyObject * obj0 = 0 ;
25953 PyObject * obj1 = 0 ;
25954 char *kwnames[] = {
25955 (char *) "image",(char *) "cursor", NULL
25956 };
25957
25958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25960 if (arg1 == NULL) {
25961 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25962 }
25963 if (obj1) {
25964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25965 if (arg2 == NULL) {
25966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25967 }
25968 }
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25972
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
25976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25977 return resultobj;
25978 fail:
25979 return NULL;
25980 }
25981
25982
25983 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25984 PyObject *resultobj;
25985 wxIcon *arg1 = 0 ;
25986 wxCursor const &arg2_defvalue = wxNullCursor ;
25987 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25988 wxGenericDragImage *result;
25989 PyObject * obj0 = 0 ;
25990 PyObject * obj1 = 0 ;
25991 char *kwnames[] = {
25992 (char *) "image",(char *) "cursor", NULL
25993 };
25994
25995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25997 if (arg1 == NULL) {
25998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25999 }
26000 if (obj1) {
26001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26002 if (arg2 == NULL) {
26003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26004 }
26005 }
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
26009
26010 wxPyEndAllowThreads(__tstate);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
26013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26014 return resultobj;
26015 fail:
26016 return NULL;
26017 }
26018
26019
26020 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
26021 PyObject *resultobj;
26022 wxString *arg1 = 0 ;
26023 wxCursor const &arg2_defvalue = wxNullCursor ;
26024 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26025 wxGenericDragImage *result;
26026 bool temp1 = False ;
26027 PyObject * obj0 = 0 ;
26028 PyObject * obj1 = 0 ;
26029 char *kwnames[] = {
26030 (char *) "str",(char *) "cursor", NULL
26031 };
26032
26033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
26034 {
26035 arg1 = wxString_in_helper(obj0);
26036 if (arg1 == NULL) SWIG_fail;
26037 temp1 = True;
26038 }
26039 if (obj1) {
26040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26041 if (arg2 == NULL) {
26042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26043 }
26044 }
26045 {
26046 PyThreadState* __tstate = wxPyBeginAllowThreads();
26047 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
26048
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26053 {
26054 if (temp1)
26055 delete arg1;
26056 }
26057 return resultobj;
26058 fail:
26059 {
26060 if (temp1)
26061 delete arg1;
26062 }
26063 return NULL;
26064 }
26065
26066
26067 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26068 PyObject *resultobj;
26069 wxPyTreeCtrl *arg1 = 0 ;
26070 wxTreeItemId *arg2 = 0 ;
26071 wxGenericDragImage *result;
26072 PyObject * obj0 = 0 ;
26073 PyObject * obj1 = 0 ;
26074 char *kwnames[] = {
26075 (char *) "treeCtrl",(char *) "id", NULL
26076 };
26077
26078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
26079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26080 if (arg1 == NULL) {
26081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26082 }
26083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26084 if (arg2 == NULL) {
26085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26086 }
26087 {
26088 PyThreadState* __tstate = wxPyBeginAllowThreads();
26089 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
26090
26091 wxPyEndAllowThreads(__tstate);
26092 if (PyErr_Occurred()) SWIG_fail;
26093 }
26094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26095 return resultobj;
26096 fail:
26097 return NULL;
26098 }
26099
26100
26101 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26102 PyObject *resultobj;
26103 wxPyListCtrl *arg1 = 0 ;
26104 long arg2 ;
26105 wxGenericDragImage *result;
26106 PyObject * obj0 = 0 ;
26107 char *kwnames[] = {
26108 (char *) "listCtrl",(char *) "id", NULL
26109 };
26110
26111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26113 if (arg1 == NULL) {
26114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26115 }
26116 {
26117 PyThreadState* __tstate = wxPyBeginAllowThreads();
26118 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26119
26120 wxPyEndAllowThreads(__tstate);
26121 if (PyErr_Occurred()) SWIG_fail;
26122 }
26123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26124 return resultobj;
26125 fail:
26126 return NULL;
26127 }
26128
26129
26130 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26131 PyObject *resultobj;
26132 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26133 PyObject * obj0 = 0 ;
26134 char *kwnames[] = {
26135 (char *) "self", NULL
26136 };
26137
26138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 delete arg1;
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 Py_INCREF(Py_None); resultobj = Py_None;
26148 return resultobj;
26149 fail:
26150 return NULL;
26151 }
26152
26153
26154 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26155 PyObject *resultobj;
26156 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26157 wxBitmap *arg2 = (wxBitmap *) 0 ;
26158 PyObject * obj0 = 0 ;
26159 PyObject * obj1 = 0 ;
26160 char *kwnames[] = {
26161 (char *) "self",(char *) "bitmap", NULL
26162 };
26163
26164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 (arg1)->SetBackingBitmap(arg2);
26170
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 Py_INCREF(Py_None); resultobj = Py_None;
26175 return resultobj;
26176 fail:
26177 return NULL;
26178 }
26179
26180
26181 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26182 PyObject *resultobj;
26183 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26184 wxPoint *arg2 = 0 ;
26185 wxWindow *arg3 = (wxWindow *) 0 ;
26186 bool arg4 = (bool) False ;
26187 wxRect *arg5 = (wxRect *) NULL ;
26188 bool result;
26189 wxPoint temp2 ;
26190 PyObject * obj0 = 0 ;
26191 PyObject * obj1 = 0 ;
26192 PyObject * obj2 = 0 ;
26193 PyObject * obj3 = 0 ;
26194 PyObject * obj4 = 0 ;
26195 char *kwnames[] = {
26196 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26197 };
26198
26199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26201 {
26202 arg2 = &temp2;
26203 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26204 }
26205 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26206 if (obj3) {
26207 arg4 = PyInt_AsLong(obj3) ? true : false;
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 if (obj4) {
26211 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26212 }
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 resultobj = PyInt_FromLong((long)result);
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj;
26229 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26230 wxPoint *arg2 = 0 ;
26231 wxWindow *arg3 = (wxWindow *) 0 ;
26232 wxWindow *arg4 = (wxWindow *) 0 ;
26233 bool result;
26234 wxPoint temp2 ;
26235 PyObject * obj0 = 0 ;
26236 PyObject * obj1 = 0 ;
26237 PyObject * obj2 = 0 ;
26238 PyObject * obj3 = 0 ;
26239 char *kwnames[] = {
26240 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26241 };
26242
26243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26245 {
26246 arg2 = &temp2;
26247 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26248 }
26249 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26250 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26254
26255 wxPyEndAllowThreads(__tstate);
26256 if (PyErr_Occurred()) SWIG_fail;
26257 }
26258 resultobj = PyInt_FromLong((long)result);
26259 return resultobj;
26260 fail:
26261 return NULL;
26262 }
26263
26264
26265 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj;
26267 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26268 bool result;
26269 PyObject * obj0 = 0 ;
26270 char *kwnames[] = {
26271 (char *) "self", NULL
26272 };
26273
26274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26276 {
26277 PyThreadState* __tstate = wxPyBeginAllowThreads();
26278 result = (bool)(arg1)->EndDrag();
26279
26280 wxPyEndAllowThreads(__tstate);
26281 if (PyErr_Occurred()) SWIG_fail;
26282 }
26283 resultobj = PyInt_FromLong((long)result);
26284 return resultobj;
26285 fail:
26286 return NULL;
26287 }
26288
26289
26290 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26291 PyObject *resultobj;
26292 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26293 wxPoint *arg2 = 0 ;
26294 bool result;
26295 wxPoint temp2 ;
26296 PyObject * obj0 = 0 ;
26297 PyObject * obj1 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self",(char *) "pt", NULL
26300 };
26301
26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26304 {
26305 arg2 = &temp2;
26306 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26307 }
26308 {
26309 PyThreadState* __tstate = wxPyBeginAllowThreads();
26310 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26311
26312 wxPyEndAllowThreads(__tstate);
26313 if (PyErr_Occurred()) SWIG_fail;
26314 }
26315 resultobj = PyInt_FromLong((long)result);
26316 return resultobj;
26317 fail:
26318 return NULL;
26319 }
26320
26321
26322 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26323 PyObject *resultobj;
26324 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26325 bool result;
26326 PyObject * obj0 = 0 ;
26327 char *kwnames[] = {
26328 (char *) "self", NULL
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 result = (bool)(arg1)->Show();
26336
26337 wxPyEndAllowThreads(__tstate);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 }
26340 resultobj = PyInt_FromLong((long)result);
26341 return resultobj;
26342 fail:
26343 return NULL;
26344 }
26345
26346
26347 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26348 PyObject *resultobj;
26349 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26350 bool result;
26351 PyObject * obj0 = 0 ;
26352 char *kwnames[] = {
26353 (char *) "self", NULL
26354 };
26355
26356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 result = (bool)(arg1)->Hide();
26361
26362 wxPyEndAllowThreads(__tstate);
26363 if (PyErr_Occurred()) SWIG_fail;
26364 }
26365 resultobj = PyInt_FromLong((long)result);
26366 return resultobj;
26367 fail:
26368 return NULL;
26369 }
26370
26371
26372 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26373 PyObject *resultobj;
26374 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26375 wxPoint *arg2 = 0 ;
26376 wxRect result;
26377 wxPoint temp2 ;
26378 PyObject * obj0 = 0 ;
26379 PyObject * obj1 = 0 ;
26380 char *kwnames[] = {
26381 (char *) "self",(char *) "pos", NULL
26382 };
26383
26384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26386 {
26387 arg2 = &temp2;
26388 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26389 }
26390 {
26391 PyThreadState* __tstate = wxPyBeginAllowThreads();
26392 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26393
26394 wxPyEndAllowThreads(__tstate);
26395 if (PyErr_Occurred()) SWIG_fail;
26396 }
26397 {
26398 wxRect * resultptr;
26399 resultptr = new wxRect((wxRect &) result);
26400 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26401 }
26402 return resultobj;
26403 fail:
26404 return NULL;
26405 }
26406
26407
26408 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj;
26410 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26411 wxDC *arg2 = 0 ;
26412 wxPoint *arg3 = 0 ;
26413 bool result;
26414 wxPoint temp3 ;
26415 PyObject * obj0 = 0 ;
26416 PyObject * obj1 = 0 ;
26417 PyObject * obj2 = 0 ;
26418 char *kwnames[] = {
26419 (char *) "self",(char *) "dc",(char *) "pos", NULL
26420 };
26421
26422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26425 if (arg2 == NULL) {
26426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26427 }
26428 {
26429 arg3 = &temp3;
26430 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26431 }
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26435
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = PyInt_FromLong((long)result);
26440 return resultobj;
26441 fail:
26442 return NULL;
26443 }
26444
26445
26446 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj;
26448 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26449 wxDC *arg2 = 0 ;
26450 wxMemoryDC *arg3 = 0 ;
26451 wxRect *arg4 = 0 ;
26452 wxRect *arg5 = 0 ;
26453 bool result;
26454 wxRect temp4 ;
26455 wxRect temp5 ;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 PyObject * obj2 = 0 ;
26459 PyObject * obj3 = 0 ;
26460 PyObject * obj4 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26468 if (arg2 == NULL) {
26469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26470 }
26471 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26472 if (arg3 == NULL) {
26473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26474 }
26475 {
26476 arg4 = &temp4;
26477 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26478 }
26479 {
26480 arg5 = &temp5;
26481 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26482 }
26483 {
26484 PyThreadState* __tstate = wxPyBeginAllowThreads();
26485 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26486
26487 wxPyEndAllowThreads(__tstate);
26488 if (PyErr_Occurred()) SWIG_fail;
26489 }
26490 resultobj = PyInt_FromLong((long)result);
26491 return resultobj;
26492 fail:
26493 return NULL;
26494 }
26495
26496
26497 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26498 PyObject *resultobj;
26499 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26500 wxPoint *arg2 = 0 ;
26501 wxPoint *arg3 = 0 ;
26502 bool arg4 ;
26503 bool arg5 ;
26504 bool result;
26505 wxPoint temp2 ;
26506 wxPoint temp3 ;
26507 PyObject * obj0 = 0 ;
26508 PyObject * obj1 = 0 ;
26509 PyObject * obj2 = 0 ;
26510 PyObject * obj3 = 0 ;
26511 PyObject * obj4 = 0 ;
26512 char *kwnames[] = {
26513 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26514 };
26515
26516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26518 {
26519 arg2 = &temp2;
26520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26521 }
26522 {
26523 arg3 = &temp3;
26524 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26525 }
26526 arg4 = PyInt_AsLong(obj3) ? true : false;
26527 if (PyErr_Occurred()) SWIG_fail;
26528 arg5 = PyInt_AsLong(obj4) ? true : false;
26529 if (PyErr_Occurred()) SWIG_fail;
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26533
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 resultobj = PyInt_FromLong((long)result);
26538 return resultobj;
26539 fail:
26540 return NULL;
26541 }
26542
26543
26544 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26545 PyObject *obj;
26546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26547 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26548 Py_INCREF(obj);
26549 return Py_BuildValue((char *)"");
26550 }
26551 static PyMethodDef SwigMethods[] = {
26552 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26560 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26575 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26586 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26595 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26613 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26626 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26630 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26636 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26640 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26647 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26666 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26675 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26676 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26704 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26759 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26764 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26775 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26787 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26798 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26815 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26821 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26846 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26853 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26873 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26879 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26889 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26891 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26896 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26898 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26903 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26908 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26938 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26983 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26988 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
27000 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
27052 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
27079 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27149 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27161 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27169 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27176 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27192 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27266 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27288 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27293 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27314 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27322 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27327 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27329 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27337 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27339 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27357 { NULL, NULL }
27358 };
27359
27360
27361 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27362
27363 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27364 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27365 }
27366 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27367 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27368 }
27369 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27370 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27371 }
27372 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27373 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27374 }
27375 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27376 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27377 }
27378 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27379 return (void *)((wxSizer *) ((wxGridSizer *) x));
27380 }
27381 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27382 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27383 }
27384 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27385 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27386 }
27387 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27388 return (void *)((wxSizer *) ((wxPySizer *) x));
27389 }
27390 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27391 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27392 }
27393 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27394 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27395 }
27396 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27397 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27398 }
27399 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27400 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27401 }
27402 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27403 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27404 }
27405 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27406 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27407 }
27408 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27409 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27410 }
27411 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27412 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27413 }
27414 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27415 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27416 }
27417 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27418 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27419 }
27420 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27421 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27422 }
27423 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27424 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27425 }
27426 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27427 return (void *)((wxEvent *) ((wxPyEvent *) x));
27428 }
27429 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27430 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27431 }
27432 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27433 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27434 }
27435 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27436 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27437 }
27438 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27439 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27440 }
27441 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27442 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27443 }
27444 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27445 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27446 }
27447 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27448 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27449 }
27450 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27451 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27452 }
27453 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27454 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27455 }
27456 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27457 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27458 }
27459 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27460 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27461 }
27462 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27463 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27464 }
27465 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27466 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27467 }
27468 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27469 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27470 }
27471 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27472 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27473 }
27474 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27475 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27476 }
27477 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27478 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27479 }
27480 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27481 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27482 }
27483 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27484 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27485 }
27486 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27487 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27488 }
27489 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27490 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27491 }
27492 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27493 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27494 }
27495 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27497 }
27498 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27499 return (void *)((wxEvent *) ((wxShowEvent *) x));
27500 }
27501 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27502 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27503 }
27504 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27505 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27506 }
27507 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27508 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27509 }
27510 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27511 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27512 }
27513 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27514 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27515 }
27516 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27517 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27518 }
27519 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27520 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27521 }
27522 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27523 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27524 }
27525 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27526 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27527 }
27528 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27529 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27530 }
27531 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27532 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27533 }
27534 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27535 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27536 }
27537 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27538 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27539 }
27540 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27541 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27542 }
27543 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27544 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27545 }
27546 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27547 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27548 }
27549 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27550 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27551 }
27552 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27553 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27554 }
27555 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27556 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27557 }
27558 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27559 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27560 }
27561 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27562 return (void *)((wxControl *) ((wxStaticBox *) x));
27563 }
27564 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27565 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27566 }
27567 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27568 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27569 }
27570 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27571 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27572 }
27573 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27574 return (void *)((wxControl *) ((wxScrollBar *) x));
27575 }
27576 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27577 return (void *)((wxControl *) ((wxBookCtrl *) x));
27578 }
27579 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27580 return (void *)((wxControl *) ((wxRadioButton *) x));
27581 }
27582 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27583 return (void *)((wxControl *) ((wxToggleButton *) x));
27584 }
27585 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27586 return (void *)((wxControl *) ((wxGauge *) x));
27587 }
27588 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27589 return (void *)((wxControl *) ((wxToolBarBase *) x));
27590 }
27591 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27592 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27593 }
27594 static void *_p_wxButtonTo_p_wxControl(void *x) {
27595 return (void *)((wxControl *) ((wxButton *) x));
27596 }
27597 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27598 return (void *)((wxControl *) ((wxSpinButton *) x));
27599 }
27600 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27601 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27602 }
27603 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27604 return (void *)((wxControl *) ((wxControlWithItems *) x));
27605 }
27606 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27607 return (void *)((wxControl *) ((wxRadioBox *) x));
27608 }
27609 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27610 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27611 }
27612 static void *_p_wxListbookTo_p_wxControl(void *x) {
27613 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27614 }
27615 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27616 return (void *)((wxControl *) ((wxCheckBox *) x));
27617 }
27618 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27619 return (void *)((wxControl *) ((wxTextCtrl *) x));
27620 }
27621 static void *_p_wxListViewTo_p_wxControl(void *x) {
27622 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27623 }
27624 static void *_p_wxSliderTo_p_wxControl(void *x) {
27625 return (void *)((wxControl *) ((wxSlider *) x));
27626 }
27627 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27628 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27629 }
27630 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27631 return (void *)((wxControl *) ((wxPyControl *) x));
27632 }
27633 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27634 return (void *)((wxControl *) ((wxStaticLine *) x));
27635 }
27636 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27637 return (void *)((wxControl *) ((wxStaticText *) x));
27638 }
27639 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27640 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27641 }
27642 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
27643 return (void *)((wxChoice *) ((wxComboBox *) x));
27644 }
27645 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27646 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27647 }
27648 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27649 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27650 }
27651 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27652 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27653 }
27654 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27655 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27656 }
27657 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27658 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27659 }
27660 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27661 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27662 }
27663 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27664 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27665 }
27666 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27667 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27668 }
27669 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27670 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27671 }
27672 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27673 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27674 }
27675 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27676 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27677 }
27678 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27679 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27680 }
27681 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27682 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27683 }
27684 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27685 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27686 }
27687 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27688 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27689 }
27690 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27691 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27692 }
27693 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27695 }
27696 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27697 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27698 }
27699 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27700 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27701 }
27702 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27704 }
27705 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27707 }
27708 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27709 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27710 }
27711 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27712 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27713 }
27714 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27715 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27716 }
27717 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27718 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27719 }
27720 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27721 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27722 }
27723 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27724 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27725 }
27726 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27727 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27728 }
27729 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27730 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27731 }
27732 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27733 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27734 }
27735 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27736 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27737 }
27738 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27739 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27740 }
27741 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27742 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27743 }
27744 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27745 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27746 }
27747 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27749 }
27750 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27751 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27752 }
27753 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27754 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27755 }
27756 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27757 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27758 }
27759 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27760 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27761 }
27762 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27763 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27764 }
27765 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27766 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27767 }
27768 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27769 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27770 }
27771 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27772 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27773 }
27774 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27775 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27776 }
27777 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27778 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27779 }
27780 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27781 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27782 }
27783 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27784 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27785 }
27786 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27787 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27788 }
27789 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27790 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27791 }
27792 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27793 return (void *)((wxButton *) ((wxBitmapButton *) x));
27794 }
27795 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27796 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27797 }
27798 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27799 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27800 }
27801 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27802 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27803 }
27804 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27805 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27806 }
27807 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27808 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27809 }
27810 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27811 return (void *)((wxObject *) ((wxSizerItem *) x));
27812 }
27813 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27815 }
27816 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27817 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27818 }
27819 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27821 }
27822 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27824 }
27825 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27826 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27827 }
27828 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27829 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27830 }
27831 static void *_p_wxSizerTo_p_wxObject(void *x) {
27832 return (void *)((wxObject *) ((wxSizer *) x));
27833 }
27834 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27835 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27836 }
27837 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27839 }
27840 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27842 }
27843 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27845 }
27846 static void *_p_wxEventTo_p_wxObject(void *x) {
27847 return (void *)((wxObject *) ((wxEvent *) x));
27848 }
27849 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27850 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27851 }
27852 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27853 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27854 }
27855 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27856 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27857 }
27858 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27860 }
27861 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27863 }
27864 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27866 }
27867 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27868 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27869 }
27870 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27871 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27872 }
27873 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27874 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27875 }
27876 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27877 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27878 }
27879 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27880 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27881 }
27882 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27883 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27884 }
27885 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27887 }
27888 static void *_p_wxControlTo_p_wxObject(void *x) {
27889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27890 }
27891 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27893 }
27894 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27896 }
27897 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27899 }
27900 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27902 }
27903 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27905 }
27906 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27907 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27908 }
27909 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27911 }
27912 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27913 return (void *)((wxObject *) ((wxFSFile *) x));
27914 }
27915 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27916 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27917 }
27918 static void *_p_wxListViewTo_p_wxObject(void *x) {
27919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27920 }
27921 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27923 }
27924 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27926 }
27927 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27928 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27929 }
27930 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27932 }
27933 static void *_p_wxListbookTo_p_wxObject(void *x) {
27934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27935 }
27936 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27937 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27938 }
27939 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27941 }
27942 static void *_p_wxSliderTo_p_wxObject(void *x) {
27943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27944 }
27945 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27946 return (void *)((wxObject *) ((wxMenuItem *) x));
27947 }
27948 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27949 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27950 }
27951 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27953 }
27954 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27955 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27956 }
27957 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27958 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27959 }
27960 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27961 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27962 }
27963 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27964 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27965 }
27966 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27967 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27968 }
27969 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27970 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27971 }
27972 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27974 }
27975 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27976 return (void *)((wxObject *) ((wxContextHelp *) x));
27977 }
27978 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27979 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27980 }
27981 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27982 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27983 }
27984 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27985 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27986 }
27987 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27988 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27989 }
27990 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27991 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27992 }
27993 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27994 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27995 }
27996 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27997 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27998 }
27999 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28000 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28001 }
28002 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28003 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28004 }
28005 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28006 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28007 }
28008 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28009 return (void *)((wxObject *) ((wxImageHandler *) x));
28010 }
28011 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28012 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28013 }
28014 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28015 return (void *)((wxObject *) ((wxEvtHandler *) x));
28016 }
28017 static void *_p_wxListEventTo_p_wxObject(void *x) {
28018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
28019 }
28020 static void *_p_wxListBoxTo_p_wxObject(void *x) {
28021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28022 }
28023 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
28024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28025 }
28026 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
28027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28028 }
28029 static void *_p_wxButtonTo_p_wxObject(void *x) {
28030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
28031 }
28032 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
28033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28034 }
28035 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
28036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
28037 }
28038 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
28039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28040 }
28041 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28042 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28043 }
28044 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
28045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
28046 }
28047 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
28048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
28049 }
28050 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
28051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28052 }
28053 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
28054 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
28055 }
28056 static void *_p_wxListItemTo_p_wxObject(void *x) {
28057 return (void *)((wxObject *) ((wxListItem *) x));
28058 }
28059 static void *_p_wxImageTo_p_wxObject(void *x) {
28060 return (void *)((wxObject *) ((wxImage *) x));
28061 }
28062 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
28063 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
28064 }
28065 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28066 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28067 }
28068 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
28069 return (void *)((wxObject *) ((wxGenericDragImage *) x));
28070 }
28071 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
28072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28073 }
28074 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
28075 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28076 }
28077 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
28078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28079 }
28080 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28082 }
28083 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28084 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28085 }
28086 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28087 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28088 }
28089 static void *_p_wxWindowTo_p_wxObject(void *x) {
28090 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28091 }
28092 static void *_p_wxMenuTo_p_wxObject(void *x) {
28093 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28094 }
28095 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28097 }
28098 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28099 return (void *)((wxObject *) ((wxFileSystem *) x));
28100 }
28101 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28103 }
28104 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28105 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28106 }
28107 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28108 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28109 }
28110 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28111 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28112 }
28113 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28114 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28115 }
28116 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28117 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28118 }
28119 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28120 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28121 }
28122 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28124 }
28125 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28126 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28127 }
28128 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28130 }
28131 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28132 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28133 }
28134 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28135 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28136 }
28137 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28139 }
28140 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28142 }
28143 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28144 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28145 }
28146 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28148 }
28149 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28150 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28151 }
28152 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28153 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28154 }
28155 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28156 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28157 }
28158 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28159 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28160 }
28161 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28162 return (void *)((wxWindow *) ((wxMenuBar *) x));
28163 }
28164 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28165 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28166 }
28167 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28168 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28169 }
28170 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28171 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28172 }
28173 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28174 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28175 }
28176 static void *_p_wxControlTo_p_wxWindow(void *x) {
28177 return (void *)((wxWindow *) ((wxControl *) x));
28178 }
28179 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28180 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28181 }
28182 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28183 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28184 }
28185 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28186 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28187 }
28188 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28189 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28190 }
28191 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28192 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28193 }
28194 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28195 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28196 }
28197 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28198 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28199 }
28200 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28201 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28202 }
28203 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28204 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28205 }
28206 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28207 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28208 }
28209 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28210 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28211 }
28212 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28213 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28214 }
28215 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28216 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28217 }
28218 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28219 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28220 }
28221 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28222 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28223 }
28224 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28225 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28226 }
28227 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28228 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28229 }
28230 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28231 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28232 }
28233 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28234 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28235 }
28236 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28237 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28238 }
28239 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28240 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28241 }
28242 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28243 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28244 }
28245 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28246 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28247 }
28248 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28249 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28250 }
28251 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28252 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28253 }
28254 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28255 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28256 }
28257 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28258 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28259 }
28260 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28261 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28262 }
28263 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28264 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28265 }
28266 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28267 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28268 }
28269 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28270 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28271 }
28272 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28273 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28274 }
28275 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28276 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28277 }
28278 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28279 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28280 }
28281 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28282 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28283 }
28284 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28285 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28286 }
28287 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28288 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28289 }
28290 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28291 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28292 }
28293 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28294 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28295 }
28296 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28297 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28298 }
28299 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28300 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28301 }
28302 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28303 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28304 }
28305 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28306 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28307 }
28308 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
28309 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
28310 }
28311 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28312 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28313 }
28314 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28315 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28316 }
28317 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28318 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28319 }
28320 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28321 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28322 }
28323 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28324 return (void *)((wxValidator *) ((wxPyValidator *) x));
28325 }
28326 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28327 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}};
28328 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}};
28329 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28330 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28331 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28332 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28333 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}};
28334 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28335 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28336 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28337 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}};
28338 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28339 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28340 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28341 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}};
28342 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28343 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28344 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28345 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28346 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28347 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28348 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}};
28349 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28350 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28351 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28352 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28353 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28354 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28355 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28356 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28357 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28358 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}};
28359 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28360 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28361 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28362 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28363 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28364 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28365 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28366 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28367 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}};
28368 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28369 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28370 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28371 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}};
28372 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28373 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}};
28374 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28375 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28376 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28377 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28378 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28379 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28380 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28381 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28382 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28383 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28384 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28385 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28386 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28387 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28388 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28389 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28390 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28391 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28392 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28393 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}};
28394 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28395 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28396 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}};
28397 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28398 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28399 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28400 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28401 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}};
28402 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28403 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}};
28404 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28405 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28406 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28407 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28408 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28409
28410 static swig_type_info *swig_types_initial[] = {
28411 _swigt__p_wxTextUrlEvent,
28412 _swigt__p_wxBookCtrlEvent,
28413 _swigt__p_wxSizer,
28414 _swigt__p_wxTreeItemIdValue,
28415 _swigt__wxTreeItemIdValue,
28416 _swigt__p_wxCheckBox,
28417 _swigt__p_wxPyTreeCtrl,
28418 _swigt__p_wxEvent,
28419 _swigt__p_wxGenericDirCtrl,
28420 _swigt__p_bool,
28421 _swigt__p_wxPyTreeItemData,
28422 _swigt__p_wxItemContainer,
28423 _swigt__p_wxDirFilterListCtrl,
28424 _swigt__p_wxPyListCtrl,
28425 _swigt__p_wxStaticLine,
28426 _swigt__p_wxControl,
28427 _swigt__p_wxPyControl,
28428 _swigt__p_wxGauge,
28429 _swigt__p_wxToolBarBase,
28430 _swigt__p_wxFont,
28431 _swigt__p_wxToggleButton,
28432 _swigt__p_wxRadioButton,
28433 _swigt__p_wxChoice,
28434 _swigt__p_wxMemoryDC,
28435 _swigt__p_wxListItemAttr,
28436 _swigt__p_int,
28437 _swigt__p_wxSize,
28438 _swigt__p_wxDC,
28439 _swigt__p_wxListView,
28440 _swigt__p_wxIcon,
28441 _swigt__p_wxTextCtrl,
28442 _swigt__p_wxNotebook,
28443 _swigt__p_wxNotifyEvent,
28444 _swigt__p_wxArrayString,
28445 _swigt__p_wxListbook,
28446 _swigt__p_wxStaticBitmap,
28447 _swigt__p_wxSlider,
28448 _swigt__p_wxStaticBox,
28449 _swigt__p_wxArrayInt,
28450 _swigt__p_wxContextHelp,
28451 _swigt__p_long,
28452 _swigt__p_wxEvtHandler,
28453 _swigt__p_wxListEvent,
28454 _swigt__p_wxListBox,
28455 _swigt__p_wxCheckListBox,
28456 _swigt__p_wxBookCtrl,
28457 _swigt__p_wxSpinButton,
28458 _swigt__p_wxButton,
28459 _swigt__p_wxBitmapButton,
28460 _swigt__p_wxRect,
28461 _swigt__p_wxContextHelpButton,
28462 _swigt__p_wxRadioBox,
28463 _swigt__p_wxScrollBar,
28464 _swigt__p_wxTreeItemId,
28465 _swigt__p_wxComboBox,
28466 _swigt__p_wxHelpEvent,
28467 _swigt__p_wxListItem,
28468 _swigt__p_wxNotebookSizer,
28469 _swigt__p_wxGenericDragImage,
28470 _swigt__p_wxSpinCtrl,
28471 _swigt__p_wxImageList,
28472 _swigt__p_wxHelpProvider,
28473 _swigt__p_wxTextAttr,
28474 _swigt__p_wxSimpleHelpProvider,
28475 _swigt__p_wxPoint,
28476 _swigt__p_wxListbookEvent,
28477 _swigt__p_wxNotebookEvent,
28478 _swigt__p_wxObject,
28479 _swigt__p_wxCursor,
28480 _swigt__p_wxKeyEvent,
28481 _swigt__p_wxWindow,
28482 _swigt__p_wxString,
28483 _swigt__p_wxBitmap,
28484 _swigt__p_wxTreeEvent,
28485 _swigt__p_wxMouseEvent,
28486 _swigt__p_wxCommandEvent,
28487 _swigt__p_wxStaticText,
28488 _swigt__p_wxControlWithItems,
28489 _swigt__p_wxToolBarToolBase,
28490 _swigt__p_wxColour,
28491 _swigt__p_wxToolBar,
28492 _swigt__p_wxBookCtrlSizer,
28493 _swigt__p_wxValidator,
28494 0
28495 };
28496
28497
28498 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28499
28500 static swig_const_info swig_const_table[] = {
28501 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28502 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28503 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28504 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28505 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28506 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28507 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28508 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28509 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28510 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28511 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28512 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28513 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28514 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28515 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28516 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28517 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28518 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28519 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28520 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28521 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28522 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28523 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28524 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28525 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28526 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28527 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28528 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28529 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28530 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28531 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28532 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28533 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28534 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28535 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28536 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28537 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28538 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28539 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28540 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28541 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28542 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28543 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28544 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28545 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28546 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28547 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28548 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28549 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28550 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28551 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28552 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28553 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28554 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28555 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28556 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28557 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28558 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28559 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28560 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28561 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28562 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28563 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28564 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28565 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28566 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28567 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28568 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28569 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28570 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28571 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28572 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28573 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28574 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28575 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28576 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28577 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28578 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28579 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28580 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28581 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28582 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28583 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28584 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28585 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28586 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28587 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28588 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28589 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28590 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28591 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28592 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28593 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28594 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28595 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28596 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28597 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28598 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28599 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28600 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28601 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28602 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28603 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28604 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28605 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28606 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28607 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28608 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28609 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28610 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28611 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28612 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28613 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28614 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28615 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28616 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28617 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28618 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28619 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28620 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28621 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28622 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28623 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28624 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28625 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28626 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28627 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28628 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28629 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28630 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28631 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28632 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28633 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28634 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28635 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28636 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28637 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28638 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28639 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28640 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28641 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28642 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28643 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28644 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28645 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28646 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28647 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28648 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28649 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28650 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28651 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28652 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28653 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28654 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28655 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28656 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28657 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28658 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28659 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28660 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28661 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28662 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28663 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28664 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28665 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28666 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28667 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28668 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28669 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28670 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28671 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28672 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28673 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28674 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28675 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28676 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28677 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28678 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28679 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28680 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28681 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28682 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28683 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28684 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28685 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28686 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28687 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28688 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28689 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28690 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28691 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28692 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28693 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28694 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28695 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28696 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28697 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28698 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28699 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28700 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28701 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28702 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28703 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28704 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28705 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28706 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28707 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28708 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28709 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28710 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28711 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28712 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28713 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28714 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28715 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28716 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28717 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28718 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28719 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28720 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28721 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28722 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28723 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28724 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28725 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28726 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28727 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28728 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28729 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28730 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28731 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28732 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28733 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28734 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28735 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28736 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28737 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28738 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28739 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28740 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28741 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28742 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28743 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28744 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28745 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28746 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28747 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28748 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28749 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28750 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28751 {0}};
28752
28753 #ifdef __cplusplus
28754 }
28755 #endif
28756
28757 #ifdef __cplusplus
28758 extern "C"
28759 #endif
28760 SWIGEXPORT(void) SWIG_init(void) {
28761 static PyObject *SWIG_globals = 0;
28762 static int typeinit = 0;
28763 PyObject *m, *d;
28764 int i;
28765 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28766 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28767 d = PyModule_GetDict(m);
28768
28769 if (!typeinit) {
28770 for (i = 0; swig_types_initial[i]; i++) {
28771 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28772 }
28773 typeinit = 1;
28774 }
28775 SWIG_InstallConstants(d,swig_const_table);
28776
28777 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28778 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28779 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28780 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28781 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28782 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28783 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28784 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28785 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28786 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28787 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28788 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28789 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28790 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28791 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28792 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28793 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28794 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28795 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28796 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28797 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28798 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28799 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28800 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28801 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28802 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28803 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28804 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28805 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28806 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28807 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28808 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28809 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28810 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28811 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28812 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28813 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28814 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28815 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28816 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28817 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28818 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28819 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28820 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28821 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28822 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28823 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28824 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28825 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28826 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28827 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28828 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28829
28830 // Map renamed classes back to their common name for OOR
28831 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28832
28833 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28834 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28835 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28836 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28837 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28838 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28839 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28840 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28841 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28842 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28843 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28844 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28845 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28846 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28847 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28848 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28849 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28850 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28851 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28852 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28853 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28854
28855 // Map renamed classes back to their common name for OOR
28856 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28857 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28858
28859 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28860 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28861 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28862
28863 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28864
28865 }
28866