]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Make sure the comment is output in the pythoncode
[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 bool temp2 = False ;
16916 PyObject * obj0 = 0 ;
16917 PyObject * obj1 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "m_text", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 {
16925 arg2 = wxString_in_helper(obj1);
16926 if (arg2 == NULL) SWIG_fail;
16927 temp2 = True;
16928 }
16929 if (arg1) (arg1)->m_text = *arg2;
16930
16931 Py_INCREF(Py_None); resultobj = Py_None;
16932 {
16933 if (temp2)
16934 delete arg2;
16935 }
16936 return resultobj;
16937 fail:
16938 {
16939 if (temp2)
16940 delete arg2;
16941 }
16942 return NULL;
16943 }
16944
16945
16946 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 wxListItem *arg1 = (wxListItem *) 0 ;
16949 wxString *result;
16950 PyObject * obj0 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "self", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16957 result = (wxString *)& ((arg1)->m_text);
16958
16959 {
16960 #if wxUSE_UNICODE
16961 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16962 #else
16963 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16964 #endif
16965 }
16966 return resultobj;
16967 fail:
16968 return NULL;
16969 }
16970
16971
16972 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj;
16974 wxListItem *arg1 = (wxListItem *) 0 ;
16975 int arg2 ;
16976 PyObject * obj0 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self",(char *) "m_image", NULL
16979 };
16980
16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16983 if (arg1) (arg1)->m_image = arg2;
16984
16985 Py_INCREF(Py_None); resultobj = Py_None;
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxListItem *arg1 = (wxListItem *) 0 ;
16995 int result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 result = (int) ((arg1)->m_image);
17004
17005 resultobj = PyInt_FromLong((long)result);
17006 return resultobj;
17007 fail:
17008 return NULL;
17009 }
17010
17011
17012 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17013 PyObject *resultobj;
17014 wxListItem *arg1 = (wxListItem *) 0 ;
17015 long arg2 ;
17016 PyObject * obj0 = 0 ;
17017 char *kwnames[] = {
17018 (char *) "self",(char *) "m_data", NULL
17019 };
17020
17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
17022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17023 if (arg1) (arg1)->m_data = arg2;
17024
17025 Py_INCREF(Py_None); resultobj = Py_None;
17026 return resultobj;
17027 fail:
17028 return NULL;
17029 }
17030
17031
17032 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxListItem *arg1 = (wxListItem *) 0 ;
17035 long result;
17036 PyObject * obj0 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
17042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17043 result = (long) ((arg1)->m_data);
17044
17045 resultobj = PyInt_FromLong((long)result);
17046 return resultobj;
17047 fail:
17048 return NULL;
17049 }
17050
17051
17052 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxListItem *arg1 = (wxListItem *) 0 ;
17055 int arg2 ;
17056 PyObject * obj0 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self",(char *) "m_format", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17063 if (arg1) (arg1)->m_format = arg2;
17064
17065 Py_INCREF(Py_None); resultobj = Py_None;
17066 return resultobj;
17067 fail:
17068 return NULL;
17069 }
17070
17071
17072 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxListItem *arg1 = (wxListItem *) 0 ;
17075 int result;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17083 result = (int) ((arg1)->m_format);
17084
17085 resultobj = PyInt_FromLong((long)result);
17086 return resultobj;
17087 fail:
17088 return NULL;
17089 }
17090
17091
17092 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxListItem *arg1 = (wxListItem *) 0 ;
17095 int arg2 ;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self",(char *) "m_width", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17103 if (arg1) (arg1)->m_width = arg2;
17104
17105 Py_INCREF(Py_None); resultobj = Py_None;
17106 return resultobj;
17107 fail:
17108 return NULL;
17109 }
17110
17111
17112 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj;
17114 wxListItem *arg1 = (wxListItem *) 0 ;
17115 int result;
17116 PyObject * obj0 = 0 ;
17117 char *kwnames[] = {
17118 (char *) "self", NULL
17119 };
17120
17121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17123 result = (int) ((arg1)->m_width);
17124
17125 resultobj = PyInt_FromLong((long)result);
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17133 PyObject *obj;
17134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17135 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17136 Py_INCREF(obj);
17137 return Py_BuildValue((char *)"");
17138 }
17139 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17142 int arg2 = (int) 0 ;
17143 wxListEvent *result;
17144 char *kwnames[] = {
17145 (char *) "commandType",(char *) "id", NULL
17146 };
17147
17148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17157 return resultobj;
17158 fail:
17159 return NULL;
17160 }
17161
17162
17163 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxListEvent *arg1 = (wxListEvent *) 0 ;
17166 int arg2 ;
17167 PyObject * obj0 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self",(char *) "m_code", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17174 if (arg1) (arg1)->m_code = arg2;
17175
17176 Py_INCREF(Py_None); resultobj = Py_None;
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 wxListEvent *arg1 = (wxListEvent *) 0 ;
17186 int result;
17187 PyObject * obj0 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17194 result = (int) ((arg1)->m_code);
17195
17196 resultobj = PyInt_FromLong((long)result);
17197 return resultobj;
17198 fail:
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxListEvent *arg1 = (wxListEvent *) 0 ;
17206 long arg2 ;
17207 PyObject * obj0 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "self",(char *) "m_oldItemIndex", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17214 if (arg1) (arg1)->m_oldItemIndex = arg2;
17215
17216 Py_INCREF(Py_None); resultobj = Py_None;
17217 return resultobj;
17218 fail:
17219 return NULL;
17220 }
17221
17222
17223 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxListEvent *arg1 = (wxListEvent *) 0 ;
17226 long result;
17227 PyObject * obj0 = 0 ;
17228 char *kwnames[] = {
17229 (char *) "self", NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17234 result = (long) ((arg1)->m_oldItemIndex);
17235
17236 resultobj = PyInt_FromLong((long)result);
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxListEvent *arg1 = (wxListEvent *) 0 ;
17246 long arg2 ;
17247 PyObject * obj0 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self",(char *) "m_itemIndex", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17254 if (arg1) (arg1)->m_itemIndex = arg2;
17255
17256 Py_INCREF(Py_None); resultobj = Py_None;
17257 return resultobj;
17258 fail:
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxListEvent *arg1 = (wxListEvent *) 0 ;
17266 long result;
17267 PyObject * obj0 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17274 result = (long) ((arg1)->m_itemIndex);
17275
17276 resultobj = PyInt_FromLong((long)result);
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxListEvent *arg1 = (wxListEvent *) 0 ;
17286 int arg2 ;
17287 PyObject * obj0 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "m_col", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17294 if (arg1) (arg1)->m_col = arg2;
17295
17296 Py_INCREF(Py_None); resultobj = Py_None;
17297 return resultobj;
17298 fail:
17299 return NULL;
17300 }
17301
17302
17303 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxListEvent *arg1 = (wxListEvent *) 0 ;
17306 int result;
17307 PyObject * obj0 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "self", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17314 result = (int) ((arg1)->m_col);
17315
17316 resultobj = PyInt_FromLong((long)result);
17317 return resultobj;
17318 fail:
17319 return NULL;
17320 }
17321
17322
17323 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxListEvent *arg1 = (wxListEvent *) 0 ;
17326 wxPoint *arg2 = (wxPoint *) 0 ;
17327 PyObject * obj0 = 0 ;
17328 PyObject * obj1 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self",(char *) "m_pointDrag", NULL
17331 };
17332
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17336 if (arg1) (arg1)->m_pointDrag = *arg2;
17337
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxListEvent *arg1 = (wxListEvent *) 0 ;
17348 wxPoint *result;
17349 PyObject * obj0 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "self", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17356 result = (wxPoint *)& ((arg1)->m_pointDrag);
17357
17358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17359 return resultobj;
17360 fail:
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxListEvent *arg1 = (wxListEvent *) 0 ;
17368 wxListItem *result;
17369 PyObject * obj0 = 0 ;
17370 char *kwnames[] = {
17371 (char *) "self", NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17376 result = (wxListItem *)& ((arg1)->m_item);
17377
17378 {
17379 resultobj = wxPyMake_wxObject(result);
17380 }
17381 return resultobj;
17382 fail:
17383 return NULL;
17384 }
17385
17386
17387 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxListEvent *arg1 = (wxListEvent *) 0 ;
17390 int result;
17391 PyObject * obj0 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = (int)(arg1)->GetKeyCode();
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 resultobj = PyInt_FromLong((long)result);
17406 return resultobj;
17407 fail:
17408 return NULL;
17409 }
17410
17411
17412 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxListEvent *arg1 = (wxListEvent *) 0 ;
17415 long result;
17416 PyObject * obj0 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17423 {
17424 PyThreadState* __tstate = wxPyBeginAllowThreads();
17425 result = (long)(arg1)->GetIndex();
17426
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 resultobj = PyInt_FromLong((long)result);
17431 return resultobj;
17432 fail:
17433 return NULL;
17434 }
17435
17436
17437 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj;
17439 wxListEvent *arg1 = (wxListEvent *) 0 ;
17440 int result;
17441 PyObject * obj0 = 0 ;
17442 char *kwnames[] = {
17443 (char *) "self", NULL
17444 };
17445
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17448 {
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 result = (int)(arg1)->GetColumn();
17451
17452 wxPyEndAllowThreads(__tstate);
17453 if (PyErr_Occurred()) SWIG_fail;
17454 }
17455 resultobj = PyInt_FromLong((long)result);
17456 return resultobj;
17457 fail:
17458 return NULL;
17459 }
17460
17461
17462 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17463 PyObject *resultobj;
17464 wxListEvent *arg1 = (wxListEvent *) 0 ;
17465 wxPoint result;
17466 PyObject * obj0 = 0 ;
17467 char *kwnames[] = {
17468 (char *) "self", NULL
17469 };
17470
17471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 result = (arg1)->GetPoint();
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 {
17481 wxPoint * resultptr;
17482 resultptr = new wxPoint((wxPoint &) result);
17483 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17484 }
17485 return resultobj;
17486 fail:
17487 return NULL;
17488 }
17489
17490
17491 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17492 PyObject *resultobj;
17493 wxListEvent *arg1 = (wxListEvent *) 0 ;
17494 wxString *result;
17495 PyObject * obj0 = 0 ;
17496 char *kwnames[] = {
17497 (char *) "self", NULL
17498 };
17499
17500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17502 {
17503 PyThreadState* __tstate = wxPyBeginAllowThreads();
17504 {
17505 wxString const &_result_ref = (arg1)->GetLabel();
17506 result = (wxString *) &_result_ref;
17507 }
17508
17509 wxPyEndAllowThreads(__tstate);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
17512 {
17513 #if wxUSE_UNICODE
17514 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17515 #else
17516 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17517 #endif
17518 }
17519 return resultobj;
17520 fail:
17521 return NULL;
17522 }
17523
17524
17525 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17526 PyObject *resultobj;
17527 wxListEvent *arg1 = (wxListEvent *) 0 ;
17528 wxString *result;
17529 PyObject * obj0 = 0 ;
17530 char *kwnames[] = {
17531 (char *) "self", NULL
17532 };
17533
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 {
17539 wxString const &_result_ref = (arg1)->GetText();
17540 result = (wxString *) &_result_ref;
17541 }
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 {
17547 #if wxUSE_UNICODE
17548 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17549 #else
17550 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17551 #endif
17552 }
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxListEvent *arg1 = (wxListEvent *) 0 ;
17562 int result;
17563 PyObject * obj0 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (int)(arg1)->GetImage();
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = PyInt_FromLong((long)result);
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxListEvent *arg1 = (wxListEvent *) 0 ;
17587 long result;
17588 PyObject * obj0 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (long)(arg1)->GetData();
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 resultobj = PyInt_FromLong((long)result);
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17610 PyObject *resultobj;
17611 wxListEvent *arg1 = (wxListEvent *) 0 ;
17612 long result;
17613 PyObject * obj0 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (long)(arg1)->GetMask();
17623
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 resultobj = PyInt_FromLong((long)result);
17628 return resultobj;
17629 fail:
17630 return NULL;
17631 }
17632
17633
17634 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxListEvent *arg1 = (wxListEvent *) 0 ;
17637 wxListItem *result;
17638 PyObject * obj0 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17645 {
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 {
17648 wxListItem const &_result_ref = (arg1)->GetItem();
17649 result = (wxListItem *) &_result_ref;
17650 }
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxListEvent *arg1 = (wxListEvent *) 0 ;
17665 long result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = (long)(arg1)->GetCacheFrom();
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 resultobj = PyInt_FromLong((long)result);
17681 return resultobj;
17682 fail:
17683 return NULL;
17684 }
17685
17686
17687 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxListEvent *arg1 = (wxListEvent *) 0 ;
17690 long result;
17691 PyObject * obj0 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (long)(arg1)->GetCacheTo();
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = PyInt_FromLong((long)result);
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxListEvent *arg1 = (wxListEvent *) 0 ;
17715 bool result;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 resultobj = PyInt_FromLong((long)result);
17731 return resultobj;
17732 fail:
17733 return NULL;
17734 }
17735
17736
17737 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj;
17739 wxListEvent *arg1 = (wxListEvent *) 0 ;
17740 bool arg2 ;
17741 PyObject * obj0 = 0 ;
17742 PyObject * obj1 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "self",(char *) "editCancelled", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17749 arg2 = PyInt_AsLong(obj1) ? true : false;
17750 if (PyErr_Occurred()) SWIG_fail;
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 (arg1)->SetEditCanceled(arg2);
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 Py_INCREF(Py_None); resultobj = Py_None;
17759 return resultobj;
17760 fail:
17761 return NULL;
17762 }
17763
17764
17765 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17766 PyObject *obj;
17767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17768 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17769 Py_INCREF(obj);
17770 return Py_BuildValue((char *)"");
17771 }
17772 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxWindow *arg1 = (wxWindow *) 0 ;
17775 int arg2 = (int) -1 ;
17776 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17777 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17778 wxSize const &arg4_defvalue = wxDefaultSize ;
17779 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17780 long arg5 = (long) wxLC_ICON ;
17781 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17782 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17783 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17784 wxString *arg7 = (wxString *) &arg7_defvalue ;
17785 wxPyListCtrl *result;
17786 wxPoint temp3 ;
17787 wxSize temp4 ;
17788 bool temp7 = False ;
17789 PyObject * obj0 = 0 ;
17790 PyObject * obj2 = 0 ;
17791 PyObject * obj3 = 0 ;
17792 PyObject * obj5 = 0 ;
17793 PyObject * obj6 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17800 if (obj2) {
17801 {
17802 arg3 = &temp3;
17803 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17804 }
17805 }
17806 if (obj3) {
17807 {
17808 arg4 = &temp4;
17809 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17810 }
17811 }
17812 if (obj5) {
17813 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17814 if (arg6 == NULL) {
17815 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17816 }
17817 }
17818 if (obj6) {
17819 {
17820 arg7 = wxString_in_helper(obj6);
17821 if (arg7 == NULL) SWIG_fail;
17822 temp7 = True;
17823 }
17824 }
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17833 {
17834 if (temp7)
17835 delete arg7;
17836 }
17837 return resultobj;
17838 fail:
17839 {
17840 if (temp7)
17841 delete arg7;
17842 }
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxPyListCtrl *result;
17850 char *kwnames[] = {
17851 NULL
17852 };
17853
17854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 result = (wxPyListCtrl *)new wxPyListCtrl();
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17863 return resultobj;
17864 fail:
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17872 wxWindow *arg2 = (wxWindow *) 0 ;
17873 int arg3 = (int) -1 ;
17874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17876 wxSize const &arg5_defvalue = wxDefaultSize ;
17877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17878 long arg6 = (long) wxLC_ICON ;
17879 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17880 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17881 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17882 wxString *arg8 = (wxString *) &arg8_defvalue ;
17883 bool result;
17884 wxPoint temp4 ;
17885 wxSize temp5 ;
17886 bool temp8 = False ;
17887 PyObject * obj0 = 0 ;
17888 PyObject * obj1 = 0 ;
17889 PyObject * obj3 = 0 ;
17890 PyObject * obj4 = 0 ;
17891 PyObject * obj6 = 0 ;
17892 PyObject * obj7 = 0 ;
17893 char *kwnames[] = {
17894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17895 };
17896
17897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17900 if (obj3) {
17901 {
17902 arg4 = &temp4;
17903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17904 }
17905 }
17906 if (obj4) {
17907 {
17908 arg5 = &temp5;
17909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17910 }
17911 }
17912 if (obj6) {
17913 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17914 if (arg7 == NULL) {
17915 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17916 }
17917 }
17918 if (obj7) {
17919 {
17920 arg8 = wxString_in_helper(obj7);
17921 if (arg8 == NULL) SWIG_fail;
17922 temp8 = True;
17923 }
17924 }
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17928
17929 wxPyEndAllowThreads(__tstate);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 resultobj = PyInt_FromLong((long)result);
17933 {
17934 if (temp8)
17935 delete arg8;
17936 }
17937 return resultobj;
17938 fail:
17939 {
17940 if (temp8)
17941 delete arg8;
17942 }
17943 return NULL;
17944 }
17945
17946
17947 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17950 PyObject *arg2 = (PyObject *) 0 ;
17951 PyObject *arg3 = (PyObject *) 0 ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 PyObject * obj2 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "self",(char *) "self",(char *) "_class", NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17961 arg2 = obj1;
17962 arg3 = obj2;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->_setCallbackInfo(arg2,arg3);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17980 wxColour *arg2 = 0 ;
17981 bool result;
17982 wxColour temp2 ;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "col", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17991 {
17992 arg2 = &temp2;
17993 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17994 }
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 resultobj = PyInt_FromLong((long)result);
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18012 wxColour *arg2 = 0 ;
18013 bool result;
18014 wxColour temp2 ;
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj1 = 0 ;
18017 char *kwnames[] = {
18018 (char *) "self",(char *) "col", NULL
18019 };
18020
18021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18023 {
18024 arg2 = &temp2;
18025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18026 }
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
18030
18031 wxPyEndAllowThreads(__tstate);
18032 if (PyErr_Occurred()) SWIG_fail;
18033 }
18034 resultobj = PyInt_FromLong((long)result);
18035 return resultobj;
18036 fail:
18037 return NULL;
18038 }
18039
18040
18041 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18042 PyObject *resultobj;
18043 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18044 int arg2 ;
18045 wxListItem *result;
18046 PyObject * obj0 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self",(char *) "col", NULL
18049 };
18050
18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 {
18061 resultobj = wxPyMake_wxObject(result);
18062 }
18063 return resultobj;
18064 fail:
18065 return NULL;
18066 }
18067
18068
18069 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18070 PyObject *resultobj;
18071 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18072 int arg2 ;
18073 wxListItem *arg3 = 0 ;
18074 bool result;
18075 PyObject * obj0 = 0 ;
18076 PyObject * obj2 = 0 ;
18077 char *kwnames[] = {
18078 (char *) "self",(char *) "col",(char *) "item", NULL
18079 };
18080
18081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18083 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18084 if (arg3 == NULL) {
18085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18086 }
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = PyInt_FromLong((long)result);
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18102 PyObject *resultobj;
18103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18104 int arg2 ;
18105 int result;
18106 PyObject * obj0 = 0 ;
18107 char *kwnames[] = {
18108 (char *) "self",(char *) "col", NULL
18109 };
18110
18111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = PyInt_FromLong((long)result);
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18130 int arg2 ;
18131 int arg3 ;
18132 bool result;
18133 PyObject * obj0 = 0 ;
18134 char *kwnames[] = {
18135 (char *) "self",(char *) "col",(char *) "width", NULL
18136 };
18137
18138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18140 {
18141 PyThreadState* __tstate = wxPyBeginAllowThreads();
18142 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18143
18144 wxPyEndAllowThreads(__tstate);
18145 if (PyErr_Occurred()) SWIG_fail;
18146 }
18147 resultobj = PyInt_FromLong((long)result);
18148 return resultobj;
18149 fail:
18150 return NULL;
18151 }
18152
18153
18154 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18155 PyObject *resultobj;
18156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18157 int result;
18158 PyObject * obj0 = 0 ;
18159 char *kwnames[] = {
18160 (char *) "self", NULL
18161 };
18162
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18168
18169 wxPyEndAllowThreads(__tstate);
18170 if (PyErr_Occurred()) SWIG_fail;
18171 }
18172 resultobj = PyInt_FromLong((long)result);
18173 return resultobj;
18174 fail:
18175 return NULL;
18176 }
18177
18178
18179 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18180 PyObject *resultobj;
18181 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18182 wxRect result;
18183 PyObject * obj0 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "self", NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18193
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 {
18198 wxRect * resultptr;
18199 resultptr = new wxRect((wxRect &) result);
18200 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18201 }
18202 return resultobj;
18203 fail:
18204 return NULL;
18205 }
18206
18207
18208 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18211 wxTextCtrl *result;
18212 PyObject * obj0 = 0 ;
18213 char *kwnames[] = {
18214 (char *) "self", NULL
18215 };
18216
18217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
18218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 {
18227 resultobj = wxPyMake_wxObject(result);
18228 }
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18238 long arg2 ;
18239 int arg3 = (int) 0 ;
18240 wxListItem *result;
18241 PyObject * obj0 = 0 ;
18242 char *kwnames[] = {
18243 (char *) "self",(char *) "itemId",(char *) "col", NULL
18244 };
18245
18246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 {
18256 resultobj = wxPyMake_wxObject(result);
18257 }
18258 return resultobj;
18259 fail:
18260 return NULL;
18261 }
18262
18263
18264 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18265 PyObject *resultobj;
18266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18267 wxListItem *arg2 = 0 ;
18268 bool result;
18269 PyObject * obj0 = 0 ;
18270 PyObject * obj1 = 0 ;
18271 char *kwnames[] = {
18272 (char *) "self",(char *) "info", NULL
18273 };
18274
18275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18278 if (arg2 == NULL) {
18279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18280 }
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 result = (bool)(arg1)->SetItem(*arg2);
18284
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 resultobj = PyInt_FromLong((long)result);
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18298 long arg2 ;
18299 int arg3 ;
18300 wxString *arg4 = 0 ;
18301 int arg5 = (int) -1 ;
18302 long result;
18303 bool temp4 = False ;
18304 PyObject * obj0 = 0 ;
18305 PyObject * obj3 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18312 {
18313 arg4 = wxString_in_helper(obj3);
18314 if (arg4 == NULL) SWIG_fail;
18315 temp4 = True;
18316 }
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 resultobj = PyInt_FromLong((long)result);
18325 {
18326 if (temp4)
18327 delete arg4;
18328 }
18329 return resultobj;
18330 fail:
18331 {
18332 if (temp4)
18333 delete arg4;
18334 }
18335 return NULL;
18336 }
18337
18338
18339 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18340 PyObject *resultobj;
18341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18342 long arg2 ;
18343 long arg3 ;
18344 int result;
18345 PyObject * obj0 = 0 ;
18346 char *kwnames[] = {
18347 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18348 };
18349
18350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18355
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 resultobj = PyInt_FromLong((long)result);
18360 return resultobj;
18361 fail:
18362 return NULL;
18363 }
18364
18365
18366 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18369 long arg2 ;
18370 long arg3 ;
18371 long arg4 ;
18372 bool result;
18373 PyObject * obj0 = 0 ;
18374 char *kwnames[] = {
18375 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18376 };
18377
18378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18380 {
18381 PyThreadState* __tstate = wxPyBeginAllowThreads();
18382 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18383
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 resultobj = PyInt_FromLong((long)result);
18388 return resultobj;
18389 fail:
18390 return NULL;
18391 }
18392
18393
18394 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18395 PyObject *resultobj;
18396 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18397 long arg2 ;
18398 int arg3 ;
18399 int arg4 ;
18400 bool result;
18401 PyObject * obj0 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 resultobj = PyInt_FromLong((long)result);
18416 return resultobj;
18417 fail:
18418 return NULL;
18419 }
18420
18421
18422 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18425 long arg2 ;
18426 wxString result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self",(char *) "item", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18437
18438 wxPyEndAllowThreads(__tstate);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 }
18441 {
18442 #if wxUSE_UNICODE
18443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18444 #else
18445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18446 #endif
18447 }
18448 return resultobj;
18449 fail:
18450 return NULL;
18451 }
18452
18453
18454 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj;
18456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18457 long arg2 ;
18458 wxString *arg3 = 0 ;
18459 bool temp3 = False ;
18460 PyObject * obj0 = 0 ;
18461 PyObject * obj2 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self",(char *) "item",(char *) "str", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18468 {
18469 arg3 = wxString_in_helper(obj2);
18470 if (arg3 == NULL) SWIG_fail;
18471 temp3 = True;
18472 }
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18476
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 Py_INCREF(Py_None); resultobj = Py_None;
18481 {
18482 if (temp3)
18483 delete arg3;
18484 }
18485 return resultobj;
18486 fail:
18487 {
18488 if (temp3)
18489 delete arg3;
18490 }
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18498 long arg2 ;
18499 long result;
18500 PyObject * obj0 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self",(char *) "item", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 resultobj = PyInt_FromLong((long)result);
18515 return resultobj;
18516 fail:
18517 return NULL;
18518 }
18519
18520
18521 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18522 PyObject *resultobj;
18523 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18524 long arg2 ;
18525 long arg3 ;
18526 bool result;
18527 PyObject * obj0 = 0 ;
18528 char *kwnames[] = {
18529 (char *) "self",(char *) "item",(char *) "data", NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18534 {
18535 PyThreadState* __tstate = wxPyBeginAllowThreads();
18536 result = (bool)(arg1)->SetItemData(arg2,arg3);
18537
18538 wxPyEndAllowThreads(__tstate);
18539 if (PyErr_Occurred()) SWIG_fail;
18540 }
18541 resultobj = PyInt_FromLong((long)result);
18542 return resultobj;
18543 fail:
18544 return NULL;
18545 }
18546
18547
18548 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj;
18550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18551 long arg2 ;
18552 wxPoint result;
18553 PyObject * obj0 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "self",(char *) "item", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 {
18568 wxPoint * resultptr;
18569 resultptr = new wxPoint((wxPoint &) result);
18570 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18571 }
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18581 long arg2 ;
18582 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18583 wxRect result;
18584 PyObject * obj0 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self",(char *) "item",(char *) "code", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 {
18599 wxRect * resultptr;
18600 resultptr = new wxRect((wxRect &) result);
18601 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18602 }
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18612 long arg2 ;
18613 wxPoint *arg3 = 0 ;
18614 bool result;
18615 wxPoint temp3 ;
18616 PyObject * obj0 = 0 ;
18617 PyObject * obj2 = 0 ;
18618 char *kwnames[] = {
18619 (char *) "self",(char *) "item",(char *) "pos", NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18624 {
18625 arg3 = &temp3;
18626 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18627 }
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 resultobj = PyInt_FromLong((long)result);
18636 return resultobj;
18637 fail:
18638 return NULL;
18639 }
18640
18641
18642 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18645 int result;
18646 PyObject * obj0 = 0 ;
18647 char *kwnames[] = {
18648 (char *) "self", NULL
18649 };
18650
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 resultobj = PyInt_FromLong((long)result);
18661 return resultobj;
18662 fail:
18663 return NULL;
18664 }
18665
18666
18667 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18670 int result;
18671 PyObject * obj0 = 0 ;
18672 char *kwnames[] = {
18673 (char *) "self", NULL
18674 };
18675
18676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = PyInt_FromLong((long)result);
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj;
18694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18695 wxSize result;
18696 PyObject * obj0 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 {
18711 wxSize * resultptr;
18712 resultptr = new wxSize((wxSize &) result);
18713 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18714 }
18715 return resultobj;
18716 fail:
18717 return NULL;
18718 }
18719
18720
18721 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18722 PyObject *resultobj;
18723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18724 int result;
18725 PyObject * obj0 = 0 ;
18726 char *kwnames[] = {
18727 (char *) "self", NULL
18728 };
18729
18730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 resultobj = PyInt_FromLong((long)result);
18740 return resultobj;
18741 fail:
18742 return NULL;
18743 }
18744
18745
18746 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18749 wxColour result;
18750 PyObject * obj0 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 {
18765 wxColour * resultptr;
18766 resultptr = new wxColour((wxColour &) result);
18767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18768 }
18769 return resultobj;
18770 fail:
18771 return NULL;
18772 }
18773
18774
18775 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18778 wxColour *arg2 = 0 ;
18779 wxColour temp2 ;
18780 PyObject * obj0 = 0 ;
18781 PyObject * obj1 = 0 ;
18782 char *kwnames[] = {
18783 (char *) "self",(char *) "col", NULL
18784 };
18785
18786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18788 {
18789 arg2 = &temp2;
18790 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18791 }
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 (arg1)->SetTextColour((wxColour const &)*arg2);
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 Py_INCREF(Py_None); resultobj = Py_None;
18800 return resultobj;
18801 fail:
18802 return NULL;
18803 }
18804
18805
18806 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj;
18808 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18809 long result;
18810 PyObject * obj0 = 0 ;
18811 char *kwnames[] = {
18812 (char *) "self", NULL
18813 };
18814
18815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18817 {
18818 PyThreadState* __tstate = wxPyBeginAllowThreads();
18819 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 resultobj = PyInt_FromLong((long)result);
18825 return resultobj;
18826 fail:
18827 return NULL;
18828 }
18829
18830
18831 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18832 PyObject *resultobj;
18833 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18834 long arg2 ;
18835 bool arg3 = (bool) True ;
18836 PyObject * obj0 = 0 ;
18837 PyObject * obj2 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self",(char *) "style",(char *) "add", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18844 if (obj2) {
18845 arg3 = PyInt_AsLong(obj2) ? true : false;
18846 if (PyErr_Occurred()) SWIG_fail;
18847 }
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 (arg1)->SetSingleStyle(arg2,arg3);
18851
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 Py_INCREF(Py_None); resultobj = Py_None;
18856 return resultobj;
18857 fail:
18858 return NULL;
18859 }
18860
18861
18862 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18863 PyObject *resultobj;
18864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18865 long arg2 ;
18866 PyObject * obj0 = 0 ;
18867 char *kwnames[] = {
18868 (char *) "self",(char *) "style", NULL
18869 };
18870
18871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 (arg1)->SetWindowStyleFlag(arg2);
18876
18877 wxPyEndAllowThreads(__tstate);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 Py_INCREF(Py_None); resultobj = Py_None;
18881 return resultobj;
18882 fail:
18883 return NULL;
18884 }
18885
18886
18887 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18888 PyObject *resultobj;
18889 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18890 long arg2 ;
18891 int arg3 = (int) wxLIST_NEXT_ALL ;
18892 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18893 long result;
18894 PyObject * obj0 = 0 ;
18895 char *kwnames[] = {
18896 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18897 };
18898
18899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18904
18905 wxPyEndAllowThreads(__tstate);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 resultobj = PyInt_FromLong((long)result);
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj;
18917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18918 int arg2 ;
18919 wxImageList *result;
18920 PyObject * obj0 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self",(char *) "which", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18927 {
18928 PyThreadState* __tstate = wxPyBeginAllowThreads();
18929 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18930
18931 wxPyEndAllowThreads(__tstate);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 }
18934 {
18935 resultobj = wxPyMake_wxObject(result);
18936 }
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18946 wxImageList *arg2 = (wxImageList *) 0 ;
18947 int arg3 ;
18948 PyObject * obj0 = 0 ;
18949 PyObject * obj1 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self",(char *) "imageList",(char *) "which", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 (arg1)->SetImageList(arg2,arg3);
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18974 wxImageList *arg2 = (wxImageList *) 0 ;
18975 int arg3 ;
18976 PyObject * obj0 = 0 ;
18977 PyObject * obj1 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "imageList",(char *) "which", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 (arg1)->AssignImageList(arg2,arg3);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 Py_INCREF(Py_None); resultobj = Py_None;
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj;
19001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19002 bool result;
19003 PyObject * obj0 = 0 ;
19004 char *kwnames[] = {
19005 (char *) "self", NULL
19006 };
19007
19008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
19009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19010 {
19011 PyThreadState* __tstate = wxPyBeginAllowThreads();
19012 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
19013
19014 wxPyEndAllowThreads(__tstate);
19015 if (PyErr_Occurred()) SWIG_fail;
19016 }
19017 resultobj = PyInt_FromLong((long)result);
19018 return resultobj;
19019 fail:
19020 return NULL;
19021 }
19022
19023
19024 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19025 PyObject *resultobj;
19026 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19027 long arg2 ;
19028 PyObject * obj0 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self",(char *) "item", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 (arg1)->RefreshItem(arg2);
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 Py_INCREF(Py_None); resultobj = Py_None;
19043 return resultobj;
19044 fail:
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19052 long arg2 ;
19053 long arg3 ;
19054 PyObject * obj0 = 0 ;
19055 char *kwnames[] = {
19056 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19057 };
19058
19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19061 {
19062 PyThreadState* __tstate = wxPyBeginAllowThreads();
19063 (arg1)->RefreshItems(arg2,arg3);
19064
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 Py_INCREF(Py_None); resultobj = Py_None;
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj;
19077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19078 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19079 bool result;
19080 PyObject * obj0 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self",(char *) "flag", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 result = (bool)(arg1)->Arrange(arg2);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 resultobj = PyInt_FromLong((long)result);
19095 return resultobj;
19096 fail:
19097 return NULL;
19098 }
19099
19100
19101 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19104 long arg2 ;
19105 bool result;
19106 PyObject * obj0 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "self",(char *) "item", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (bool)(arg1)->DeleteItem(arg2);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 resultobj = PyInt_FromLong((long)result);
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19130 bool result;
19131 PyObject * obj0 = 0 ;
19132 char *kwnames[] = {
19133 (char *) "self", NULL
19134 };
19135
19136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19138 {
19139 PyThreadState* __tstate = wxPyBeginAllowThreads();
19140 result = (bool)(arg1)->DeleteAllItems();
19141
19142 wxPyEndAllowThreads(__tstate);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 }
19145 resultobj = PyInt_FromLong((long)result);
19146 return resultobj;
19147 fail:
19148 return NULL;
19149 }
19150
19151
19152 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19153 PyObject *resultobj;
19154 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19155 int arg2 ;
19156 bool result;
19157 PyObject * obj0 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self",(char *) "col", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19164 {
19165 PyThreadState* __tstate = wxPyBeginAllowThreads();
19166 result = (bool)(arg1)->DeleteColumn(arg2);
19167
19168 wxPyEndAllowThreads(__tstate);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 }
19171 resultobj = PyInt_FromLong((long)result);
19172 return resultobj;
19173 fail:
19174 return NULL;
19175 }
19176
19177
19178 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj;
19180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19181 bool result;
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 result = (bool)(arg1)->DeleteAllColumns();
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 resultobj = PyInt_FromLong((long)result);
19197 return resultobj;
19198 fail:
19199 return NULL;
19200 }
19201
19202
19203 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19206 PyObject * obj0 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 (arg1)->ClearAll();
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224 }
19225
19226
19227 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19228 PyObject *resultobj;
19229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19230 long arg2 ;
19231 wxTextCtrl *result;
19232 PyObject * obj0 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self",(char *) "item", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 {
19247 resultobj = wxPyMake_wxObject(result);
19248 }
19249 return resultobj;
19250 fail:
19251 return NULL;
19252 }
19253
19254
19255 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj;
19257 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19258 bool arg2 ;
19259 bool result;
19260 PyObject * obj0 = 0 ;
19261 PyObject * obj1 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "cancel", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19268 arg2 = PyInt_AsLong(obj1) ? true : false;
19269 if (PyErr_Occurred()) SWIG_fail;
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 result = (bool)(arg1)->EndEditLabel(arg2);
19273
19274 wxPyEndAllowThreads(__tstate);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 }
19277 resultobj = PyInt_FromLong((long)result);
19278 return resultobj;
19279 fail:
19280 return NULL;
19281 }
19282
19283
19284 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19285 PyObject *resultobj;
19286 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19287 long arg2 ;
19288 bool result;
19289 PyObject * obj0 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self",(char *) "item", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19296 {
19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
19298 result = (bool)(arg1)->EnsureVisible(arg2);
19299
19300 wxPyEndAllowThreads(__tstate);
19301 if (PyErr_Occurred()) SWIG_fail;
19302 }
19303 resultobj = PyInt_FromLong((long)result);
19304 return resultobj;
19305 fail:
19306 return NULL;
19307 }
19308
19309
19310 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19311 PyObject *resultobj;
19312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19313 long arg2 ;
19314 wxString *arg3 = 0 ;
19315 bool arg4 = (bool) False ;
19316 long result;
19317 bool temp3 = False ;
19318 PyObject * obj0 = 0 ;
19319 PyObject * obj2 = 0 ;
19320 PyObject * obj3 = 0 ;
19321 char *kwnames[] = {
19322 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19323 };
19324
19325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19327 {
19328 arg3 = wxString_in_helper(obj2);
19329 if (arg3 == NULL) SWIG_fail;
19330 temp3 = True;
19331 }
19332 if (obj3) {
19333 arg4 = PyInt_AsLong(obj3) ? true : false;
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 resultobj = PyInt_FromLong((long)result);
19344 {
19345 if (temp3)
19346 delete arg3;
19347 }
19348 return resultobj;
19349 fail:
19350 {
19351 if (temp3)
19352 delete arg3;
19353 }
19354 return NULL;
19355 }
19356
19357
19358 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19359 PyObject *resultobj;
19360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19361 long arg2 ;
19362 long arg3 ;
19363 long result;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self",(char *) "start",(char *) "data", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (long)(arg1)->FindItem(arg2,arg3);
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 resultobj = PyInt_FromLong((long)result);
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19388 long arg2 ;
19389 wxPoint *arg3 = 0 ;
19390 int arg4 ;
19391 long result;
19392 wxPoint temp3 ;
19393 PyObject * obj0 = 0 ;
19394 PyObject * obj2 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19401 {
19402 arg3 = &temp3;
19403 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19404 }
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 resultobj = PyInt_FromLong((long)result);
19413 return resultobj;
19414 fail:
19415 return NULL;
19416 }
19417
19418
19419 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19422 wxPoint *arg2 = 0 ;
19423 int *arg3 = 0 ;
19424 long result;
19425 wxPoint temp2 ;
19426 int temp3 ;
19427 PyObject * obj0 = 0 ;
19428 PyObject * obj1 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self",(char *) "point", NULL
19431 };
19432
19433 arg3 = &temp3;
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 {
19437 arg2 = &temp2;
19438 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19439 }
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
19442 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19443
19444 wxPyEndAllowThreads(__tstate);
19445 if (PyErr_Occurred()) SWIG_fail;
19446 }
19447 resultobj = PyInt_FromLong((long)result);
19448 {
19449 PyObject *o = PyInt_FromLong((long) (*arg3));
19450 resultobj = t_output_helper(resultobj,o);
19451 }
19452 return resultobj;
19453 fail:
19454 return NULL;
19455 }
19456
19457
19458 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj;
19460 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19461 wxListItem *arg2 = 0 ;
19462 long result;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self",(char *) "info", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19472 if (arg2 == NULL) {
19473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19474 }
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = (long)(arg1)->InsertItem(*arg2);
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 resultobj = PyInt_FromLong((long)result);
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj;
19491 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19492 long arg2 ;
19493 wxString *arg3 = 0 ;
19494 long result;
19495 bool temp3 = False ;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj2 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self",(char *) "index",(char *) "label", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19504 {
19505 arg3 = wxString_in_helper(obj2);
19506 if (arg3 == NULL) SWIG_fail;
19507 temp3 = True;
19508 }
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 resultobj = PyInt_FromLong((long)result);
19517 {
19518 if (temp3)
19519 delete arg3;
19520 }
19521 return resultobj;
19522 fail:
19523 {
19524 if (temp3)
19525 delete arg3;
19526 }
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19534 long arg2 ;
19535 int arg3 ;
19536 long result;
19537 PyObject * obj0 = 0 ;
19538 char *kwnames[] = {
19539 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19540 };
19541
19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19544 {
19545 PyThreadState* __tstate = wxPyBeginAllowThreads();
19546 result = (long)(arg1)->InsertItem(arg2,arg3);
19547
19548 wxPyEndAllowThreads(__tstate);
19549 if (PyErr_Occurred()) SWIG_fail;
19550 }
19551 resultobj = PyInt_FromLong((long)result);
19552 return resultobj;
19553 fail:
19554 return NULL;
19555 }
19556
19557
19558 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj;
19560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19561 long arg2 ;
19562 wxString *arg3 = 0 ;
19563 int arg4 ;
19564 long result;
19565 bool temp3 = False ;
19566 PyObject * obj0 = 0 ;
19567 PyObject * obj2 = 0 ;
19568 char *kwnames[] = {
19569 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19574 {
19575 arg3 = wxString_in_helper(obj2);
19576 if (arg3 == NULL) SWIG_fail;
19577 temp3 = True;
19578 }
19579 {
19580 PyThreadState* __tstate = wxPyBeginAllowThreads();
19581 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 resultobj = PyInt_FromLong((long)result);
19587 {
19588 if (temp3)
19589 delete arg3;
19590 }
19591 return resultobj;
19592 fail:
19593 {
19594 if (temp3)
19595 delete arg3;
19596 }
19597 return NULL;
19598 }
19599
19600
19601 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19604 long arg2 ;
19605 wxListItem *arg3 = 0 ;
19606 long result;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj2 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "self",(char *) "col",(char *) "info", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19615 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19616 if (arg3 == NULL) {
19617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19618 }
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 resultobj = PyInt_FromLong((long)result);
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19636 long arg2 ;
19637 wxString *arg3 = 0 ;
19638 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19639 int arg5 = (int) -1 ;
19640 long result;
19641 bool temp3 = False ;
19642 PyObject * obj0 = 0 ;
19643 PyObject * obj2 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19650 {
19651 arg3 = wxString_in_helper(obj2);
19652 if (arg3 == NULL) SWIG_fail;
19653 temp3 = True;
19654 }
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = PyInt_FromLong((long)result);
19663 {
19664 if (temp3)
19665 delete arg3;
19666 }
19667 return resultobj;
19668 fail:
19669 {
19670 if (temp3)
19671 delete arg3;
19672 }
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19680 long arg2 ;
19681 PyObject * obj0 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self",(char *) "count", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 (arg1)->SetItemCount(arg2);
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 Py_INCREF(Py_None); resultobj = Py_None;
19696 return resultobj;
19697 fail:
19698 return NULL;
19699 }
19700
19701
19702 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19703 PyObject *resultobj;
19704 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19705 int arg2 ;
19706 int arg3 ;
19707 bool result;
19708 PyObject * obj0 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self",(char *) "dx",(char *) "dy", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (bool)(arg1)->ScrollList(arg2,arg3);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 resultobj = PyInt_FromLong((long)result);
19723 return resultobj;
19724 fail:
19725 return NULL;
19726 }
19727
19728
19729 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19732 long arg2 ;
19733 wxColour *arg3 = 0 ;
19734 wxColour temp3 ;
19735 PyObject * obj0 = 0 ;
19736 PyObject * obj2 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self",(char *) "item",(char *) "col", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19743 {
19744 arg3 = &temp3;
19745 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19746 }
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 Py_INCREF(Py_None); resultobj = Py_None;
19755 return resultobj;
19756 fail:
19757 return NULL;
19758 }
19759
19760
19761 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19764 long arg2 ;
19765 wxColour result;
19766 PyObject * obj0 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self",(char *) "item", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 {
19781 wxColour * resultptr;
19782 resultptr = new wxColour((wxColour &) result);
19783 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19784 }
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19794 long arg2 ;
19795 wxColour *arg3 = 0 ;
19796 wxColour temp3 ;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj2 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "item",(char *) "col", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 arg3 = &temp3;
19807 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19808 }
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 Py_INCREF(Py_None); resultobj = Py_None;
19817 return resultobj;
19818 fail:
19819 return NULL;
19820 }
19821
19822
19823 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19826 long arg2 ;
19827 wxColour result;
19828 PyObject * obj0 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self",(char *) "item", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 {
19843 wxColour * resultptr;
19844 resultptr = new wxColour((wxColour &) result);
19845 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19846 }
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19856 PyObject *arg2 = (PyObject *) 0 ;
19857 bool result;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self",(char *) "func", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19866 arg2 = obj1;
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 resultobj = PyInt_FromLong((long)result);
19875 return resultobj;
19876 fail:
19877 return NULL;
19878 }
19879
19880
19881 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19882 PyObject *resultobj;
19883 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19884 wxWindow *result;
19885 PyObject * obj0 = 0 ;
19886 char *kwnames[] = {
19887 (char *) "self", NULL
19888 };
19889
19890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 {
19900 resultobj = wxPyMake_wxObject(result);
19901 }
19902 return resultobj;
19903 fail:
19904 return NULL;
19905 }
19906
19907
19908 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19909 PyObject *obj;
19910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19911 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19912 Py_INCREF(obj);
19913 return Py_BuildValue((char *)"");
19914 }
19915 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 wxWindow *arg1 = (wxWindow *) 0 ;
19918 int arg2 = (int) -1 ;
19919 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19920 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19921 wxSize const &arg4_defvalue = wxDefaultSize ;
19922 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19923 long arg5 = (long) wxLC_REPORT ;
19924 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19925 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19926 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19927 wxString *arg7 = (wxString *) &arg7_defvalue ;
19928 wxListView *result;
19929 wxPoint temp3 ;
19930 wxSize temp4 ;
19931 bool temp7 = False ;
19932 PyObject * obj0 = 0 ;
19933 PyObject * obj2 = 0 ;
19934 PyObject * obj3 = 0 ;
19935 PyObject * obj5 = 0 ;
19936 PyObject * obj6 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 if (obj2) {
19944 {
19945 arg3 = &temp3;
19946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19947 }
19948 }
19949 if (obj3) {
19950 {
19951 arg4 = &temp4;
19952 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19953 }
19954 }
19955 if (obj5) {
19956 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19957 if (arg6 == NULL) {
19958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19959 }
19960 }
19961 if (obj6) {
19962 {
19963 arg7 = wxString_in_helper(obj6);
19964 if (arg7 == NULL) SWIG_fail;
19965 temp7 = True;
19966 }
19967 }
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19976 {
19977 if (temp7)
19978 delete arg7;
19979 }
19980 return resultobj;
19981 fail:
19982 {
19983 if (temp7)
19984 delete arg7;
19985 }
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxListView *result;
19993 char *kwnames[] = {
19994 NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 result = (wxListView *)new wxListView();
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxListView *arg1 = (wxListView *) 0 ;
20015 wxWindow *arg2 = (wxWindow *) 0 ;
20016 int arg3 = (int) -1 ;
20017 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20018 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20019 wxSize const &arg5_defvalue = wxDefaultSize ;
20020 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20021 long arg6 = (long) wxLC_REPORT ;
20022 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20023 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20024 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20025 wxString *arg8 = (wxString *) &arg8_defvalue ;
20026 bool result;
20027 wxPoint temp4 ;
20028 wxSize temp5 ;
20029 bool temp8 = False ;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj1 = 0 ;
20032 PyObject * obj3 = 0 ;
20033 PyObject * obj4 = 0 ;
20034 PyObject * obj6 = 0 ;
20035 PyObject * obj7 = 0 ;
20036 char *kwnames[] = {
20037 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20038 };
20039
20040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 if (obj3) {
20044 {
20045 arg4 = &temp4;
20046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20047 }
20048 }
20049 if (obj4) {
20050 {
20051 arg5 = &temp5;
20052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20053 }
20054 }
20055 if (obj6) {
20056 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20057 if (arg7 == NULL) {
20058 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20059 }
20060 }
20061 if (obj7) {
20062 {
20063 arg8 = wxString_in_helper(obj7);
20064 if (arg8 == NULL) SWIG_fail;
20065 temp8 = True;
20066 }
20067 }
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 resultobj = PyInt_FromLong((long)result);
20076 {
20077 if (temp8)
20078 delete arg8;
20079 }
20080 return resultobj;
20081 fail:
20082 {
20083 if (temp8)
20084 delete arg8;
20085 }
20086 return NULL;
20087 }
20088
20089
20090 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj;
20092 wxListView *arg1 = (wxListView *) 0 ;
20093 long arg2 ;
20094 bool arg3 = (bool) True ;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj2 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "n",(char *) "on", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 if (obj2) {
20104 arg3 = PyInt_AsLong(obj2) ? true : false;
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 (arg1)->Select(arg2,arg3);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118 }
20119
20120
20121 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxListView *arg1 = (wxListView *) 0 ;
20124 long arg2 ;
20125 PyObject * obj0 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "index", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 (arg1)->Focus(arg2);
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 Py_INCREF(Py_None); resultobj = Py_None;
20140 return resultobj;
20141 fail:
20142 return NULL;
20143 }
20144
20145
20146 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20147 PyObject *resultobj;
20148 wxListView *arg1 = (wxListView *) 0 ;
20149 long result;
20150 PyObject * obj0 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20160
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 resultobj = PyInt_FromLong((long)result);
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxListView *arg1 = (wxListView *) 0 ;
20174 long arg2 ;
20175 long result;
20176 PyObject * obj0 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "self",(char *) "item", NULL
20179 };
20180
20181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 resultobj = PyInt_FromLong((long)result);
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxListView *arg1 = (wxListView *) 0 ;
20200 long result;
20201 PyObject * obj0 = 0 ;
20202 char *kwnames[] = {
20203 (char *) "self", NULL
20204 };
20205
20206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 resultobj = PyInt_FromLong((long)result);
20216 return resultobj;
20217 fail:
20218 return NULL;
20219 }
20220
20221
20222 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxListView *arg1 = (wxListView *) 0 ;
20225 long arg2 ;
20226 bool result;
20227 PyObject * obj0 = 0 ;
20228 char *kwnames[] = {
20229 (char *) "self",(char *) "index", NULL
20230 };
20231
20232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (bool)(arg1)->IsSelected(arg2);
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 resultobj = PyInt_FromLong((long)result);
20242 return resultobj;
20243 fail:
20244 return NULL;
20245 }
20246
20247
20248 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20249 PyObject *resultobj;
20250 wxListView *arg1 = (wxListView *) 0 ;
20251 int arg2 ;
20252 int arg3 ;
20253 PyObject * obj0 = 0 ;
20254 char *kwnames[] = {
20255 (char *) "self",(char *) "col",(char *) "image", NULL
20256 };
20257
20258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20260 {
20261 PyThreadState* __tstate = wxPyBeginAllowThreads();
20262 (arg1)->SetColumnImage(arg2,arg3);
20263
20264 wxPyEndAllowThreads(__tstate);
20265 if (PyErr_Occurred()) SWIG_fail;
20266 }
20267 Py_INCREF(Py_None); resultobj = Py_None;
20268 return resultobj;
20269 fail:
20270 return NULL;
20271 }
20272
20273
20274 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj;
20276 wxListView *arg1 = (wxListView *) 0 ;
20277 int arg2 ;
20278 PyObject * obj0 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self",(char *) "col", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 (arg1)->ClearColumnImage(arg2);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 Py_INCREF(Py_None); resultobj = Py_None;
20293 return resultobj;
20294 fail:
20295 return NULL;
20296 }
20297
20298
20299 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20300 PyObject *obj;
20301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20302 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20303 Py_INCREF(obj);
20304 return Py_BuildValue((char *)"");
20305 }
20306 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20307 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20308 return 1;
20309 }
20310
20311
20312 static PyObject *_wrap_TreeCtrlNameStr_get() {
20313 PyObject *pyobj;
20314
20315 {
20316 #if wxUSE_UNICODE
20317 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20318 #else
20319 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20320 #endif
20321 }
20322 return pyobj;
20323 }
20324
20325
20326 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20327 PyObject *resultobj;
20328 wxTreeItemId *result;
20329 char *kwnames[] = {
20330 NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 result = (wxTreeItemId *)new wxTreeItemId();
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20342 return resultobj;
20343 fail:
20344 return NULL;
20345 }
20346
20347
20348 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20349 PyObject *resultobj;
20350 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 delete arg1;
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 Py_INCREF(Py_None); resultobj = Py_None;
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20375 bool result;
20376 PyObject * obj0 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = PyInt_FromLong((long)result);
20391 return resultobj;
20392 fail:
20393 return NULL;
20394 }
20395
20396
20397 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj;
20399 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20400 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20401 bool result;
20402 PyObject * obj0 = 0 ;
20403 PyObject * obj1 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self",(char *) "other", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 resultobj = PyInt_FromLong((long)result);
20419 return resultobj;
20420 fail:
20421 return NULL;
20422 }
20423
20424
20425 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20428 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20429 bool result;
20430 PyObject * obj0 = 0 ;
20431 PyObject * obj1 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self",(char *) "other", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 resultobj = PyInt_FromLong((long)result);
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20456 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20457 PyObject * obj0 = 0 ;
20458 PyObject * obj1 = 0 ;
20459 char *kwnames[] = {
20460 (char *) "self",(char *) "m_pItem", NULL
20461 };
20462
20463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20466 if (arg1) (arg1)->m_pItem = arg2;
20467
20468 Py_INCREF(Py_None); resultobj = Py_None;
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj;
20477 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20478 wxTreeItemIdValue result;
20479 PyObject * obj0 = 0 ;
20480 char *kwnames[] = {
20481 (char *) "self", NULL
20482 };
20483
20484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20486 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20487
20488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20489 return resultobj;
20490 fail:
20491 return NULL;
20492 }
20493
20494
20495 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20496 PyObject *obj;
20497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20498 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20499 Py_INCREF(obj);
20500 return Py_BuildValue((char *)"");
20501 }
20502 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 PyObject *arg1 = (PyObject *) NULL ;
20505 wxPyTreeItemData *result;
20506 PyObject * obj0 = 0 ;
20507 char *kwnames[] = {
20508 (char *) "obj", NULL
20509 };
20510
20511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20512 if (obj0) {
20513 arg1 = obj0;
20514 }
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20518
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20523 return resultobj;
20524 fail:
20525 return NULL;
20526 }
20527
20528
20529 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20532 PyObject *result;
20533 PyObject * obj0 = 0 ;
20534 char *kwnames[] = {
20535 (char *) "self", NULL
20536 };
20537
20538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 result = (PyObject *)(arg1)->GetData();
20543
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 resultobj = result;
20548 return resultobj;
20549 fail:
20550 return NULL;
20551 }
20552
20553
20554 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20555 PyObject *resultobj;
20556 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20557 PyObject *arg2 = (PyObject *) 0 ;
20558 PyObject * obj0 = 0 ;
20559 PyObject * obj1 = 0 ;
20560 char *kwnames[] = {
20561 (char *) "self",(char *) "obj", NULL
20562 };
20563
20564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20566 arg2 = obj1;
20567 {
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 (arg1)->SetData(arg2);
20570
20571 wxPyEndAllowThreads(__tstate);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
20574 Py_INCREF(Py_None); resultobj = Py_None;
20575 return resultobj;
20576 fail:
20577 return NULL;
20578 }
20579
20580
20581 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20584 wxTreeItemId *result;
20585 PyObject * obj0 = 0 ;
20586 char *kwnames[] = {
20587 (char *) "self", NULL
20588 };
20589
20590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 {
20595 wxTreeItemId const &_result_ref = (arg1)->GetId();
20596 result = (wxTreeItemId *) &_result_ref;
20597 }
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20603 return resultobj;
20604 fail:
20605 return NULL;
20606 }
20607
20608
20609 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20610 PyObject *resultobj;
20611 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20612 wxTreeItemId *arg2 = 0 ;
20613 PyObject * obj0 = 0 ;
20614 PyObject * obj1 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self",(char *) "id", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20621 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20622 if (arg2 == NULL) {
20623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20624 }
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 (arg1)->SetId((wxTreeItemId const &)*arg2);
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 Py_INCREF(Py_None); resultobj = Py_None;
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 wxPyTreeItemData_Destroy(arg1);
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 Py_INCREF(Py_None); resultobj = Py_None;
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20664 PyObject *obj;
20665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20666 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20667 Py_INCREF(obj);
20668 return Py_BuildValue((char *)"");
20669 }
20670 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20673 int arg2 = (int) 0 ;
20674 wxTreeEvent *result;
20675 char *kwnames[] = {
20676 (char *) "commandType",(char *) "id", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20688 return resultobj;
20689 fail:
20690 return NULL;
20691 }
20692
20693
20694 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20695 PyObject *resultobj;
20696 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20697 wxTreeItemId result;
20698 PyObject * obj0 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20705 {
20706 PyThreadState* __tstate = wxPyBeginAllowThreads();
20707 result = ((wxTreeEvent const *)arg1)->GetItem();
20708
20709 wxPyEndAllowThreads(__tstate);
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
20712 {
20713 wxTreeItemId * resultptr;
20714 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20715 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20716 }
20717 return resultobj;
20718 fail:
20719 return NULL;
20720 }
20721
20722
20723 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20724 PyObject *resultobj;
20725 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20726 wxTreeItemId *arg2 = 0 ;
20727 PyObject * obj0 = 0 ;
20728 PyObject * obj1 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self",(char *) "item", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20736 if (arg2 == NULL) {
20737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20738 }
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 Py_INCREF(Py_None); resultobj = Py_None;
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj;
20755 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20756 wxTreeItemId result;
20757 PyObject * obj0 = 0 ;
20758 char *kwnames[] = {
20759 (char *) "self", NULL
20760 };
20761
20762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 {
20772 wxTreeItemId * resultptr;
20773 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20774 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20775 }
20776 return resultobj;
20777 fail:
20778 return NULL;
20779 }
20780
20781
20782 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20783 PyObject *resultobj;
20784 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20785 wxTreeItemId *arg2 = 0 ;
20786 PyObject * obj0 = 0 ;
20787 PyObject * obj1 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self",(char *) "item", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20795 if (arg2 == NULL) {
20796 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20797 }
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 Py_INCREF(Py_None); resultobj = Py_None;
20806 return resultobj;
20807 fail:
20808 return NULL;
20809 }
20810
20811
20812 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20815 wxPoint result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 result = ((wxTreeEvent const *)arg1)->GetPoint();
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 {
20831 wxPoint * resultptr;
20832 resultptr = new wxPoint((wxPoint &) result);
20833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20834 }
20835 return resultobj;
20836 fail:
20837 return NULL;
20838 }
20839
20840
20841 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20842 PyObject *resultobj;
20843 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20844 wxPoint *arg2 = 0 ;
20845 wxPoint temp2 ;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "pt", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20854 {
20855 arg2 = &temp2;
20856 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20857 }
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 (arg1)->SetPoint((wxPoint const &)*arg2);
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 Py_INCREF(Py_None); resultobj = Py_None;
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20875 wxKeyEvent *result;
20876 PyObject * obj0 = 0 ;
20877 char *kwnames[] = {
20878 (char *) "self", NULL
20879 };
20880
20881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20883 {
20884 PyThreadState* __tstate = wxPyBeginAllowThreads();
20885 {
20886 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20887 result = (wxKeyEvent *) &_result_ref;
20888 }
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20894 return resultobj;
20895 fail:
20896 return NULL;
20897 }
20898
20899
20900 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20903 int result;
20904 PyObject * obj0 = 0 ;
20905 char *kwnames[] = {
20906 (char *) "self", NULL
20907 };
20908
20909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = PyInt_FromLong((long)result);
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20928 wxKeyEvent *arg2 = 0 ;
20929 PyObject * obj0 = 0 ;
20930 PyObject * obj1 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self",(char *) "evt", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20938 if (arg2 == NULL) {
20939 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20940 }
20941 {
20942 PyThreadState* __tstate = wxPyBeginAllowThreads();
20943 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20944
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
20948 Py_INCREF(Py_None); resultobj = Py_None;
20949 return resultobj;
20950 fail:
20951 return NULL;
20952 }
20953
20954
20955 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20956 PyObject *resultobj;
20957 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20958 wxString *result;
20959 PyObject * obj0 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 {
20969 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20970 result = (wxString *) &_result_ref;
20971 }
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 #if wxUSE_UNICODE
20978 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20979 #else
20980 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20981 #endif
20982 }
20983 return resultobj;
20984 fail:
20985 return NULL;
20986 }
20987
20988
20989 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20992 wxString *arg2 = 0 ;
20993 bool temp2 = False ;
20994 PyObject * obj0 = 0 ;
20995 PyObject * obj1 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self",(char *) "label", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21002 {
21003 arg2 = wxString_in_helper(obj1);
21004 if (arg2 == NULL) SWIG_fail;
21005 temp2 = True;
21006 }
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 (arg1)->SetLabel((wxString const &)*arg2);
21010
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 Py_INCREF(Py_None); resultobj = Py_None;
21015 {
21016 if (temp2)
21017 delete arg2;
21018 }
21019 return resultobj;
21020 fail:
21021 {
21022 if (temp2)
21023 delete arg2;
21024 }
21025 return NULL;
21026 }
21027
21028
21029 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21032 bool result;
21033 PyObject * obj0 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 resultobj = PyInt_FromLong((long)result);
21048 return resultobj;
21049 fail:
21050 return NULL;
21051 }
21052
21053
21054 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21057 bool arg2 ;
21058 PyObject * obj0 = 0 ;
21059 PyObject * obj1 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self",(char *) "editCancelled", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21066 arg2 = PyInt_AsLong(obj1) ? true : false;
21067 if (PyErr_Occurred()) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 (arg1)->SetEditCanceled(arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21085 wxString *arg2 = 0 ;
21086 bool temp2 = False ;
21087 PyObject * obj0 = 0 ;
21088 PyObject * obj1 = 0 ;
21089 char *kwnames[] = {
21090 (char *) "self",(char *) "toolTip", NULL
21091 };
21092
21093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21095 {
21096 arg2 = wxString_in_helper(obj1);
21097 if (arg2 == NULL) SWIG_fail;
21098 temp2 = True;
21099 }
21100 {
21101 PyThreadState* __tstate = wxPyBeginAllowThreads();
21102 (arg1)->SetToolTip((wxString const &)*arg2);
21103
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 Py_INCREF(Py_None); resultobj = Py_None;
21108 {
21109 if (temp2)
21110 delete arg2;
21111 }
21112 return resultobj;
21113 fail:
21114 {
21115 if (temp2)
21116 delete arg2;
21117 }
21118 return NULL;
21119 }
21120
21121
21122 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21123 PyObject *obj;
21124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21125 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21126 Py_INCREF(obj);
21127 return Py_BuildValue((char *)"");
21128 }
21129 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21130 PyObject *resultobj;
21131 wxWindow *arg1 = (wxWindow *) 0 ;
21132 int arg2 = (int) -1 ;
21133 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21134 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21135 wxSize const &arg4_defvalue = wxDefaultSize ;
21136 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21137 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21138 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21139 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21140 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21141 wxString *arg7 = (wxString *) &arg7_defvalue ;
21142 wxPyTreeCtrl *result;
21143 wxPoint temp3 ;
21144 wxSize temp4 ;
21145 bool temp7 = False ;
21146 PyObject * obj0 = 0 ;
21147 PyObject * obj2 = 0 ;
21148 PyObject * obj3 = 0 ;
21149 PyObject * obj5 = 0 ;
21150 PyObject * obj6 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21157 if (obj2) {
21158 {
21159 arg3 = &temp3;
21160 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21161 }
21162 }
21163 if (obj3) {
21164 {
21165 arg4 = &temp4;
21166 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21167 }
21168 }
21169 if (obj5) {
21170 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21171 if (arg6 == NULL) {
21172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21173 }
21174 }
21175 if (obj6) {
21176 {
21177 arg7 = wxString_in_helper(obj6);
21178 if (arg7 == NULL) SWIG_fail;
21179 temp7 = True;
21180 }
21181 }
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 {
21190 resultobj = wxPyMake_wxObject(result);
21191 }
21192 {
21193 if (temp7)
21194 delete arg7;
21195 }
21196 return resultobj;
21197 fail:
21198 {
21199 if (temp7)
21200 delete arg7;
21201 }
21202 return NULL;
21203 }
21204
21205
21206 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxPyTreeCtrl *result;
21209 char *kwnames[] = {
21210 NULL
21211 };
21212
21213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21217
21218 wxPyEndAllowThreads(__tstate);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 {
21222 resultobj = wxPyMake_wxObject(result);
21223 }
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21233 wxWindow *arg2 = (wxWindow *) 0 ;
21234 int arg3 = (int) -1 ;
21235 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21236 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21237 wxSize const &arg5_defvalue = wxDefaultSize ;
21238 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21239 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21240 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21241 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21242 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21243 wxString *arg8 = (wxString *) &arg8_defvalue ;
21244 bool result;
21245 wxPoint temp4 ;
21246 wxSize temp5 ;
21247 bool temp8 = False ;
21248 PyObject * obj0 = 0 ;
21249 PyObject * obj1 = 0 ;
21250 PyObject * obj3 = 0 ;
21251 PyObject * obj4 = 0 ;
21252 PyObject * obj6 = 0 ;
21253 PyObject * obj7 = 0 ;
21254 char *kwnames[] = {
21255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21256 };
21257
21258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21261 if (obj3) {
21262 {
21263 arg4 = &temp4;
21264 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21265 }
21266 }
21267 if (obj4) {
21268 {
21269 arg5 = &temp5;
21270 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21271 }
21272 }
21273 if (obj6) {
21274 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21275 if (arg7 == NULL) {
21276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21277 }
21278 }
21279 if (obj7) {
21280 {
21281 arg8 = wxString_in_helper(obj7);
21282 if (arg8 == NULL) SWIG_fail;
21283 temp8 = True;
21284 }
21285 }
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 resultobj = PyInt_FromLong((long)result);
21294 {
21295 if (temp8)
21296 delete arg8;
21297 }
21298 return resultobj;
21299 fail:
21300 {
21301 if (temp8)
21302 delete arg8;
21303 }
21304 return NULL;
21305 }
21306
21307
21308 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21311 PyObject *arg2 = (PyObject *) 0 ;
21312 PyObject *arg3 = (PyObject *) 0 ;
21313 PyObject * obj0 = 0 ;
21314 PyObject * obj1 = 0 ;
21315 PyObject * obj2 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self",(char *) "self",(char *) "_class", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21322 arg2 = obj1;
21323 arg3 = obj2;
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 (arg1)->_setCallbackInfo(arg2,arg3);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 Py_INCREF(Py_None); resultobj = Py_None;
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21341 size_t result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 resultobj = PyInt_FromLong((long)result);
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21366 unsigned int result;
21367 PyObject * obj0 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 resultobj = PyInt_FromLong((long)result);
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21391 unsigned int arg2 ;
21392 PyObject * obj0 = 0 ;
21393 PyObject * obj1 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self",(char *) "indent", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21400 arg2 = (unsigned int) PyInt_AsLong(obj1);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 (arg1)->SetIndent(arg2);
21405
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 Py_INCREF(Py_None); resultobj = Py_None;
21410 return resultobj;
21411 fail:
21412 return NULL;
21413 }
21414
21415
21416 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21417 PyObject *resultobj;
21418 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21419 unsigned int result;
21420 PyObject * obj0 = 0 ;
21421 char *kwnames[] = {
21422 (char *) "self", NULL
21423 };
21424
21425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 resultobj = PyInt_FromLong((long)result);
21435 return resultobj;
21436 fail:
21437 return NULL;
21438 }
21439
21440
21441 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj;
21443 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21444 unsigned int arg2 ;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "spacing", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 arg2 = (unsigned int) PyInt_AsLong(obj1);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 {
21456 PyThreadState* __tstate = wxPyBeginAllowThreads();
21457 (arg1)->SetSpacing(arg2);
21458
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 Py_INCREF(Py_None); resultobj = Py_None;
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21472 wxImageList *result;
21473 PyObject * obj0 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 {
21488 resultobj = wxPyMake_wxObject(result);
21489 }
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21499 wxImageList *result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21507 {
21508 PyThreadState* __tstate = wxPyBeginAllowThreads();
21509 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21510
21511 wxPyEndAllowThreads(__tstate);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
21514 {
21515 resultobj = wxPyMake_wxObject(result);
21516 }
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21526 wxImageList *arg2 = (wxImageList *) 0 ;
21527 PyObject * obj0 = 0 ;
21528 PyObject * obj1 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self",(char *) "imageList", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 (arg1)->SetImageList(arg2);
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 Py_INCREF(Py_None); resultobj = Py_None;
21544 return resultobj;
21545 fail:
21546 return NULL;
21547 }
21548
21549
21550 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21553 wxImageList *arg2 = (wxImageList *) 0 ;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self",(char *) "imageList", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 (arg1)->SetStateImageList(arg2);
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 Py_INCREF(Py_None); resultobj = Py_None;
21571 return resultobj;
21572 fail:
21573 return NULL;
21574 }
21575
21576
21577 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21578 PyObject *resultobj;
21579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21580 wxImageList *arg2 = (wxImageList *) 0 ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "imageList", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 (arg1)->AssignImageList(arg2);
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 Py_INCREF(Py_None); resultobj = Py_None;
21598 return resultobj;
21599 fail:
21600 return NULL;
21601 }
21602
21603
21604 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21605 PyObject *resultobj;
21606 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21607 wxImageList *arg2 = (wxImageList *) 0 ;
21608 PyObject * obj0 = 0 ;
21609 PyObject * obj1 = 0 ;
21610 char *kwnames[] = {
21611 (char *) "self",(char *) "imageList", NULL
21612 };
21613
21614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21617 {
21618 PyThreadState* __tstate = wxPyBeginAllowThreads();
21619 (arg1)->AssignStateImageList(arg2);
21620
21621 wxPyEndAllowThreads(__tstate);
21622 if (PyErr_Occurred()) SWIG_fail;
21623 }
21624 Py_INCREF(Py_None); resultobj = Py_None;
21625 return resultobj;
21626 fail:
21627 return NULL;
21628 }
21629
21630
21631 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21632 PyObject *resultobj;
21633 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21634 wxTreeItemId *arg2 = 0 ;
21635 wxString result;
21636 PyObject * obj0 = 0 ;
21637 PyObject * obj1 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self",(char *) "item", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 if (arg2 == NULL) {
21646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21647 }
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 {
21656 #if wxUSE_UNICODE
21657 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21658 #else
21659 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21660 #endif
21661 }
21662 return resultobj;
21663 fail:
21664 return NULL;
21665 }
21666
21667
21668 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21669 PyObject *resultobj;
21670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21671 wxTreeItemId *arg2 = 0 ;
21672 int arg3 = (int) wxTreeItemIcon_Normal ;
21673 int result;
21674 PyObject * obj0 = 0 ;
21675 PyObject * obj1 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "item",(char *) "which", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21683 if (arg2 == NULL) {
21684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21685 }
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 resultobj = PyInt_FromLong((long)result);
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21703 wxTreeItemId *arg2 = 0 ;
21704 wxPyTreeItemData *result;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "item", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21714 if (arg2 == NULL) {
21715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21716 }
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21725 return resultobj;
21726 fail:
21727 return NULL;
21728 }
21729
21730
21731 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21732 PyObject *resultobj;
21733 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21734 wxTreeItemId *arg2 = 0 ;
21735 PyObject *result;
21736 PyObject * obj0 = 0 ;
21737 PyObject * obj1 = 0 ;
21738 char *kwnames[] = {
21739 (char *) "self",(char *) "item", NULL
21740 };
21741
21742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21745 if (arg2 == NULL) {
21746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21747 }
21748 {
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21751
21752 wxPyEndAllowThreads(__tstate);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 }
21755 resultobj = result;
21756 return resultobj;
21757 fail:
21758 return NULL;
21759 }
21760
21761
21762 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj;
21764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21765 wxTreeItemId *arg2 = 0 ;
21766 wxColour result;
21767 PyObject * obj0 = 0 ;
21768 PyObject * obj1 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self",(char *) "item", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21776 if (arg2 == NULL) {
21777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21778 }
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 {
21787 wxColour * resultptr;
21788 resultptr = new wxColour((wxColour &) result);
21789 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21790 }
21791 return resultobj;
21792 fail:
21793 return NULL;
21794 }
21795
21796
21797 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21798 PyObject *resultobj;
21799 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21800 wxTreeItemId *arg2 = 0 ;
21801 wxColour result;
21802 PyObject * obj0 = 0 ;
21803 PyObject * obj1 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self",(char *) "item", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21811 if (arg2 == NULL) {
21812 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21813 }
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 {
21822 wxColour * resultptr;
21823 resultptr = new wxColour((wxColour &) result);
21824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21825 }
21826 return resultobj;
21827 fail:
21828 return NULL;
21829 }
21830
21831
21832 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21835 wxTreeItemId *arg2 = 0 ;
21836 wxFont result;
21837 PyObject * obj0 = 0 ;
21838 PyObject * obj1 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self",(char *) "item", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21846 if (arg2 == NULL) {
21847 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21848 }
21849 {
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21852
21853 wxPyEndAllowThreads(__tstate);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 }
21856 {
21857 wxFont * resultptr;
21858 resultptr = new wxFont((wxFont &) result);
21859 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21860 }
21861 return resultobj;
21862 fail:
21863 return NULL;
21864 }
21865
21866
21867 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21868 PyObject *resultobj;
21869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21870 wxTreeItemId *arg2 = 0 ;
21871 wxString *arg3 = 0 ;
21872 bool temp3 = False ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 PyObject * obj2 = 0 ;
21876 char *kwnames[] = {
21877 (char *) "self",(char *) "item",(char *) "text", NULL
21878 };
21879
21880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21883 if (arg2 == NULL) {
21884 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21885 }
21886 {
21887 arg3 = wxString_in_helper(obj2);
21888 if (arg3 == NULL) SWIG_fail;
21889 temp3 = True;
21890 }
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 Py_INCREF(Py_None); resultobj = Py_None;
21899 {
21900 if (temp3)
21901 delete arg3;
21902 }
21903 return resultobj;
21904 fail:
21905 {
21906 if (temp3)
21907 delete arg3;
21908 }
21909 return NULL;
21910 }
21911
21912
21913 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21916 wxTreeItemId *arg2 = 0 ;
21917 int arg3 ;
21918 int arg4 = (int) wxTreeItemIcon_Normal ;
21919 PyObject * obj0 = 0 ;
21920 PyObject * obj1 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21928 if (arg2 == NULL) {
21929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21930 }
21931 {
21932 PyThreadState* __tstate = wxPyBeginAllowThreads();
21933 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21934
21935 wxPyEndAllowThreads(__tstate);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 }
21938 Py_INCREF(Py_None); resultobj = Py_None;
21939 return resultobj;
21940 fail:
21941 return NULL;
21942 }
21943
21944
21945 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21946 PyObject *resultobj;
21947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21948 wxTreeItemId *arg2 = 0 ;
21949 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21950 PyObject * obj0 = 0 ;
21951 PyObject * obj1 = 0 ;
21952 PyObject * obj2 = 0 ;
21953 char *kwnames[] = {
21954 (char *) "self",(char *) "item",(char *) "data", NULL
21955 };
21956
21957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21960 if (arg2 == NULL) {
21961 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21962 }
21963 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21967
21968 wxPyEndAllowThreads(__tstate);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 Py_INCREF(Py_None); resultobj = Py_None;
21972 return resultobj;
21973 fail:
21974 return NULL;
21975 }
21976
21977
21978 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj;
21980 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21981 wxTreeItemId *arg2 = 0 ;
21982 PyObject *arg3 = (PyObject *) 0 ;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 PyObject * obj2 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "item",(char *) "obj", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21993 if (arg2 == NULL) {
21994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21995 }
21996 arg3 = obj2;
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 return resultobj;
22006 fail:
22007 return NULL;
22008 }
22009
22010
22011 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22012 PyObject *resultobj;
22013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22014 wxTreeItemId *arg2 = 0 ;
22015 bool arg3 = (bool) True ;
22016 PyObject * obj0 = 0 ;
22017 PyObject * obj1 = 0 ;
22018 PyObject * obj2 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self",(char *) "item",(char *) "has", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
22024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22026 if (arg2 == NULL) {
22027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22028 }
22029 if (obj2) {
22030 arg3 = PyInt_AsLong(obj2) ? true : false;
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 Py_INCREF(Py_None); resultobj = Py_None;
22041 return resultobj;
22042 fail:
22043 return NULL;
22044 }
22045
22046
22047 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj;
22049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22050 wxTreeItemId *arg2 = 0 ;
22051 bool arg3 = (bool) True ;
22052 PyObject * obj0 = 0 ;
22053 PyObject * obj1 = 0 ;
22054 PyObject * obj2 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "item",(char *) "bold", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
22060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22062 if (arg2 == NULL) {
22063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22064 }
22065 if (obj2) {
22066 arg3 = PyInt_AsLong(obj2) ? true : false;
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 {
22070 PyThreadState* __tstate = wxPyBeginAllowThreads();
22071 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22072
22073 wxPyEndAllowThreads(__tstate);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 Py_INCREF(Py_None); resultobj = Py_None;
22077 return resultobj;
22078 fail:
22079 return NULL;
22080 }
22081
22082
22083 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22084 PyObject *resultobj;
22085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22086 wxTreeItemId *arg2 = 0 ;
22087 bool arg3 = (bool) True ;
22088 PyObject * obj0 = 0 ;
22089 PyObject * obj1 = 0 ;
22090 PyObject * obj2 = 0 ;
22091 char *kwnames[] = {
22092 (char *) "self",(char *) "item",(char *) "highlight", NULL
22093 };
22094
22095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
22096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22098 if (arg2 == NULL) {
22099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22100 }
22101 if (obj2) {
22102 arg3 = PyInt_AsLong(obj2) ? true : false;
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 Py_INCREF(Py_None); resultobj = Py_None;
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj;
22121 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22122 wxTreeItemId *arg2 = 0 ;
22123 wxColour *arg3 = 0 ;
22124 wxColour temp3 ;
22125 PyObject * obj0 = 0 ;
22126 PyObject * obj1 = 0 ;
22127 PyObject * obj2 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self",(char *) "item",(char *) "col", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22135 if (arg2 == NULL) {
22136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22137 }
22138 {
22139 arg3 = &temp3;
22140 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22141 }
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 Py_INCREF(Py_None); resultobj = Py_None;
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22159 wxTreeItemId *arg2 = 0 ;
22160 wxColour *arg3 = 0 ;
22161 wxColour temp3 ;
22162 PyObject * obj0 = 0 ;
22163 PyObject * obj1 = 0 ;
22164 PyObject * obj2 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self",(char *) "item",(char *) "col", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22172 if (arg2 == NULL) {
22173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22174 }
22175 {
22176 arg3 = &temp3;
22177 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22178 }
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 Py_INCREF(Py_None); resultobj = Py_None;
22187 return resultobj;
22188 fail:
22189 return NULL;
22190 }
22191
22192
22193 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj;
22195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22196 wxTreeItemId *arg2 = 0 ;
22197 wxFont *arg3 = 0 ;
22198 PyObject * obj0 = 0 ;
22199 PyObject * obj1 = 0 ;
22200 PyObject * obj2 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "item",(char *) "font", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22208 if (arg2 == NULL) {
22209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22210 }
22211 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22212 if (arg3 == NULL) {
22213 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22214 }
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22218
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 Py_INCREF(Py_None); resultobj = Py_None;
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22232 wxTreeItemId *arg2 = 0 ;
22233 bool result;
22234 PyObject * obj0 = 0 ;
22235 PyObject * obj1 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self",(char *) "item", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22243 if (arg2 == NULL) {
22244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22245 }
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22249
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 resultobj = PyInt_FromLong((long)result);
22254 return resultobj;
22255 fail:
22256 return NULL;
22257 }
22258
22259
22260 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22263 wxTreeItemId *arg2 = 0 ;
22264 bool result;
22265 PyObject * obj0 = 0 ;
22266 PyObject * obj1 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "self",(char *) "item", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22274 if (arg2 == NULL) {
22275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22276 }
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 resultobj = PyInt_FromLong((long)result);
22285 return resultobj;
22286 fail:
22287 return NULL;
22288 }
22289
22290
22291 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22294 wxTreeItemId *arg2 = 0 ;
22295 bool result;
22296 PyObject * obj0 = 0 ;
22297 PyObject * obj1 = 0 ;
22298 char *kwnames[] = {
22299 (char *) "self",(char *) "item", NULL
22300 };
22301
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22305 if (arg2 == NULL) {
22306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 resultobj = PyInt_FromLong((long)result);
22316 return resultobj;
22317 fail:
22318 return NULL;
22319 }
22320
22321
22322 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22325 wxTreeItemId *arg2 = 0 ;
22326 bool result;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 char *kwnames[] = {
22330 (char *) "self",(char *) "item", NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22336 if (arg2 == NULL) {
22337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22338 }
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 resultobj = PyInt_FromLong((long)result);
22347 return resultobj;
22348 fail:
22349 return NULL;
22350 }
22351
22352
22353 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22354 PyObject *resultobj;
22355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22356 wxTreeItemId *arg2 = 0 ;
22357 bool result;
22358 PyObject * obj0 = 0 ;
22359 PyObject * obj1 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self",(char *) "item", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22367 if (arg2 == NULL) {
22368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22369 }
22370 {
22371 PyThreadState* __tstate = wxPyBeginAllowThreads();
22372 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 resultobj = PyInt_FromLong((long)result);
22378 return resultobj;
22379 fail:
22380 return NULL;
22381 }
22382
22383
22384 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22387 wxTreeItemId *arg2 = 0 ;
22388 bool arg3 = (bool) True ;
22389 size_t result;
22390 PyObject * obj0 = 0 ;
22391 PyObject * obj1 = 0 ;
22392 PyObject * obj2 = 0 ;
22393 char *kwnames[] = {
22394 (char *) "self",(char *) "item",(char *) "recursively", NULL
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22400 if (arg2 == NULL) {
22401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22402 }
22403 if (obj2) {
22404 arg3 = PyInt_AsLong(obj2) ? true : false;
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = PyInt_FromLong((long)result);
22415 return resultobj;
22416 fail:
22417 return NULL;
22418 }
22419
22420
22421 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22422 PyObject *resultobj;
22423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22424 wxTreeItemId result;
22425 PyObject * obj0 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22432 {
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22435
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 {
22440 wxTreeItemId * resultptr;
22441 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22443 }
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22453 wxTreeItemId result;
22454 PyObject * obj0 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "self", NULL
22457 };
22458
22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 {
22469 wxTreeItemId * resultptr;
22470 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22472 }
22473 return resultobj;
22474 fail:
22475 return NULL;
22476 }
22477
22478
22479 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22480 PyObject *resultobj;
22481 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22482 PyObject *result;
22483 PyObject * obj0 = 0 ;
22484 char *kwnames[] = {
22485 (char *) "self", NULL
22486 };
22487
22488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 resultobj = result;
22498 return resultobj;
22499 fail:
22500 return NULL;
22501 }
22502
22503
22504 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22505 PyObject *resultobj;
22506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22507 wxTreeItemId *arg2 = 0 ;
22508 wxTreeItemId result;
22509 PyObject * obj0 = 0 ;
22510 PyObject * obj1 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self",(char *) "item", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22518 if (arg2 == NULL) {
22519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22520 }
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22524
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 {
22529 wxTreeItemId * resultptr;
22530 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22532 }
22533 return resultobj;
22534 fail:
22535 return NULL;
22536 }
22537
22538
22539 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj;
22541 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22542 wxTreeItemId *arg2 = 0 ;
22543 PyObject *result;
22544 PyObject * obj0 = 0 ;
22545 PyObject * obj1 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self",(char *) "item", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22553 if (arg2 == NULL) {
22554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22555 }
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = result;
22564 return resultobj;
22565 fail:
22566 return NULL;
22567 }
22568
22569
22570 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj;
22572 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22573 wxTreeItemId *arg2 = 0 ;
22574 wxTreeItemIdValue *arg3 = 0 ;
22575 PyObject *result;
22576 PyObject * obj0 = 0 ;
22577 PyObject * obj1 = 0 ;
22578 PyObject * obj2 = 0 ;
22579 char *kwnames[] = {
22580 (char *) "self",(char *) "item",(char *) "cookie", NULL
22581 };
22582
22583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22586 if (arg2 == NULL) {
22587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22588 }
22589 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22590 if (arg3 == NULL) {
22591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22592 }
22593 {
22594 PyThreadState* __tstate = wxPyBeginAllowThreads();
22595 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22596
22597 wxPyEndAllowThreads(__tstate);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 resultobj = result;
22601 return resultobj;
22602 fail:
22603 return NULL;
22604 }
22605
22606
22607 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22608 PyObject *resultobj;
22609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22610 wxTreeItemId *arg2 = 0 ;
22611 wxTreeItemId result;
22612 PyObject * obj0 = 0 ;
22613 PyObject * obj1 = 0 ;
22614 char *kwnames[] = {
22615 (char *) "self",(char *) "item", NULL
22616 };
22617
22618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22621 if (arg2 == NULL) {
22622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22623 }
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22627
22628 wxPyEndAllowThreads(__tstate);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 }
22631 {
22632 wxTreeItemId * resultptr;
22633 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22634 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22635 }
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22645 wxTreeItemId *arg2 = 0 ;
22646 wxTreeItemId result;
22647 PyObject * obj0 = 0 ;
22648 PyObject * obj1 = 0 ;
22649 char *kwnames[] = {
22650 (char *) "self",(char *) "item", NULL
22651 };
22652
22653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22656 if (arg2 == NULL) {
22657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22658 }
22659 {
22660 PyThreadState* __tstate = wxPyBeginAllowThreads();
22661 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22662
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 {
22667 wxTreeItemId * resultptr;
22668 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22670 }
22671 return resultobj;
22672 fail:
22673 return NULL;
22674 }
22675
22676
22677 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22678 PyObject *resultobj;
22679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22680 wxTreeItemId *arg2 = 0 ;
22681 wxTreeItemId result;
22682 PyObject * obj0 = 0 ;
22683 PyObject * obj1 = 0 ;
22684 char *kwnames[] = {
22685 (char *) "self",(char *) "item", NULL
22686 };
22687
22688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22691 if (arg2 == NULL) {
22692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22693 }
22694 {
22695 PyThreadState* __tstate = wxPyBeginAllowThreads();
22696 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22697
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 {
22702 wxTreeItemId * resultptr;
22703 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22704 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22705 }
22706 return resultobj;
22707 fail:
22708 return NULL;
22709 }
22710
22711
22712 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22713 PyObject *resultobj;
22714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22715 wxTreeItemId result;
22716 PyObject * obj0 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22726
22727 wxPyEndAllowThreads(__tstate);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 {
22731 wxTreeItemId * resultptr;
22732 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22733 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22734 }
22735 return resultobj;
22736 fail:
22737 return NULL;
22738 }
22739
22740
22741 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22742 PyObject *resultobj;
22743 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22744 wxTreeItemId *arg2 = 0 ;
22745 wxTreeItemId result;
22746 PyObject * obj0 = 0 ;
22747 PyObject * obj1 = 0 ;
22748 char *kwnames[] = {
22749 (char *) "self",(char *) "item", NULL
22750 };
22751
22752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22755 if (arg2 == NULL) {
22756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22757 }
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22761
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 {
22766 wxTreeItemId * resultptr;
22767 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22768 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22769 }
22770 return resultobj;
22771 fail:
22772 return NULL;
22773 }
22774
22775
22776 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22779 wxTreeItemId *arg2 = 0 ;
22780 wxTreeItemId result;
22781 PyObject * obj0 = 0 ;
22782 PyObject * obj1 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self",(char *) "item", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22790 if (arg2 == NULL) {
22791 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22792 }
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 {
22801 wxTreeItemId * resultptr;
22802 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22803 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22804 }
22805 return resultobj;
22806 fail:
22807 return NULL;
22808 }
22809
22810
22811 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22814 wxString *arg2 = 0 ;
22815 int arg3 = (int) -1 ;
22816 int arg4 = (int) -1 ;
22817 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22818 wxTreeItemId result;
22819 bool temp2 = False ;
22820 PyObject * obj0 = 0 ;
22821 PyObject * obj1 = 0 ;
22822 PyObject * obj4 = 0 ;
22823 char *kwnames[] = {
22824 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22829 {
22830 arg2 = wxString_in_helper(obj1);
22831 if (arg2 == NULL) SWIG_fail;
22832 temp2 = True;
22833 }
22834 if (obj4) {
22835 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22836 }
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 {
22845 wxTreeItemId * resultptr;
22846 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22848 }
22849 {
22850 if (temp2)
22851 delete arg2;
22852 }
22853 return resultobj;
22854 fail:
22855 {
22856 if (temp2)
22857 delete arg2;
22858 }
22859 return NULL;
22860 }
22861
22862
22863 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22864 PyObject *resultobj;
22865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22866 wxTreeItemId *arg2 = 0 ;
22867 wxString *arg3 = 0 ;
22868 int arg4 = (int) -1 ;
22869 int arg5 = (int) -1 ;
22870 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22871 wxTreeItemId result;
22872 bool temp3 = False ;
22873 PyObject * obj0 = 0 ;
22874 PyObject * obj1 = 0 ;
22875 PyObject * obj2 = 0 ;
22876 PyObject * obj5 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22884 if (arg2 == NULL) {
22885 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22886 }
22887 {
22888 arg3 = wxString_in_helper(obj2);
22889 if (arg3 == NULL) SWIG_fail;
22890 temp3 = True;
22891 }
22892 if (obj5) {
22893 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22894 }
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 {
22903 wxTreeItemId * resultptr;
22904 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22905 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22906 }
22907 {
22908 if (temp3)
22909 delete arg3;
22910 }
22911 return resultobj;
22912 fail:
22913 {
22914 if (temp3)
22915 delete arg3;
22916 }
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22924 wxTreeItemId *arg2 = 0 ;
22925 wxTreeItemId *arg3 = 0 ;
22926 wxString *arg4 = 0 ;
22927 int arg5 = (int) -1 ;
22928 int arg6 = (int) -1 ;
22929 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22930 wxTreeItemId result;
22931 bool temp4 = False ;
22932 PyObject * obj0 = 0 ;
22933 PyObject * obj1 = 0 ;
22934 PyObject * obj2 = 0 ;
22935 PyObject * obj3 = 0 ;
22936 PyObject * obj6 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22944 if (arg2 == NULL) {
22945 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22946 }
22947 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22948 if (arg3 == NULL) {
22949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22950 }
22951 {
22952 arg4 = wxString_in_helper(obj3);
22953 if (arg4 == NULL) SWIG_fail;
22954 temp4 = True;
22955 }
22956 if (obj6) {
22957 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22958 }
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 {
22967 wxTreeItemId * resultptr;
22968 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22969 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22970 }
22971 {
22972 if (temp4)
22973 delete arg4;
22974 }
22975 return resultobj;
22976 fail:
22977 {
22978 if (temp4)
22979 delete arg4;
22980 }
22981 return NULL;
22982 }
22983
22984
22985 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22988 wxTreeItemId *arg2 = 0 ;
22989 size_t arg3 ;
22990 wxString *arg4 = 0 ;
22991 int arg5 = (int) -1 ;
22992 int arg6 = (int) -1 ;
22993 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22994 wxTreeItemId result;
22995 bool temp4 = False ;
22996 PyObject * obj0 = 0 ;
22997 PyObject * obj1 = 0 ;
22998 PyObject * obj2 = 0 ;
22999 PyObject * obj3 = 0 ;
23000 PyObject * obj6 = 0 ;
23001 char *kwnames[] = {
23002 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23003 };
23004
23005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23008 if (arg2 == NULL) {
23009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23010 }
23011 arg3 = (size_t) PyInt_AsLong(obj2);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 {
23014 arg4 = wxString_in_helper(obj3);
23015 if (arg4 == NULL) SWIG_fail;
23016 temp4 = True;
23017 }
23018 if (obj6) {
23019 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23020 }
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 {
23029 wxTreeItemId * resultptr;
23030 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23031 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23032 }
23033 {
23034 if (temp4)
23035 delete arg4;
23036 }
23037 return resultobj;
23038 fail:
23039 {
23040 if (temp4)
23041 delete arg4;
23042 }
23043 return NULL;
23044 }
23045
23046
23047 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23050 wxTreeItemId *arg2 = 0 ;
23051 wxString *arg3 = 0 ;
23052 int arg4 = (int) -1 ;
23053 int arg5 = (int) -1 ;
23054 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23055 wxTreeItemId result;
23056 bool temp3 = False ;
23057 PyObject * obj0 = 0 ;
23058 PyObject * obj1 = 0 ;
23059 PyObject * obj2 = 0 ;
23060 PyObject * obj5 = 0 ;
23061 char *kwnames[] = {
23062 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23068 if (arg2 == NULL) {
23069 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23070 }
23071 {
23072 arg3 = wxString_in_helper(obj2);
23073 if (arg3 == NULL) SWIG_fail;
23074 temp3 = True;
23075 }
23076 if (obj5) {
23077 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23078 }
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 {
23087 wxTreeItemId * resultptr;
23088 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23090 }
23091 {
23092 if (temp3)
23093 delete arg3;
23094 }
23095 return resultobj;
23096 fail:
23097 {
23098 if (temp3)
23099 delete arg3;
23100 }
23101 return NULL;
23102 }
23103
23104
23105 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23106 PyObject *resultobj;
23107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23108 wxTreeItemId *arg2 = 0 ;
23109 PyObject * obj0 = 0 ;
23110 PyObject * obj1 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self",(char *) "item", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23118 if (arg2 == NULL) {
23119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23120 }
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 (arg1)->Delete((wxTreeItemId const &)*arg2);
23124
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 Py_INCREF(Py_None); resultobj = Py_None;
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj;
23137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23138 wxTreeItemId *arg2 = 0 ;
23139 PyObject * obj0 = 0 ;
23140 PyObject * obj1 = 0 ;
23141 char *kwnames[] = {
23142 (char *) "self",(char *) "item", NULL
23143 };
23144
23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23148 if (arg2 == NULL) {
23149 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23150 }
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 Py_INCREF(Py_None); resultobj = Py_None;
23159 return resultobj;
23160 fail:
23161 return NULL;
23162 }
23163
23164
23165 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23166 PyObject *resultobj;
23167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23168 PyObject * obj0 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 (arg1)->DeleteAllItems();
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 Py_INCREF(Py_None); resultobj = Py_None;
23183 return resultobj;
23184 fail:
23185 return NULL;
23186 }
23187
23188
23189 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23190 PyObject *resultobj;
23191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23192 wxTreeItemId *arg2 = 0 ;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "item", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23202 if (arg2 == NULL) {
23203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23204 }
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 (arg1)->Expand((wxTreeItemId const &)*arg2);
23208
23209 wxPyEndAllowThreads(__tstate);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 }
23212 Py_INCREF(Py_None); resultobj = Py_None;
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23220 PyObject *resultobj;
23221 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23222 wxTreeItemId *arg2 = 0 ;
23223 PyObject * obj0 = 0 ;
23224 PyObject * obj1 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self",(char *) "item", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23232 if (arg2 == NULL) {
23233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23234 }
23235 {
23236 PyThreadState* __tstate = wxPyBeginAllowThreads();
23237 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23238
23239 wxPyEndAllowThreads(__tstate);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
23242 Py_INCREF(Py_None); resultobj = Py_None;
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23252 wxTreeItemId *arg2 = 0 ;
23253 PyObject * obj0 = 0 ;
23254 PyObject * obj1 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self",(char *) "item", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23262 if (arg2 == NULL) {
23263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23264 }
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276 }
23277
23278
23279 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23280 PyObject *resultobj;
23281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23282 wxTreeItemId *arg2 = 0 ;
23283 PyObject * obj0 = 0 ;
23284 PyObject * obj1 = 0 ;
23285 char *kwnames[] = {
23286 (char *) "self",(char *) "item", NULL
23287 };
23288
23289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23292 if (arg2 == NULL) {
23293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23294 }
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 Py_INCREF(Py_None); resultobj = Py_None;
23303 return resultobj;
23304 fail:
23305 return NULL;
23306 }
23307
23308
23309 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj;
23311 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23312 PyObject * obj0 = 0 ;
23313 char *kwnames[] = {
23314 (char *) "self", NULL
23315 };
23316
23317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 (arg1)->Unselect();
23322
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 Py_INCREF(Py_None); resultobj = Py_None;
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj;
23335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23336 PyObject * obj0 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "self", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23343 {
23344 PyThreadState* __tstate = wxPyBeginAllowThreads();
23345 (arg1)->UnselectAll();
23346
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 Py_INCREF(Py_None); resultobj = Py_None;
23351 return resultobj;
23352 fail:
23353 return NULL;
23354 }
23355
23356
23357 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23358 PyObject *resultobj;
23359 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23360 wxTreeItemId *arg2 = 0 ;
23361 PyObject * obj0 = 0 ;
23362 PyObject * obj1 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self",(char *) "item", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23370 if (arg2 == NULL) {
23371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23372 }
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 Py_INCREF(Py_None); resultobj = Py_None;
23381 return resultobj;
23382 fail:
23383 return NULL;
23384 }
23385
23386
23387 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23388 PyObject *resultobj;
23389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23390 wxTreeItemId *arg2 = 0 ;
23391 PyObject * obj0 = 0 ;
23392 PyObject * obj1 = 0 ;
23393 char *kwnames[] = {
23394 (char *) "self",(char *) "item", NULL
23395 };
23396
23397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23400 if (arg2 == NULL) {
23401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23402 }
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 Py_INCREF(Py_None); resultobj = Py_None;
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23420 wxTreeItemId *arg2 = 0 ;
23421 PyObject * obj0 = 0 ;
23422 PyObject * obj1 = 0 ;
23423 char *kwnames[] = {
23424 (char *) "self",(char *) "item", NULL
23425 };
23426
23427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23430 if (arg2 == NULL) {
23431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23432 }
23433 {
23434 PyThreadState* __tstate = wxPyBeginAllowThreads();
23435 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23436
23437 wxPyEndAllowThreads(__tstate);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 }
23440 Py_INCREF(Py_None); resultobj = Py_None;
23441 return resultobj;
23442 fail:
23443 return NULL;
23444 }
23445
23446
23447 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23448 PyObject *resultobj;
23449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23450 wxTreeItemId *arg2 = 0 ;
23451 PyObject * obj0 = 0 ;
23452 PyObject * obj1 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self",(char *) "item", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23460 if (arg2 == NULL) {
23461 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23462 }
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 Py_INCREF(Py_None); resultobj = Py_None;
23471 return resultobj;
23472 fail:
23473 return NULL;
23474 }
23475
23476
23477 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23478 PyObject *resultobj;
23479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23480 wxTextCtrl *result;
23481 PyObject * obj0 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "self", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 {
23496 resultobj = wxPyMake_wxObject(result);
23497 }
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23505 PyObject *resultobj;
23506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23507 wxTreeItemId *arg2 = 0 ;
23508 bool arg3 = (bool) False ;
23509 PyObject * obj0 = 0 ;
23510 PyObject * obj1 = 0 ;
23511 PyObject * obj2 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
23517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23519 if (arg2 == NULL) {
23520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23521 }
23522 if (obj2) {
23523 arg3 = PyInt_AsLong(obj2) ? true : false;
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 Py_INCREF(Py_None); resultobj = Py_None;
23534 return resultobj;
23535 fail:
23536 return NULL;
23537 }
23538
23539
23540 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23541 PyObject *resultobj;
23542 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23543 wxTreeItemId *arg2 = 0 ;
23544 PyObject * obj0 = 0 ;
23545 PyObject * obj1 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self",(char *) "item", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23553 if (arg2 == NULL) {
23554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23555 }
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 Py_INCREF(Py_None); resultobj = Py_None;
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23571 PyObject *resultobj;
23572 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23573 wxPoint *arg2 = 0 ;
23574 int *arg3 = 0 ;
23575 wxTreeItemId result;
23576 wxPoint temp2 ;
23577 int temp3 ;
23578 PyObject * obj0 = 0 ;
23579 PyObject * obj1 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self",(char *) "point", NULL
23582 };
23583
23584 arg3 = &temp3;
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23587 {
23588 arg2 = &temp2;
23589 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23590 }
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 {
23599 wxTreeItemId * resultptr;
23600 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23601 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23602 }
23603 {
23604 PyObject *o = PyInt_FromLong((long) (*arg3));
23605 resultobj = t_output_helper(resultobj,o);
23606 }
23607 return resultobj;
23608 fail:
23609 return NULL;
23610 }
23611
23612
23613 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23614 PyObject *resultobj;
23615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23616 wxTreeItemId *arg2 = 0 ;
23617 bool arg3 = (bool) False ;
23618 PyObject *result;
23619 PyObject * obj0 = 0 ;
23620 PyObject * obj1 = 0 ;
23621 PyObject * obj2 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23629 if (arg2 == NULL) {
23630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23631 }
23632 if (obj2) {
23633 arg3 = PyInt_AsLong(obj2) ? true : false;
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23639
23640 wxPyEndAllowThreads(__tstate);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
23643 resultobj = result;
23644 return resultobj;
23645 fail:
23646 return NULL;
23647 }
23648
23649
23650 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23651 PyObject *obj;
23652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23653 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23654 Py_INCREF(obj);
23655 return Py_BuildValue((char *)"");
23656 }
23657 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23658 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23659 return 1;
23660 }
23661
23662
23663 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23664 PyObject *pyobj;
23665
23666 {
23667 #if wxUSE_UNICODE
23668 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23669 #else
23670 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23671 #endif
23672 }
23673 return pyobj;
23674 }
23675
23676
23677 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23678 PyObject *resultobj;
23679 wxWindow *arg1 = (wxWindow *) 0 ;
23680 int arg2 = (int) (int)-1 ;
23681 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23682 wxString *arg3 = (wxString *) &arg3_defvalue ;
23683 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23684 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23685 wxSize const &arg5_defvalue = wxDefaultSize ;
23686 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23687 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23688 wxString const &arg7_defvalue = wxPyEmptyString ;
23689 wxString *arg7 = (wxString *) &arg7_defvalue ;
23690 int arg8 = (int) 0 ;
23691 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23692 wxString *arg9 = (wxString *) &arg9_defvalue ;
23693 wxGenericDirCtrl *result;
23694 bool temp3 = False ;
23695 wxPoint temp4 ;
23696 wxSize temp5 ;
23697 bool temp7 = False ;
23698 bool temp9 = False ;
23699 PyObject * obj0 = 0 ;
23700 PyObject * obj2 = 0 ;
23701 PyObject * obj3 = 0 ;
23702 PyObject * obj4 = 0 ;
23703 PyObject * obj6 = 0 ;
23704 PyObject * obj8 = 0 ;
23705 char *kwnames[] = {
23706 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23707 };
23708
23709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23711 if (obj2) {
23712 {
23713 arg3 = wxString_in_helper(obj2);
23714 if (arg3 == NULL) SWIG_fail;
23715 temp3 = True;
23716 }
23717 }
23718 if (obj3) {
23719 {
23720 arg4 = &temp4;
23721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23722 }
23723 }
23724 if (obj4) {
23725 {
23726 arg5 = &temp5;
23727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23728 }
23729 }
23730 if (obj6) {
23731 {
23732 arg7 = wxString_in_helper(obj6);
23733 if (arg7 == NULL) SWIG_fail;
23734 temp7 = True;
23735 }
23736 }
23737 if (obj8) {
23738 {
23739 arg9 = wxString_in_helper(obj8);
23740 if (arg9 == NULL) SWIG_fail;
23741 temp9 = True;
23742 }
23743 }
23744 {
23745 PyThreadState* __tstate = wxPyBeginAllowThreads();
23746 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23747
23748 wxPyEndAllowThreads(__tstate);
23749 if (PyErr_Occurred()) SWIG_fail;
23750 }
23751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23752 {
23753 if (temp3)
23754 delete arg3;
23755 }
23756 {
23757 if (temp7)
23758 delete arg7;
23759 }
23760 {
23761 if (temp9)
23762 delete arg9;
23763 }
23764 return resultobj;
23765 fail:
23766 {
23767 if (temp3)
23768 delete arg3;
23769 }
23770 {
23771 if (temp7)
23772 delete arg7;
23773 }
23774 {
23775 if (temp9)
23776 delete arg9;
23777 }
23778 return NULL;
23779 }
23780
23781
23782 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23783 PyObject *resultobj;
23784 wxGenericDirCtrl *result;
23785 char *kwnames[] = {
23786 NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23790 {
23791 PyThreadState* __tstate = wxPyBeginAllowThreads();
23792 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23793
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23807 wxWindow *arg2 = (wxWindow *) 0 ;
23808 int arg3 = (int) (int)-1 ;
23809 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23810 wxString *arg4 = (wxString *) &arg4_defvalue ;
23811 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23812 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23813 wxSize const &arg6_defvalue = wxDefaultSize ;
23814 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23815 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23816 wxString const &arg8_defvalue = wxPyEmptyString ;
23817 wxString *arg8 = (wxString *) &arg8_defvalue ;
23818 int arg9 = (int) 0 ;
23819 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23820 wxString *arg10 = (wxString *) &arg10_defvalue ;
23821 bool result;
23822 bool temp4 = False ;
23823 wxPoint temp5 ;
23824 wxSize temp6 ;
23825 bool temp8 = False ;
23826 bool temp10 = False ;
23827 PyObject * obj0 = 0 ;
23828 PyObject * obj1 = 0 ;
23829 PyObject * obj3 = 0 ;
23830 PyObject * obj4 = 0 ;
23831 PyObject * obj5 = 0 ;
23832 PyObject * obj7 = 0 ;
23833 PyObject * obj9 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23841 if (obj3) {
23842 {
23843 arg4 = wxString_in_helper(obj3);
23844 if (arg4 == NULL) SWIG_fail;
23845 temp4 = True;
23846 }
23847 }
23848 if (obj4) {
23849 {
23850 arg5 = &temp5;
23851 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23852 }
23853 }
23854 if (obj5) {
23855 {
23856 arg6 = &temp6;
23857 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23858 }
23859 }
23860 if (obj7) {
23861 {
23862 arg8 = wxString_in_helper(obj7);
23863 if (arg8 == NULL) SWIG_fail;
23864 temp8 = True;
23865 }
23866 }
23867 if (obj9) {
23868 {
23869 arg10 = wxString_in_helper(obj9);
23870 if (arg10 == NULL) SWIG_fail;
23871 temp10 = True;
23872 }
23873 }
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 resultobj = PyInt_FromLong((long)result);
23882 {
23883 if (temp4)
23884 delete arg4;
23885 }
23886 {
23887 if (temp8)
23888 delete arg8;
23889 }
23890 {
23891 if (temp10)
23892 delete arg10;
23893 }
23894 return resultobj;
23895 fail:
23896 {
23897 if (temp4)
23898 delete arg4;
23899 }
23900 {
23901 if (temp8)
23902 delete arg8;
23903 }
23904 {
23905 if (temp10)
23906 delete arg10;
23907 }
23908 return NULL;
23909 }
23910
23911
23912 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23913 PyObject *resultobj;
23914 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23915 wxString *arg2 = 0 ;
23916 bool result;
23917 bool temp2 = False ;
23918 PyObject * obj0 = 0 ;
23919 PyObject * obj1 = 0 ;
23920 char *kwnames[] = {
23921 (char *) "self",(char *) "path", NULL
23922 };
23923
23924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23926 {
23927 arg2 = wxString_in_helper(obj1);
23928 if (arg2 == NULL) SWIG_fail;
23929 temp2 = True;
23930 }
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23934
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 resultobj = PyInt_FromLong((long)result);
23939 {
23940 if (temp2)
23941 delete arg2;
23942 }
23943 return resultobj;
23944 fail:
23945 {
23946 if (temp2)
23947 delete arg2;
23948 }
23949 return NULL;
23950 }
23951
23952
23953 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23954 PyObject *resultobj;
23955 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23956 wxString result;
23957 PyObject * obj0 = 0 ;
23958 char *kwnames[] = {
23959 (char *) "self", NULL
23960 };
23961
23962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 {
23972 #if wxUSE_UNICODE
23973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23974 #else
23975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23976 #endif
23977 }
23978 return resultobj;
23979 fail:
23980 return NULL;
23981 }
23982
23983
23984 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23985 PyObject *resultobj;
23986 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23987 wxString *arg2 = 0 ;
23988 bool temp2 = False ;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self",(char *) "path", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23997 {
23998 arg2 = wxString_in_helper(obj1);
23999 if (arg2 == NULL) SWIG_fail;
24000 temp2 = True;
24001 }
24002 {
24003 PyThreadState* __tstate = wxPyBeginAllowThreads();
24004 (arg1)->SetDefaultPath((wxString const &)*arg2);
24005
24006 wxPyEndAllowThreads(__tstate);
24007 if (PyErr_Occurred()) SWIG_fail;
24008 }
24009 Py_INCREF(Py_None); resultobj = Py_None;
24010 {
24011 if (temp2)
24012 delete arg2;
24013 }
24014 return resultobj;
24015 fail:
24016 {
24017 if (temp2)
24018 delete arg2;
24019 }
24020 return NULL;
24021 }
24022
24023
24024 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24027 wxString result;
24028 PyObject * obj0 = 0 ;
24029 char *kwnames[] = {
24030 (char *) "self", NULL
24031 };
24032
24033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
24034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 {
24043 #if wxUSE_UNICODE
24044 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24045 #else
24046 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24047 #endif
24048 }
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj;
24057 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24058 wxString result;
24059 PyObject * obj0 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
24065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 {
24074 #if wxUSE_UNICODE
24075 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24076 #else
24077 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24078 #endif
24079 }
24080 return resultobj;
24081 fail:
24082 return NULL;
24083 }
24084
24085
24086 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24087 PyObject *resultobj;
24088 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24089 wxString *arg2 = 0 ;
24090 bool temp2 = False ;
24091 PyObject * obj0 = 0 ;
24092 PyObject * obj1 = 0 ;
24093 char *kwnames[] = {
24094 (char *) "self",(char *) "path", NULL
24095 };
24096
24097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
24098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24099 {
24100 arg2 = wxString_in_helper(obj1);
24101 if (arg2 == NULL) SWIG_fail;
24102 temp2 = True;
24103 }
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 (arg1)->SetPath((wxString const &)*arg2);
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 Py_INCREF(Py_None); resultobj = Py_None;
24112 {
24113 if (temp2)
24114 delete arg2;
24115 }
24116 return resultobj;
24117 fail:
24118 {
24119 if (temp2)
24120 delete arg2;
24121 }
24122 return NULL;
24123 }
24124
24125
24126 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj;
24128 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24129 bool arg2 ;
24130 PyObject * obj0 = 0 ;
24131 PyObject * obj1 = 0 ;
24132 char *kwnames[] = {
24133 (char *) "self",(char *) "show", NULL
24134 };
24135
24136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24138 arg2 = PyInt_AsLong(obj1) ? true : false;
24139 if (PyErr_Occurred()) SWIG_fail;
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 (arg1)->ShowHidden(arg2);
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 Py_INCREF(Py_None); resultobj = Py_None;
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj;
24156 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24157 bool result;
24158 PyObject * obj0 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = (bool)(arg1)->GetShowHidden();
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 resultobj = PyInt_FromLong((long)result);
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj;
24181 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24182 wxString result;
24183 PyObject * obj0 = 0 ;
24184 char *kwnames[] = {
24185 (char *) "self", NULL
24186 };
24187
24188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
24198 #if wxUSE_UNICODE
24199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24200 #else
24201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24202 #endif
24203 }
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj;
24212 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24213 wxString *arg2 = 0 ;
24214 bool temp2 = False ;
24215 PyObject * obj0 = 0 ;
24216 PyObject * obj1 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self",(char *) "filter", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24223 {
24224 arg2 = wxString_in_helper(obj1);
24225 if (arg2 == NULL) SWIG_fail;
24226 temp2 = True;
24227 }
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 (arg1)->SetFilter((wxString const &)*arg2);
24231
24232 wxPyEndAllowThreads(__tstate);
24233 if (PyErr_Occurred()) SWIG_fail;
24234 }
24235 Py_INCREF(Py_None); resultobj = Py_None;
24236 {
24237 if (temp2)
24238 delete arg2;
24239 }
24240 return resultobj;
24241 fail:
24242 {
24243 if (temp2)
24244 delete arg2;
24245 }
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24253 int result;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 resultobj = PyInt_FromLong((long)result);
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj;
24277 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24278 int arg2 ;
24279 PyObject * obj0 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self",(char *) "n", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 (arg1)->SetFilterIndex(arg2);
24289
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 Py_INCREF(Py_None); resultobj = Py_None;
24294 return resultobj;
24295 fail:
24296 return NULL;
24297 }
24298
24299
24300 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24301 PyObject *resultobj;
24302 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24303 wxTreeItemId result;
24304 PyObject * obj0 = 0 ;
24305 char *kwnames[] = {
24306 (char *) "self", NULL
24307 };
24308
24309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 result = (arg1)->GetRootId();
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 {
24319 wxTreeItemId * resultptr;
24320 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24321 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24322 }
24323 return resultobj;
24324 fail:
24325 return NULL;
24326 }
24327
24328
24329 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24330 PyObject *resultobj;
24331 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24332 wxPyTreeCtrl *result;
24333 PyObject * obj0 = 0 ;
24334 char *kwnames[] = {
24335 (char *) "self", NULL
24336 };
24337
24338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24340 {
24341 PyThreadState* __tstate = wxPyBeginAllowThreads();
24342 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24343
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 {
24348 resultobj = wxPyMake_wxObject(result);
24349 }
24350 return resultobj;
24351 fail:
24352 return NULL;
24353 }
24354
24355
24356 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj;
24358 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24359 wxDirFilterListCtrl *result;
24360 PyObject * obj0 = 0 ;
24361 char *kwnames[] = {
24362 (char *) "self", NULL
24363 };
24364
24365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
24374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24375 return resultobj;
24376 fail:
24377 return NULL;
24378 }
24379
24380
24381 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24382 PyObject *resultobj;
24383 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24384 wxTreeItemId arg2 ;
24385 wxString *arg3 = 0 ;
24386 bool *arg4 = 0 ;
24387 wxTreeItemId result;
24388 wxTreeItemId *argp2 ;
24389 bool temp3 = False ;
24390 bool temp4 ;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 PyObject * obj2 = 0 ;
24394 char *kwnames[] = {
24395 (char *) "self",(char *) "parentId",(char *) "path", NULL
24396 };
24397
24398 arg4 = &temp4;
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24401 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24402 arg2 = *argp2;
24403 {
24404 arg3 = wxString_in_helper(obj2);
24405 if (arg3 == NULL) SWIG_fail;
24406 temp3 = True;
24407 }
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24411
24412 wxPyEndAllowThreads(__tstate);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 {
24416 wxTreeItemId * resultptr;
24417 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24418 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24419 }
24420 {
24421 PyObject *o = PyInt_FromLong((long) (*arg4));
24422 resultobj = t_output_helper(resultobj,o);
24423 }
24424 {
24425 if (temp3)
24426 delete arg3;
24427 }
24428 return resultobj;
24429 fail:
24430 {
24431 if (temp3)
24432 delete arg3;
24433 }
24434 return NULL;
24435 }
24436
24437
24438 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24439 PyObject *resultobj;
24440 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24441 PyObject * obj0 = 0 ;
24442 char *kwnames[] = {
24443 (char *) "self", NULL
24444 };
24445
24446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 (arg1)->DoResize();
24451
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 Py_INCREF(Py_None); resultobj = Py_None;
24456 return resultobj;
24457 fail:
24458 return NULL;
24459 }
24460
24461
24462 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24463 PyObject *resultobj;
24464 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24465 PyObject * obj0 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 (arg1)->ReCreateTree();
24475
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 Py_INCREF(Py_None); resultobj = Py_None;
24480 return resultobj;
24481 fail:
24482 return NULL;
24483 }
24484
24485
24486 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24487 PyObject *obj;
24488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24489 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24490 Py_INCREF(obj);
24491 return Py_BuildValue((char *)"");
24492 }
24493 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24494 PyObject *resultobj;
24495 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24496 int arg2 = (int) (int)-1 ;
24497 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24498 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24499 wxSize const &arg4_defvalue = wxDefaultSize ;
24500 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24501 long arg5 = (long) 0 ;
24502 wxDirFilterListCtrl *result;
24503 wxPoint temp3 ;
24504 wxSize temp4 ;
24505 PyObject * obj0 = 0 ;
24506 PyObject * obj2 = 0 ;
24507 PyObject * obj3 = 0 ;
24508 char *kwnames[] = {
24509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24510 };
24511
24512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24514 if (obj2) {
24515 {
24516 arg3 = &temp3;
24517 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24518 }
24519 }
24520 if (obj3) {
24521 {
24522 arg4 = &temp4;
24523 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24524 }
24525 }
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj;
24542 wxDirFilterListCtrl *result;
24543 char *kwnames[] = {
24544 NULL
24545 };
24546
24547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24548 {
24549 PyThreadState* __tstate = wxPyBeginAllowThreads();
24550 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24551
24552 wxPyEndAllowThreads(__tstate);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24556 return resultobj;
24557 fail:
24558 return NULL;
24559 }
24560
24561
24562 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj;
24564 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24565 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24566 int arg3 = (int) (int)-1 ;
24567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24569 wxSize const &arg5_defvalue = wxDefaultSize ;
24570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24571 long arg6 = (long) 0 ;
24572 bool result;
24573 wxPoint temp4 ;
24574 wxSize temp5 ;
24575 PyObject * obj0 = 0 ;
24576 PyObject * obj1 = 0 ;
24577 PyObject * obj3 = 0 ;
24578 PyObject * obj4 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24586 if (obj3) {
24587 {
24588 arg4 = &temp4;
24589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24590 }
24591 }
24592 if (obj4) {
24593 {
24594 arg5 = &temp5;
24595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24596 }
24597 }
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 resultobj = PyInt_FromLong((long)result);
24606 return resultobj;
24607 fail:
24608 return NULL;
24609 }
24610
24611
24612 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24615 wxString *arg2 = 0 ;
24616 int arg3 ;
24617 bool temp2 = False ;
24618 PyObject * obj0 = 0 ;
24619 PyObject * obj1 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24626 {
24627 arg2 = wxString_in_helper(obj1);
24628 if (arg2 == NULL) SWIG_fail;
24629 temp2 = True;
24630 }
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24634
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 Py_INCREF(Py_None); resultobj = Py_None;
24639 {
24640 if (temp2)
24641 delete arg2;
24642 }
24643 return resultobj;
24644 fail:
24645 {
24646 if (temp2)
24647 delete arg2;
24648 }
24649 return NULL;
24650 }
24651
24652
24653 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24654 PyObject *obj;
24655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24656 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24657 Py_INCREF(obj);
24658 return Py_BuildValue((char *)"");
24659 }
24660 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj;
24662 wxWindow *arg1 = (wxWindow *) 0 ;
24663 int arg2 ;
24664 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24665 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24666 wxSize const &arg4_defvalue = wxDefaultSize ;
24667 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24668 long arg5 = (long) 0 ;
24669 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24670 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24671 wxString const &arg7_defvalue = wxPyControlNameStr ;
24672 wxString *arg7 = (wxString *) &arg7_defvalue ;
24673 wxPyControl *result;
24674 wxPoint temp3 ;
24675 wxSize temp4 ;
24676 bool temp7 = False ;
24677 PyObject * obj0 = 0 ;
24678 PyObject * obj2 = 0 ;
24679 PyObject * obj3 = 0 ;
24680 PyObject * obj5 = 0 ;
24681 PyObject * obj6 = 0 ;
24682 char *kwnames[] = {
24683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24684 };
24685
24686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24688 if (obj2) {
24689 {
24690 arg3 = &temp3;
24691 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24692 }
24693 }
24694 if (obj3) {
24695 {
24696 arg4 = &temp4;
24697 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24698 }
24699 }
24700 if (obj5) {
24701 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24702 if (arg6 == NULL) {
24703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24704 }
24705 }
24706 if (obj6) {
24707 {
24708 arg7 = wxString_in_helper(obj6);
24709 if (arg7 == NULL) SWIG_fail;
24710 temp7 = True;
24711 }
24712 }
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24721 {
24722 if (temp7)
24723 delete arg7;
24724 }
24725 return resultobj;
24726 fail:
24727 {
24728 if (temp7)
24729 delete arg7;
24730 }
24731 return NULL;
24732 }
24733
24734
24735 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxPyControl *arg1 = (wxPyControl *) 0 ;
24738 PyObject *arg2 = (PyObject *) 0 ;
24739 PyObject *arg3 = (PyObject *) 0 ;
24740 PyObject * obj0 = 0 ;
24741 PyObject * obj1 = 0 ;
24742 PyObject * obj2 = 0 ;
24743 char *kwnames[] = {
24744 (char *) "self",(char *) "self",(char *) "_class", NULL
24745 };
24746
24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24749 arg2 = obj1;
24750 arg3 = obj2;
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 (arg1)->_setCallbackInfo(arg2,arg3);
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 Py_INCREF(Py_None); resultobj = Py_None;
24759 return resultobj;
24760 fail:
24761 return NULL;
24762 }
24763
24764
24765 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24766 PyObject *resultobj;
24767 wxPyControl *arg1 = (wxPyControl *) 0 ;
24768 int arg2 ;
24769 int arg3 ;
24770 int arg4 ;
24771 int arg5 ;
24772 PyObject * obj0 = 0 ;
24773 char *kwnames[] = {
24774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24775 };
24776
24777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 Py_INCREF(Py_None); resultobj = Py_None;
24787 return resultobj;
24788 fail:
24789 return NULL;
24790 }
24791
24792
24793 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24794 PyObject *resultobj;
24795 wxPyControl *arg1 = (wxPyControl *) 0 ;
24796 int arg2 ;
24797 int arg3 ;
24798 int arg4 ;
24799 int arg5 ;
24800 int arg6 = (int) wxSIZE_AUTO ;
24801 PyObject * obj0 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24804 };
24805
24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 Py_INCREF(Py_None); resultobj = Py_None;
24816 return resultobj;
24817 fail:
24818 return NULL;
24819 }
24820
24821
24822 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj;
24824 wxPyControl *arg1 = (wxPyControl *) 0 ;
24825 int arg2 ;
24826 int arg3 ;
24827 PyObject * obj0 = 0 ;
24828 char *kwnames[] = {
24829 (char *) "self",(char *) "width",(char *) "height", NULL
24830 };
24831
24832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 (arg1)->base_DoSetClientSize(arg2,arg3);
24837
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 Py_INCREF(Py_None); resultobj = Py_None;
24842 return resultobj;
24843 fail:
24844 return NULL;
24845 }
24846
24847
24848 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24849 PyObject *resultobj;
24850 wxPyControl *arg1 = (wxPyControl *) 0 ;
24851 int arg2 ;
24852 int arg3 ;
24853 PyObject * obj0 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self",(char *) "x",(char *) "y", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24863
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 Py_INCREF(Py_None); resultobj = Py_None;
24868 return resultobj;
24869 fail:
24870 return NULL;
24871 }
24872
24873
24874 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24875 PyObject *resultobj;
24876 wxPyControl *arg1 = (wxPyControl *) 0 ;
24877 int *arg2 = (int *) 0 ;
24878 int *arg3 = (int *) 0 ;
24879 int temp2 ;
24880 int temp3 ;
24881 PyObject * obj0 = 0 ;
24882 char *kwnames[] = {
24883 (char *) "self", NULL
24884 };
24885
24886 arg2 = &temp2;
24887 arg3 = &temp3;
24888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24890 {
24891 PyThreadState* __tstate = wxPyBeginAllowThreads();
24892 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24893
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 Py_INCREF(Py_None); resultobj = Py_None;
24898 {
24899 PyObject *o = PyInt_FromLong((long) (*arg2));
24900 resultobj = t_output_helper(resultobj,o);
24901 }
24902 {
24903 PyObject *o = PyInt_FromLong((long) (*arg3));
24904 resultobj = t_output_helper(resultobj,o);
24905 }
24906 return resultobj;
24907 fail:
24908 return NULL;
24909 }
24910
24911
24912 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24913 PyObject *resultobj;
24914 wxPyControl *arg1 = (wxPyControl *) 0 ;
24915 int *arg2 = (int *) 0 ;
24916 int *arg3 = (int *) 0 ;
24917 int temp2 ;
24918 int temp3 ;
24919 PyObject * obj0 = 0 ;
24920 char *kwnames[] = {
24921 (char *) "self", NULL
24922 };
24923
24924 arg2 = &temp2;
24925 arg3 = &temp3;
24926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24928 {
24929 PyThreadState* __tstate = wxPyBeginAllowThreads();
24930 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24931
24932 wxPyEndAllowThreads(__tstate);
24933 if (PyErr_Occurred()) SWIG_fail;
24934 }
24935 Py_INCREF(Py_None); resultobj = Py_None;
24936 {
24937 PyObject *o = PyInt_FromLong((long) (*arg2));
24938 resultobj = t_output_helper(resultobj,o);
24939 }
24940 {
24941 PyObject *o = PyInt_FromLong((long) (*arg3));
24942 resultobj = t_output_helper(resultobj,o);
24943 }
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxPyControl *arg1 = (wxPyControl *) 0 ;
24953 int *arg2 = (int *) 0 ;
24954 int *arg3 = (int *) 0 ;
24955 int temp2 ;
24956 int temp3 ;
24957 PyObject * obj0 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self", NULL
24960 };
24961
24962 arg2 = &temp2;
24963 arg3 = &temp3;
24964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24966 {
24967 PyThreadState* __tstate = wxPyBeginAllowThreads();
24968 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24969
24970 wxPyEndAllowThreads(__tstate);
24971 if (PyErr_Occurred()) SWIG_fail;
24972 }
24973 Py_INCREF(Py_None); resultobj = Py_None;
24974 {
24975 PyObject *o = PyInt_FromLong((long) (*arg2));
24976 resultobj = t_output_helper(resultobj,o);
24977 }
24978 {
24979 PyObject *o = PyInt_FromLong((long) (*arg3));
24980 resultobj = t_output_helper(resultobj,o);
24981 }
24982 return resultobj;
24983 fail:
24984 return NULL;
24985 }
24986
24987
24988 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24989 PyObject *resultobj;
24990 wxPyControl *arg1 = (wxPyControl *) 0 ;
24991 wxSize result;
24992 PyObject * obj0 = 0 ;
24993 char *kwnames[] = {
24994 (char *) "self", NULL
24995 };
24996
24997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 {
25007 wxSize * resultptr;
25008 resultptr = new wxSize((wxSize &) result);
25009 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25010 }
25011 return resultobj;
25012 fail:
25013 return NULL;
25014 }
25015
25016
25017 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25018 PyObject *resultobj;
25019 wxPyControl *arg1 = (wxPyControl *) 0 ;
25020 wxSize result;
25021 PyObject * obj0 = 0 ;
25022 char *kwnames[] = {
25023 (char *) "self", NULL
25024 };
25025
25026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
25027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25028 {
25029 PyThreadState* __tstate = wxPyBeginAllowThreads();
25030 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
25031
25032 wxPyEndAllowThreads(__tstate);
25033 if (PyErr_Occurred()) SWIG_fail;
25034 }
25035 {
25036 wxSize * resultptr;
25037 resultptr = new wxSize((wxSize &) result);
25038 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25039 }
25040 return resultobj;
25041 fail:
25042 return NULL;
25043 }
25044
25045
25046 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25047 PyObject *resultobj;
25048 wxPyControl *arg1 = (wxPyControl *) 0 ;
25049 PyObject * obj0 = 0 ;
25050 char *kwnames[] = {
25051 (char *) "self", NULL
25052 };
25053
25054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
25055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 (arg1)->base_InitDialog();
25059
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 Py_INCREF(Py_None); resultobj = Py_None;
25064 return resultobj;
25065 fail:
25066 return NULL;
25067 }
25068
25069
25070 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25071 PyObject *resultobj;
25072 wxPyControl *arg1 = (wxPyControl *) 0 ;
25073 bool result;
25074 PyObject * obj0 = 0 ;
25075 char *kwnames[] = {
25076 (char *) "self", NULL
25077 };
25078
25079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
25080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25081 {
25082 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 result = (bool)(arg1)->base_TransferDataToWindow();
25084
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = PyInt_FromLong((long)result);
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj;
25097 wxPyControl *arg1 = (wxPyControl *) 0 ;
25098 bool result;
25099 PyObject * obj0 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 result = (bool)(arg1)->base_TransferDataFromWindow();
25109
25110 wxPyEndAllowThreads(__tstate);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 }
25113 resultobj = PyInt_FromLong((long)result);
25114 return resultobj;
25115 fail:
25116 return NULL;
25117 }
25118
25119
25120 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25121 PyObject *resultobj;
25122 wxPyControl *arg1 = (wxPyControl *) 0 ;
25123 bool result;
25124 PyObject * obj0 = 0 ;
25125 char *kwnames[] = {
25126 (char *) "self", NULL
25127 };
25128
25129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 result = (bool)(arg1)->base_Validate();
25134
25135 wxPyEndAllowThreads(__tstate);
25136 if (PyErr_Occurred()) SWIG_fail;
25137 }
25138 resultobj = PyInt_FromLong((long)result);
25139 return resultobj;
25140 fail:
25141 return NULL;
25142 }
25143
25144
25145 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25146 PyObject *resultobj;
25147 wxPyControl *arg1 = (wxPyControl *) 0 ;
25148 bool result;
25149 PyObject * obj0 = 0 ;
25150 char *kwnames[] = {
25151 (char *) "self", NULL
25152 };
25153
25154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25159
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 resultobj = PyInt_FromLong((long)result);
25164 return resultobj;
25165 fail:
25166 return NULL;
25167 }
25168
25169
25170 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25171 PyObject *resultobj;
25172 wxPyControl *arg1 = (wxPyControl *) 0 ;
25173 bool result;
25174 PyObject * obj0 = 0 ;
25175 char *kwnames[] = {
25176 (char *) "self", NULL
25177 };
25178
25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25184
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 resultobj = PyInt_FromLong((long)result);
25189 return resultobj;
25190 fail:
25191 return NULL;
25192 }
25193
25194
25195 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25196 PyObject *resultobj;
25197 wxPyControl *arg1 = (wxPyControl *) 0 ;
25198 wxSize result;
25199 PyObject * obj0 = 0 ;
25200 char *kwnames[] = {
25201 (char *) "self", NULL
25202 };
25203
25204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 {
25214 wxSize * resultptr;
25215 resultptr = new wxSize((wxSize &) result);
25216 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25217 }
25218 return resultobj;
25219 fail:
25220 return NULL;
25221 }
25222
25223
25224 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25225 PyObject *resultobj;
25226 wxPyControl *arg1 = (wxPyControl *) 0 ;
25227 wxWindow *arg2 = (wxWindow *) 0 ;
25228 PyObject * obj0 = 0 ;
25229 PyObject * obj1 = 0 ;
25230 char *kwnames[] = {
25231 (char *) "self",(char *) "child", NULL
25232 };
25233
25234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25237 {
25238 PyThreadState* __tstate = wxPyBeginAllowThreads();
25239 (arg1)->base_AddChild(arg2);
25240
25241 wxPyEndAllowThreads(__tstate);
25242 if (PyErr_Occurred()) SWIG_fail;
25243 }
25244 Py_INCREF(Py_None); resultobj = Py_None;
25245 return resultobj;
25246 fail:
25247 return NULL;
25248 }
25249
25250
25251 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25252 PyObject *resultobj;
25253 wxPyControl *arg1 = (wxPyControl *) 0 ;
25254 wxWindow *arg2 = (wxWindow *) 0 ;
25255 PyObject * obj0 = 0 ;
25256 PyObject * obj1 = 0 ;
25257 char *kwnames[] = {
25258 (char *) "self",(char *) "child", NULL
25259 };
25260
25261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25264 {
25265 PyThreadState* __tstate = wxPyBeginAllowThreads();
25266 (arg1)->base_RemoveChild(arg2);
25267
25268 wxPyEndAllowThreads(__tstate);
25269 if (PyErr_Occurred()) SWIG_fail;
25270 }
25271 Py_INCREF(Py_None); resultobj = Py_None;
25272 return resultobj;
25273 fail:
25274 return NULL;
25275 }
25276
25277
25278 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25279 PyObject *obj;
25280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25281 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25282 Py_INCREF(obj);
25283 return Py_BuildValue((char *)"");
25284 }
25285 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25286 PyObject *resultobj;
25287 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25288 int arg2 = (int) 0 ;
25289 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25290 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25291 wxHelpEvent *result;
25292 wxPoint temp3 ;
25293 PyObject * obj2 = 0 ;
25294 char *kwnames[] = {
25295 (char *) "type",(char *) "winid",(char *) "pt", NULL
25296 };
25297
25298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25299 if (obj2) {
25300 {
25301 arg3 = &temp3;
25302 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25303 }
25304 }
25305 {
25306 PyThreadState* __tstate = wxPyBeginAllowThreads();
25307 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25308
25309 wxPyEndAllowThreads(__tstate);
25310 if (PyErr_Occurred()) SWIG_fail;
25311 }
25312 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25313 return resultobj;
25314 fail:
25315 return NULL;
25316 }
25317
25318
25319 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25320 PyObject *resultobj;
25321 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25322 wxPoint *result;
25323 PyObject * obj0 = 0 ;
25324 char *kwnames[] = {
25325 (char *) "self", NULL
25326 };
25327
25328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 {
25333 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25334 result = (wxPoint *) &_result_ref;
25335 }
25336
25337 wxPyEndAllowThreads(__tstate);
25338 if (PyErr_Occurred()) SWIG_fail;
25339 }
25340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25341 return resultobj;
25342 fail:
25343 return NULL;
25344 }
25345
25346
25347 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj;
25349 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25350 wxPoint *arg2 = 0 ;
25351 wxPoint temp2 ;
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj1 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "pos", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25360 {
25361 arg2 = &temp2;
25362 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25363 }
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 (arg1)->SetPosition((wxPoint const &)*arg2);
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 Py_INCREF(Py_None); resultobj = Py_None;
25372 return resultobj;
25373 fail:
25374 return NULL;
25375 }
25376
25377
25378 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25379 PyObject *resultobj;
25380 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25381 wxString *result;
25382 PyObject * obj0 = 0 ;
25383 char *kwnames[] = {
25384 (char *) "self", NULL
25385 };
25386
25387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 {
25392 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25393 result = (wxString *) &_result_ref;
25394 }
25395
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 {
25400 #if wxUSE_UNICODE
25401 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25402 #else
25403 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25404 #endif
25405 }
25406 return resultobj;
25407 fail:
25408 return NULL;
25409 }
25410
25411
25412 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj;
25414 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25415 wxString *arg2 = 0 ;
25416 bool temp2 = False ;
25417 PyObject * obj0 = 0 ;
25418 PyObject * obj1 = 0 ;
25419 char *kwnames[] = {
25420 (char *) "self",(char *) "link", NULL
25421 };
25422
25423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25425 {
25426 arg2 = wxString_in_helper(obj1);
25427 if (arg2 == NULL) SWIG_fail;
25428 temp2 = True;
25429 }
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 (arg1)->SetLink((wxString const &)*arg2);
25433
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 Py_INCREF(Py_None); resultobj = Py_None;
25438 {
25439 if (temp2)
25440 delete arg2;
25441 }
25442 return resultobj;
25443 fail:
25444 {
25445 if (temp2)
25446 delete arg2;
25447 }
25448 return NULL;
25449 }
25450
25451
25452 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj;
25454 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25455 wxString *result;
25456 PyObject * obj0 = 0 ;
25457 char *kwnames[] = {
25458 (char *) "self", NULL
25459 };
25460
25461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 {
25466 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25467 result = (wxString *) &_result_ref;
25468 }
25469
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 {
25474 #if wxUSE_UNICODE
25475 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25476 #else
25477 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25478 #endif
25479 }
25480 return resultobj;
25481 fail:
25482 return NULL;
25483 }
25484
25485
25486 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25487 PyObject *resultobj;
25488 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25489 wxString *arg2 = 0 ;
25490 bool temp2 = False ;
25491 PyObject * obj0 = 0 ;
25492 PyObject * obj1 = 0 ;
25493 char *kwnames[] = {
25494 (char *) "self",(char *) "target", NULL
25495 };
25496
25497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25499 {
25500 arg2 = wxString_in_helper(obj1);
25501 if (arg2 == NULL) SWIG_fail;
25502 temp2 = True;
25503 }
25504 {
25505 PyThreadState* __tstate = wxPyBeginAllowThreads();
25506 (arg1)->SetTarget((wxString const &)*arg2);
25507
25508 wxPyEndAllowThreads(__tstate);
25509 if (PyErr_Occurred()) SWIG_fail;
25510 }
25511 Py_INCREF(Py_None); resultobj = Py_None;
25512 {
25513 if (temp2)
25514 delete arg2;
25515 }
25516 return resultobj;
25517 fail:
25518 {
25519 if (temp2)
25520 delete arg2;
25521 }
25522 return NULL;
25523 }
25524
25525
25526 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25527 PyObject *obj;
25528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25529 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25530 Py_INCREF(obj);
25531 return Py_BuildValue((char *)"");
25532 }
25533 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj;
25535 wxWindow *arg1 = (wxWindow *) NULL ;
25536 bool arg2 = (bool) True ;
25537 wxContextHelp *result;
25538 PyObject * obj0 = 0 ;
25539 PyObject * obj1 = 0 ;
25540 char *kwnames[] = {
25541 (char *) "window",(char *) "doNow", NULL
25542 };
25543
25544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25545 if (obj0) {
25546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25547 }
25548 if (obj1) {
25549 arg2 = PyInt_AsLong(obj1) ? true : false;
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25555
25556 wxPyEndAllowThreads(__tstate);
25557 if (PyErr_Occurred()) SWIG_fail;
25558 }
25559 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25560 return resultobj;
25561 fail:
25562 return NULL;
25563 }
25564
25565
25566 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25567 PyObject *resultobj;
25568 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25569 PyObject * obj0 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25576 {
25577 PyThreadState* __tstate = wxPyBeginAllowThreads();
25578 delete arg1;
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
25583 Py_INCREF(Py_None); resultobj = Py_None;
25584 return resultobj;
25585 fail:
25586 return NULL;
25587 }
25588
25589
25590 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25591 PyObject *resultobj;
25592 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25593 wxWindow *arg2 = (wxWindow *) NULL ;
25594 bool result;
25595 PyObject * obj0 = 0 ;
25596 PyObject * obj1 = 0 ;
25597 char *kwnames[] = {
25598 (char *) "self",(char *) "window", NULL
25599 };
25600
25601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25603 if (obj1) {
25604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25605 }
25606 {
25607 PyThreadState* __tstate = wxPyBeginAllowThreads();
25608 result = (bool)(arg1)->BeginContextHelp(arg2);
25609
25610 wxPyEndAllowThreads(__tstate);
25611 if (PyErr_Occurred()) SWIG_fail;
25612 }
25613 resultobj = PyInt_FromLong((long)result);
25614 return resultobj;
25615 fail:
25616 return NULL;
25617 }
25618
25619
25620 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25621 PyObject *resultobj;
25622 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25623 bool result;
25624 PyObject * obj0 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 result = (bool)(arg1)->EndContextHelp();
25634
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
25638 resultobj = PyInt_FromLong((long)result);
25639 return resultobj;
25640 fail:
25641 return NULL;
25642 }
25643
25644
25645 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25646 PyObject *obj;
25647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25648 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25649 Py_INCREF(obj);
25650 return Py_BuildValue((char *)"");
25651 }
25652 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25653 PyObject *resultobj;
25654 wxWindow *arg1 = (wxWindow *) 0 ;
25655 int arg2 = (int) wxID_CONTEXT_HELP ;
25656 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25657 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25658 wxSize const &arg4_defvalue = wxDefaultSize ;
25659 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25660 long arg5 = (long) wxBU_AUTODRAW ;
25661 wxContextHelpButton *result;
25662 wxPoint temp3 ;
25663 wxSize temp4 ;
25664 PyObject * obj0 = 0 ;
25665 PyObject * obj2 = 0 ;
25666 PyObject * obj3 = 0 ;
25667 char *kwnames[] = {
25668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25669 };
25670
25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25673 if (obj2) {
25674 {
25675 arg3 = &temp3;
25676 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25677 }
25678 }
25679 if (obj3) {
25680 {
25681 arg4 = &temp4;
25682 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25683 }
25684 }
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25688
25689 wxPyEndAllowThreads(__tstate);
25690 if (PyErr_Occurred()) SWIG_fail;
25691 }
25692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25693 return resultobj;
25694 fail:
25695 return NULL;
25696 }
25697
25698
25699 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25700 PyObject *obj;
25701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25702 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25703 Py_INCREF(obj);
25704 return Py_BuildValue((char *)"");
25705 }
25706 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj;
25708 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25709 wxHelpProvider *result;
25710 PyObject * obj0 = 0 ;
25711 char *kwnames[] = {
25712 (char *) "helpProvider", NULL
25713 };
25714
25715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25720
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25725 return resultobj;
25726 fail:
25727 return NULL;
25728 }
25729
25730
25731 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25732 PyObject *resultobj;
25733 wxHelpProvider *result;
25734 char *kwnames[] = {
25735 NULL
25736 };
25737
25738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 result = (wxHelpProvider *)wxHelpProvider::Get();
25742
25743 wxPyEndAllowThreads(__tstate);
25744 if (PyErr_Occurred()) SWIG_fail;
25745 }
25746 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25747 return resultobj;
25748 fail:
25749 return NULL;
25750 }
25751
25752
25753 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25754 PyObject *resultobj;
25755 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25756 wxWindow *arg2 = (wxWindow *) 0 ;
25757 wxString result;
25758 PyObject * obj0 = 0 ;
25759 PyObject * obj1 = 0 ;
25760 char *kwnames[] = {
25761 (char *) "self",(char *) "window", NULL
25762 };
25763
25764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 result = (arg1)->GetHelp((wxWindow const *)arg2);
25770
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 {
25775 #if wxUSE_UNICODE
25776 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25777 #else
25778 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25779 #endif
25780 }
25781 return resultobj;
25782 fail:
25783 return NULL;
25784 }
25785
25786
25787 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25788 PyObject *resultobj;
25789 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25790 wxWindow *arg2 = (wxWindow *) 0 ;
25791 bool result;
25792 PyObject * obj0 = 0 ;
25793 PyObject * obj1 = 0 ;
25794 char *kwnames[] = {
25795 (char *) "self",(char *) "window", NULL
25796 };
25797
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 result = (bool)(arg1)->ShowHelp(arg2);
25804
25805 wxPyEndAllowThreads(__tstate);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
25808 resultobj = PyInt_FromLong((long)result);
25809 return resultobj;
25810 fail:
25811 return NULL;
25812 }
25813
25814
25815 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25816 PyObject *resultobj;
25817 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25818 wxWindow *arg2 = (wxWindow *) 0 ;
25819 wxString *arg3 = 0 ;
25820 bool temp3 = False ;
25821 PyObject * obj0 = 0 ;
25822 PyObject * obj1 = 0 ;
25823 PyObject * obj2 = 0 ;
25824 char *kwnames[] = {
25825 (char *) "self",(char *) "window",(char *) "text", NULL
25826 };
25827
25828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25831 {
25832 arg3 = wxString_in_helper(obj2);
25833 if (arg3 == NULL) SWIG_fail;
25834 temp3 = True;
25835 }
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25839
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 Py_INCREF(Py_None); resultobj = Py_None;
25844 {
25845 if (temp3)
25846 delete arg3;
25847 }
25848 return resultobj;
25849 fail:
25850 {
25851 if (temp3)
25852 delete arg3;
25853 }
25854 return NULL;
25855 }
25856
25857
25858 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25859 PyObject *resultobj;
25860 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25861 int arg2 ;
25862 wxString *arg3 = 0 ;
25863 bool temp3 = False ;
25864 PyObject * obj0 = 0 ;
25865 PyObject * obj2 = 0 ;
25866 char *kwnames[] = {
25867 (char *) "self",(char *) "id",(char *) "text", NULL
25868 };
25869
25870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25872 {
25873 arg3 = wxString_in_helper(obj2);
25874 if (arg3 == NULL) SWIG_fail;
25875 temp3 = True;
25876 }
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25880
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 Py_INCREF(Py_None); resultobj = Py_None;
25885 {
25886 if (temp3)
25887 delete arg3;
25888 }
25889 return resultobj;
25890 fail:
25891 {
25892 if (temp3)
25893 delete arg3;
25894 }
25895 return NULL;
25896 }
25897
25898
25899 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25900 PyObject *resultobj;
25901 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25902 PyObject * obj0 = 0 ;
25903 char *kwnames[] = {
25904 (char *) "self", NULL
25905 };
25906
25907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 wxHelpProvider_Destroy(arg1);
25912
25913 wxPyEndAllowThreads(__tstate);
25914 if (PyErr_Occurred()) SWIG_fail;
25915 }
25916 Py_INCREF(Py_None); resultobj = Py_None;
25917 return resultobj;
25918 fail:
25919 return NULL;
25920 }
25921
25922
25923 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25924 PyObject *obj;
25925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25926 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25927 Py_INCREF(obj);
25928 return Py_BuildValue((char *)"");
25929 }
25930 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25931 PyObject *resultobj;
25932 wxSimpleHelpProvider *result;
25933 char *kwnames[] = {
25934 NULL
25935 };
25936
25937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25938 {
25939 PyThreadState* __tstate = wxPyBeginAllowThreads();
25940 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25941
25942 wxPyEndAllowThreads(__tstate);
25943 if (PyErr_Occurred()) SWIG_fail;
25944 }
25945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25946 return resultobj;
25947 fail:
25948 return NULL;
25949 }
25950
25951
25952 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25953 PyObject *obj;
25954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25955 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25956 Py_INCREF(obj);
25957 return Py_BuildValue((char *)"");
25958 }
25959 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25960 PyObject *resultobj;
25961 wxBitmap *arg1 = 0 ;
25962 wxCursor const &arg2_defvalue = wxNullCursor ;
25963 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25964 wxGenericDragImage *result;
25965 PyObject * obj0 = 0 ;
25966 PyObject * obj1 = 0 ;
25967 char *kwnames[] = {
25968 (char *) "image",(char *) "cursor", NULL
25969 };
25970
25971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25973 if (arg1 == NULL) {
25974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25975 }
25976 if (obj1) {
25977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25978 if (arg2 == NULL) {
25979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25980 }
25981 }
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25990 return resultobj;
25991 fail:
25992 return NULL;
25993 }
25994
25995
25996 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25997 PyObject *resultobj;
25998 wxIcon *arg1 = 0 ;
25999 wxCursor const &arg2_defvalue = wxNullCursor ;
26000 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26001 wxGenericDragImage *result;
26002 PyObject * obj0 = 0 ;
26003 PyObject * obj1 = 0 ;
26004 char *kwnames[] = {
26005 (char *) "image",(char *) "cursor", NULL
26006 };
26007
26008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
26009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26010 if (arg1 == NULL) {
26011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26012 }
26013 if (obj1) {
26014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26015 if (arg2 == NULL) {
26016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26017 }
26018 }
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
26021 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
26022
26023 wxPyEndAllowThreads(__tstate);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 }
26026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26027 return resultobj;
26028 fail:
26029 return NULL;
26030 }
26031
26032
26033 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
26034 PyObject *resultobj;
26035 wxString *arg1 = 0 ;
26036 wxCursor const &arg2_defvalue = wxNullCursor ;
26037 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26038 wxGenericDragImage *result;
26039 bool temp1 = False ;
26040 PyObject * obj0 = 0 ;
26041 PyObject * obj1 = 0 ;
26042 char *kwnames[] = {
26043 (char *) "str",(char *) "cursor", NULL
26044 };
26045
26046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
26047 {
26048 arg1 = wxString_in_helper(obj0);
26049 if (arg1 == NULL) SWIG_fail;
26050 temp1 = True;
26051 }
26052 if (obj1) {
26053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26054 if (arg2 == NULL) {
26055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26056 }
26057 }
26058 {
26059 PyThreadState* __tstate = wxPyBeginAllowThreads();
26060 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
26061
26062 wxPyEndAllowThreads(__tstate);
26063 if (PyErr_Occurred()) SWIG_fail;
26064 }
26065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26066 {
26067 if (temp1)
26068 delete arg1;
26069 }
26070 return resultobj;
26071 fail:
26072 {
26073 if (temp1)
26074 delete arg1;
26075 }
26076 return NULL;
26077 }
26078
26079
26080 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26081 PyObject *resultobj;
26082 wxPyTreeCtrl *arg1 = 0 ;
26083 wxTreeItemId *arg2 = 0 ;
26084 wxGenericDragImage *result;
26085 PyObject * obj0 = 0 ;
26086 PyObject * obj1 = 0 ;
26087 char *kwnames[] = {
26088 (char *) "treeCtrl",(char *) "id", NULL
26089 };
26090
26091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
26092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26093 if (arg1 == NULL) {
26094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26095 }
26096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26097 if (arg2 == NULL) {
26098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26099 }
26100 {
26101 PyThreadState* __tstate = wxPyBeginAllowThreads();
26102 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
26103
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26108 return resultobj;
26109 fail:
26110 return NULL;
26111 }
26112
26113
26114 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26115 PyObject *resultobj;
26116 wxPyListCtrl *arg1 = 0 ;
26117 long arg2 ;
26118 wxGenericDragImage *result;
26119 PyObject * obj0 = 0 ;
26120 char *kwnames[] = {
26121 (char *) "listCtrl",(char *) "id", NULL
26122 };
26123
26124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26126 if (arg1 == NULL) {
26127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26128 }
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26132
26133 wxPyEndAllowThreads(__tstate);
26134 if (PyErr_Occurred()) SWIG_fail;
26135 }
26136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26137 return resultobj;
26138 fail:
26139 return NULL;
26140 }
26141
26142
26143 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26146 PyObject * obj0 = 0 ;
26147 char *kwnames[] = {
26148 (char *) "self", NULL
26149 };
26150
26151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26153 {
26154 PyThreadState* __tstate = wxPyBeginAllowThreads();
26155 delete arg1;
26156
26157 wxPyEndAllowThreads(__tstate);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 }
26160 Py_INCREF(Py_None); resultobj = Py_None;
26161 return resultobj;
26162 fail:
26163 return NULL;
26164 }
26165
26166
26167 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj;
26169 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26170 wxBitmap *arg2 = (wxBitmap *) 0 ;
26171 PyObject * obj0 = 0 ;
26172 PyObject * obj1 = 0 ;
26173 char *kwnames[] = {
26174 (char *) "self",(char *) "bitmap", NULL
26175 };
26176
26177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 (arg1)->SetBackingBitmap(arg2);
26183
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 Py_INCREF(Py_None); resultobj = Py_None;
26188 return resultobj;
26189 fail:
26190 return NULL;
26191 }
26192
26193
26194 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj;
26196 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26197 wxPoint *arg2 = 0 ;
26198 wxWindow *arg3 = (wxWindow *) 0 ;
26199 bool arg4 = (bool) False ;
26200 wxRect *arg5 = (wxRect *) NULL ;
26201 bool result;
26202 wxPoint temp2 ;
26203 PyObject * obj0 = 0 ;
26204 PyObject * obj1 = 0 ;
26205 PyObject * obj2 = 0 ;
26206 PyObject * obj3 = 0 ;
26207 PyObject * obj4 = 0 ;
26208 char *kwnames[] = {
26209 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26210 };
26211
26212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26214 {
26215 arg2 = &temp2;
26216 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26217 }
26218 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26219 if (obj3) {
26220 arg4 = PyInt_AsLong(obj3) ? true : false;
26221 if (PyErr_Occurred()) SWIG_fail;
26222 }
26223 if (obj4) {
26224 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26225 }
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 resultobj = PyInt_FromLong((long)result);
26234 return resultobj;
26235 fail:
26236 return NULL;
26237 }
26238
26239
26240 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26241 PyObject *resultobj;
26242 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26243 wxPoint *arg2 = 0 ;
26244 wxWindow *arg3 = (wxWindow *) 0 ;
26245 wxWindow *arg4 = (wxWindow *) 0 ;
26246 bool result;
26247 wxPoint temp2 ;
26248 PyObject * obj0 = 0 ;
26249 PyObject * obj1 = 0 ;
26250 PyObject * obj2 = 0 ;
26251 PyObject * obj3 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26258 {
26259 arg2 = &temp2;
26260 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26261 }
26262 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26263 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26267
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 resultobj = PyInt_FromLong((long)result);
26272 return resultobj;
26273 fail:
26274 return NULL;
26275 }
26276
26277
26278 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26279 PyObject *resultobj;
26280 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26281 bool result;
26282 PyObject * obj0 = 0 ;
26283 char *kwnames[] = {
26284 (char *) "self", NULL
26285 };
26286
26287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 result = (bool)(arg1)->EndDrag();
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 resultobj = PyInt_FromLong((long)result);
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26304 PyObject *resultobj;
26305 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26306 wxPoint *arg2 = 0 ;
26307 bool result;
26308 wxPoint temp2 ;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "pt", NULL
26313 };
26314
26315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26317 {
26318 arg2 = &temp2;
26319 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26320 }
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26324
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 resultobj = PyInt_FromLong((long)result);
26329 return resultobj;
26330 fail:
26331 return NULL;
26332 }
26333
26334
26335 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26336 PyObject *resultobj;
26337 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26338 bool result;
26339 PyObject * obj0 = 0 ;
26340 char *kwnames[] = {
26341 (char *) "self", NULL
26342 };
26343
26344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26346 {
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 result = (bool)(arg1)->Show();
26349
26350 wxPyEndAllowThreads(__tstate);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 }
26353 resultobj = PyInt_FromLong((long)result);
26354 return resultobj;
26355 fail:
26356 return NULL;
26357 }
26358
26359
26360 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26361 PyObject *resultobj;
26362 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26363 bool result;
26364 PyObject * obj0 = 0 ;
26365 char *kwnames[] = {
26366 (char *) "self", NULL
26367 };
26368
26369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 result = (bool)(arg1)->Hide();
26374
26375 wxPyEndAllowThreads(__tstate);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 }
26378 resultobj = PyInt_FromLong((long)result);
26379 return resultobj;
26380 fail:
26381 return NULL;
26382 }
26383
26384
26385 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26386 PyObject *resultobj;
26387 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26388 wxPoint *arg2 = 0 ;
26389 wxRect result;
26390 wxPoint temp2 ;
26391 PyObject * obj0 = 0 ;
26392 PyObject * obj1 = 0 ;
26393 char *kwnames[] = {
26394 (char *) "self",(char *) "pos", NULL
26395 };
26396
26397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26399 {
26400 arg2 = &temp2;
26401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26402 }
26403 {
26404 PyThreadState* __tstate = wxPyBeginAllowThreads();
26405 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26406
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 {
26411 wxRect * resultptr;
26412 resultptr = new wxRect((wxRect &) result);
26413 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26414 }
26415 return resultobj;
26416 fail:
26417 return NULL;
26418 }
26419
26420
26421 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26422 PyObject *resultobj;
26423 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26424 wxDC *arg2 = 0 ;
26425 wxPoint *arg3 = 0 ;
26426 bool result;
26427 wxPoint temp3 ;
26428 PyObject * obj0 = 0 ;
26429 PyObject * obj1 = 0 ;
26430 PyObject * obj2 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self",(char *) "dc",(char *) "pos", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26438 if (arg2 == NULL) {
26439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26440 }
26441 {
26442 arg3 = &temp3;
26443 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26444 }
26445 {
26446 PyThreadState* __tstate = wxPyBeginAllowThreads();
26447 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26448
26449 wxPyEndAllowThreads(__tstate);
26450 if (PyErr_Occurred()) SWIG_fail;
26451 }
26452 resultobj = PyInt_FromLong((long)result);
26453 return resultobj;
26454 fail:
26455 return NULL;
26456 }
26457
26458
26459 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26460 PyObject *resultobj;
26461 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26462 wxDC *arg2 = 0 ;
26463 wxMemoryDC *arg3 = 0 ;
26464 wxRect *arg4 = 0 ;
26465 wxRect *arg5 = 0 ;
26466 bool result;
26467 wxRect temp4 ;
26468 wxRect temp5 ;
26469 PyObject * obj0 = 0 ;
26470 PyObject * obj1 = 0 ;
26471 PyObject * obj2 = 0 ;
26472 PyObject * obj3 = 0 ;
26473 PyObject * obj4 = 0 ;
26474 char *kwnames[] = {
26475 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26476 };
26477
26478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26481 if (arg2 == NULL) {
26482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26483 }
26484 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26485 if (arg3 == NULL) {
26486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26487 }
26488 {
26489 arg4 = &temp4;
26490 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26491 }
26492 {
26493 arg5 = &temp5;
26494 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26495 }
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26499
26500 wxPyEndAllowThreads(__tstate);
26501 if (PyErr_Occurred()) SWIG_fail;
26502 }
26503 resultobj = PyInt_FromLong((long)result);
26504 return resultobj;
26505 fail:
26506 return NULL;
26507 }
26508
26509
26510 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26511 PyObject *resultobj;
26512 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26513 wxPoint *arg2 = 0 ;
26514 wxPoint *arg3 = 0 ;
26515 bool arg4 ;
26516 bool arg5 ;
26517 bool result;
26518 wxPoint temp2 ;
26519 wxPoint temp3 ;
26520 PyObject * obj0 = 0 ;
26521 PyObject * obj1 = 0 ;
26522 PyObject * obj2 = 0 ;
26523 PyObject * obj3 = 0 ;
26524 PyObject * obj4 = 0 ;
26525 char *kwnames[] = {
26526 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26527 };
26528
26529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26531 {
26532 arg2 = &temp2;
26533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26534 }
26535 {
26536 arg3 = &temp3;
26537 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26538 }
26539 arg4 = PyInt_AsLong(obj3) ? true : false;
26540 if (PyErr_Occurred()) SWIG_fail;
26541 arg5 = PyInt_AsLong(obj4) ? true : false;
26542 if (PyErr_Occurred()) SWIG_fail;
26543 {
26544 PyThreadState* __tstate = wxPyBeginAllowThreads();
26545 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26546
26547 wxPyEndAllowThreads(__tstate);
26548 if (PyErr_Occurred()) SWIG_fail;
26549 }
26550 resultobj = PyInt_FromLong((long)result);
26551 return resultobj;
26552 fail:
26553 return NULL;
26554 }
26555
26556
26557 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26558 PyObject *obj;
26559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26560 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26561 Py_INCREF(obj);
26562 return Py_BuildValue((char *)"");
26563 }
26564 static PyMethodDef SwigMethods[] = {
26565 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26573 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26588 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26599 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26608 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26626 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26639 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26643 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26649 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26653 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26660 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26679 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26688 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26689 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26717 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26772 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26777 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26788 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26800 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26811 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26828 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26834 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26859 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26866 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26886 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26892 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26902 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26904 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26909 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26911 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26916 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26921 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26951 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26996 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
27001 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
27013 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
27065 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
27092 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27162 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27174 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27182 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27189 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27205 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27279 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27301 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27306 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27327 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27335 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27340 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27342 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27350 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27352 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27366 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27369 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27370 { NULL, NULL }
27371 };
27372
27373
27374 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27375
27376 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27377 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27378 }
27379 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27380 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27381 }
27382 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27383 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27384 }
27385 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27386 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27387 }
27388 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27389 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27390 }
27391 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27392 return (void *)((wxSizer *) ((wxGridSizer *) x));
27393 }
27394 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27395 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27396 }
27397 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27398 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27399 }
27400 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27401 return (void *)((wxSizer *) ((wxPySizer *) x));
27402 }
27403 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27404 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27405 }
27406 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27407 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27408 }
27409 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27410 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27411 }
27412 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27413 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27414 }
27415 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27416 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27417 }
27418 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27419 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27420 }
27421 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27422 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27423 }
27424 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27425 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27426 }
27427 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27428 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27429 }
27430 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27431 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27432 }
27433 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27434 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27435 }
27436 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27437 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27438 }
27439 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27440 return (void *)((wxEvent *) ((wxPyEvent *) x));
27441 }
27442 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27444 }
27445 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27446 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27447 }
27448 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27449 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27450 }
27451 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27452 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27453 }
27454 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27455 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27456 }
27457 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27458 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27459 }
27460 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27461 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27462 }
27463 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27464 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27465 }
27466 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27467 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27468 }
27469 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27470 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27471 }
27472 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27473 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27474 }
27475 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27476 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27477 }
27478 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27479 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27480 }
27481 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27482 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27483 }
27484 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27485 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27486 }
27487 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27489 }
27490 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27491 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27492 }
27493 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27494 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27495 }
27496 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27497 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27498 }
27499 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27500 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27501 }
27502 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27503 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27504 }
27505 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27506 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27507 }
27508 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27509 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27510 }
27511 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27512 return (void *)((wxEvent *) ((wxShowEvent *) x));
27513 }
27514 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27515 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27516 }
27517 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27518 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27519 }
27520 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27521 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27522 }
27523 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27524 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27525 }
27526 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27527 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27528 }
27529 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27530 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27531 }
27532 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27533 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27534 }
27535 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27536 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27537 }
27538 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27539 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27540 }
27541 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27542 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27543 }
27544 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27545 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27546 }
27547 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27548 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27549 }
27550 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27551 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27552 }
27553 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27554 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27555 }
27556 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27557 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27558 }
27559 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27560 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27561 }
27562 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27563 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27564 }
27565 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27566 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27567 }
27568 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27569 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27570 }
27571 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27572 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27573 }
27574 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27575 return (void *)((wxControl *) ((wxStaticBox *) x));
27576 }
27577 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27578 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27579 }
27580 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27581 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27582 }
27583 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27584 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27585 }
27586 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27587 return (void *)((wxControl *) ((wxScrollBar *) x));
27588 }
27589 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27590 return (void *)((wxControl *) ((wxBookCtrl *) x));
27591 }
27592 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27593 return (void *)((wxControl *) ((wxRadioButton *) x));
27594 }
27595 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27596 return (void *)((wxControl *) ((wxToggleButton *) x));
27597 }
27598 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27599 return (void *)((wxControl *) ((wxGauge *) x));
27600 }
27601 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27602 return (void *)((wxControl *) ((wxToolBarBase *) x));
27603 }
27604 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27605 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27606 }
27607 static void *_p_wxButtonTo_p_wxControl(void *x) {
27608 return (void *)((wxControl *) ((wxButton *) x));
27609 }
27610 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27611 return (void *)((wxControl *) ((wxSpinButton *) x));
27612 }
27613 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27614 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27615 }
27616 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27617 return (void *)((wxControl *) ((wxControlWithItems *) x));
27618 }
27619 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27620 return (void *)((wxControl *) ((wxRadioBox *) x));
27621 }
27622 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27623 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27624 }
27625 static void *_p_wxListbookTo_p_wxControl(void *x) {
27626 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27627 }
27628 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27629 return (void *)((wxControl *) ((wxCheckBox *) x));
27630 }
27631 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27632 return (void *)((wxControl *) ((wxTextCtrl *) x));
27633 }
27634 static void *_p_wxListViewTo_p_wxControl(void *x) {
27635 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27636 }
27637 static void *_p_wxSliderTo_p_wxControl(void *x) {
27638 return (void *)((wxControl *) ((wxSlider *) x));
27639 }
27640 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27641 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27642 }
27643 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27644 return (void *)((wxControl *) ((wxPyControl *) x));
27645 }
27646 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27647 return (void *)((wxControl *) ((wxStaticLine *) x));
27648 }
27649 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27650 return (void *)((wxControl *) ((wxStaticText *) x));
27651 }
27652 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27653 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27654 }
27655 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
27656 return (void *)((wxChoice *) ((wxComboBox *) x));
27657 }
27658 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27659 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27660 }
27661 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27662 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27663 }
27664 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27665 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27666 }
27667 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27668 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27669 }
27670 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27671 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27672 }
27673 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27674 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27675 }
27676 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27677 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27678 }
27679 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27680 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27681 }
27682 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27683 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27684 }
27685 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27686 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27687 }
27688 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27689 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27690 }
27691 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27692 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27693 }
27694 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27695 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27696 }
27697 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27698 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27699 }
27700 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27701 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27702 }
27703 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27704 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27705 }
27706 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27707 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27708 }
27709 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27710 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27711 }
27712 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27713 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27714 }
27715 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27716 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27717 }
27718 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27719 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27720 }
27721 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27722 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27723 }
27724 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27725 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27726 }
27727 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27728 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27729 }
27730 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27731 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27732 }
27733 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27734 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27735 }
27736 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27737 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27738 }
27739 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27740 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27741 }
27742 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27743 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27744 }
27745 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27746 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27747 }
27748 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27749 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27750 }
27751 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27752 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27753 }
27754 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27755 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27756 }
27757 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27758 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27759 }
27760 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27761 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27762 }
27763 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27764 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27765 }
27766 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27767 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27768 }
27769 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27770 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27771 }
27772 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27773 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27774 }
27775 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27776 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27777 }
27778 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27779 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27780 }
27781 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27782 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27783 }
27784 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27785 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27786 }
27787 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27788 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27789 }
27790 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27791 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27792 }
27793 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27794 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27795 }
27796 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27797 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27798 }
27799 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27800 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27801 }
27802 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27803 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27804 }
27805 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27806 return (void *)((wxButton *) ((wxBitmapButton *) x));
27807 }
27808 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27809 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27810 }
27811 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27812 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27813 }
27814 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27815 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27816 }
27817 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27818 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27819 }
27820 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27821 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27822 }
27823 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27824 return (void *)((wxObject *) ((wxSizerItem *) x));
27825 }
27826 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27828 }
27829 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27830 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27831 }
27832 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27834 }
27835 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27837 }
27838 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27839 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27840 }
27841 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27842 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27843 }
27844 static void *_p_wxSizerTo_p_wxObject(void *x) {
27845 return (void *)((wxObject *) ((wxSizer *) x));
27846 }
27847 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27848 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27849 }
27850 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27852 }
27853 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27855 }
27856 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27857 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27858 }
27859 static void *_p_wxEventTo_p_wxObject(void *x) {
27860 return (void *)((wxObject *) ((wxEvent *) x));
27861 }
27862 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27863 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27864 }
27865 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27866 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27867 }
27868 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27869 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27870 }
27871 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27873 }
27874 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27876 }
27877 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27879 }
27880 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27881 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27882 }
27883 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27884 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27885 }
27886 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27887 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27888 }
27889 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27890 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27891 }
27892 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27893 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27894 }
27895 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27896 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27897 }
27898 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27900 }
27901 static void *_p_wxControlTo_p_wxObject(void *x) {
27902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27903 }
27904 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27906 }
27907 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27909 }
27910 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27912 }
27913 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27915 }
27916 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27918 }
27919 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27920 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27921 }
27922 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27924 }
27925 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27926 return (void *)((wxObject *) ((wxFSFile *) x));
27927 }
27928 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27929 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27930 }
27931 static void *_p_wxListViewTo_p_wxObject(void *x) {
27932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27933 }
27934 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27936 }
27937 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27939 }
27940 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27941 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27942 }
27943 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27944 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27945 }
27946 static void *_p_wxListbookTo_p_wxObject(void *x) {
27947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27948 }
27949 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27950 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27951 }
27952 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27954 }
27955 static void *_p_wxSliderTo_p_wxObject(void *x) {
27956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27957 }
27958 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27959 return (void *)((wxObject *) ((wxMenuItem *) x));
27960 }
27961 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27962 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27963 }
27964 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27965 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27966 }
27967 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27968 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27969 }
27970 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27971 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27972 }
27973 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27974 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27975 }
27976 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27977 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27978 }
27979 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27980 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27981 }
27982 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27983 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27984 }
27985 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27987 }
27988 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27989 return (void *)((wxObject *) ((wxContextHelp *) x));
27990 }
27991 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27992 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27993 }
27994 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27995 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27996 }
27997 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27998 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27999 }
28000 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28001 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28002 }
28003 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28004 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28005 }
28006 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28007 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28008 }
28009 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28010 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28011 }
28012 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28013 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28014 }
28015 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28016 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28017 }
28018 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28019 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28020 }
28021 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28022 return (void *)((wxObject *) ((wxImageHandler *) x));
28023 }
28024 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28025 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28026 }
28027 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28028 return (void *)((wxObject *) ((wxEvtHandler *) x));
28029 }
28030 static void *_p_wxListEventTo_p_wxObject(void *x) {
28031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
28032 }
28033 static void *_p_wxListBoxTo_p_wxObject(void *x) {
28034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28035 }
28036 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
28037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28038 }
28039 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
28040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28041 }
28042 static void *_p_wxButtonTo_p_wxObject(void *x) {
28043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
28044 }
28045 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
28046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28047 }
28048 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
28049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
28050 }
28051 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
28052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28053 }
28054 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28055 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28056 }
28057 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
28058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
28059 }
28060 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
28061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
28062 }
28063 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
28064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28065 }
28066 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
28067 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
28068 }
28069 static void *_p_wxListItemTo_p_wxObject(void *x) {
28070 return (void *)((wxObject *) ((wxListItem *) x));
28071 }
28072 static void *_p_wxImageTo_p_wxObject(void *x) {
28073 return (void *)((wxObject *) ((wxImage *) x));
28074 }
28075 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
28076 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
28077 }
28078 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28079 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28080 }
28081 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
28082 return (void *)((wxObject *) ((wxGenericDragImage *) x));
28083 }
28084 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
28085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28086 }
28087 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
28088 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28089 }
28090 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
28091 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28092 }
28093 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28094 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28095 }
28096 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28097 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28098 }
28099 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28100 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28101 }
28102 static void *_p_wxWindowTo_p_wxObject(void *x) {
28103 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28104 }
28105 static void *_p_wxMenuTo_p_wxObject(void *x) {
28106 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28107 }
28108 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28110 }
28111 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28112 return (void *)((wxObject *) ((wxFileSystem *) x));
28113 }
28114 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28115 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28116 }
28117 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28118 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28119 }
28120 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28121 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28122 }
28123 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28124 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28125 }
28126 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28127 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28128 }
28129 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28130 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28131 }
28132 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28133 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28134 }
28135 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28136 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28137 }
28138 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28139 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28140 }
28141 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28143 }
28144 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28145 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28146 }
28147 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28148 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28149 }
28150 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28151 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28152 }
28153 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28155 }
28156 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28157 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28158 }
28159 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28161 }
28162 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28163 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28164 }
28165 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28166 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28167 }
28168 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28169 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28170 }
28171 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28172 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28173 }
28174 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28175 return (void *)((wxWindow *) ((wxMenuBar *) x));
28176 }
28177 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28178 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28179 }
28180 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28181 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28182 }
28183 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28184 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28185 }
28186 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28187 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28188 }
28189 static void *_p_wxControlTo_p_wxWindow(void *x) {
28190 return (void *)((wxWindow *) ((wxControl *) x));
28191 }
28192 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28193 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28194 }
28195 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28196 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28197 }
28198 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28199 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28200 }
28201 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28202 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28203 }
28204 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28205 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28206 }
28207 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28208 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28209 }
28210 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28211 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28212 }
28213 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28214 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28215 }
28216 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28217 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28218 }
28219 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28220 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28221 }
28222 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28223 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28224 }
28225 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28226 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28227 }
28228 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28229 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28230 }
28231 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28232 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28233 }
28234 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28235 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28236 }
28237 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28238 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28239 }
28240 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28241 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28242 }
28243 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28244 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28245 }
28246 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28247 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28248 }
28249 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28250 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28251 }
28252 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28253 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28254 }
28255 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28256 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28257 }
28258 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28259 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28260 }
28261 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28262 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28263 }
28264 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28265 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28266 }
28267 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28268 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28269 }
28270 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28271 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28272 }
28273 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28274 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28275 }
28276 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28277 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28278 }
28279 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28280 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28281 }
28282 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28283 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28284 }
28285 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28286 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28287 }
28288 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28289 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28290 }
28291 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28292 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28293 }
28294 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28295 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28296 }
28297 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28298 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28299 }
28300 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28301 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28302 }
28303 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28304 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28305 }
28306 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28307 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28308 }
28309 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28310 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28311 }
28312 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28313 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28314 }
28315 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28316 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28317 }
28318 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28319 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28320 }
28321 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
28322 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
28323 }
28324 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28325 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28326 }
28327 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28328 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28329 }
28330 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28331 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28332 }
28333 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28334 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28335 }
28336 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28337 return (void *)((wxValidator *) ((wxPyValidator *) x));
28338 }
28339 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28340 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}};
28341 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}};
28342 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28343 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28344 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28345 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28346 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}};
28347 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28348 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28349 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28350 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}};
28351 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28352 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28353 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28354 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}};
28355 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28356 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28357 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28358 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28359 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28360 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28361 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}};
28362 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28363 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28364 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28365 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28366 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28367 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28368 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28369 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28370 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28371 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}};
28372 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28373 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28374 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28375 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28376 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28377 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28378 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28379 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28380 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}};
28381 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28382 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28383 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28384 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}};
28385 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28386 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}};
28387 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28388 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28389 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28390 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28391 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28392 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28393 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28394 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28395 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28396 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28397 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28398 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28399 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28400 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28401 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28402 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28403 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28404 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28405 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28406 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}};
28407 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28408 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28409 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}};
28410 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28411 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28412 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28413 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28414 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}};
28415 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28416 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}};
28417 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28418 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28419 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28420 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28421 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28422
28423 static swig_type_info *swig_types_initial[] = {
28424 _swigt__p_wxTextUrlEvent,
28425 _swigt__p_wxBookCtrlEvent,
28426 _swigt__p_wxSizer,
28427 _swigt__p_wxTreeItemIdValue,
28428 _swigt__wxTreeItemIdValue,
28429 _swigt__p_wxCheckBox,
28430 _swigt__p_wxPyTreeCtrl,
28431 _swigt__p_wxEvent,
28432 _swigt__p_wxGenericDirCtrl,
28433 _swigt__p_bool,
28434 _swigt__p_wxPyTreeItemData,
28435 _swigt__p_wxItemContainer,
28436 _swigt__p_wxDirFilterListCtrl,
28437 _swigt__p_wxPyListCtrl,
28438 _swigt__p_wxStaticLine,
28439 _swigt__p_wxControl,
28440 _swigt__p_wxPyControl,
28441 _swigt__p_wxGauge,
28442 _swigt__p_wxToolBarBase,
28443 _swigt__p_wxFont,
28444 _swigt__p_wxToggleButton,
28445 _swigt__p_wxRadioButton,
28446 _swigt__p_wxChoice,
28447 _swigt__p_wxMemoryDC,
28448 _swigt__p_wxListItemAttr,
28449 _swigt__p_int,
28450 _swigt__p_wxSize,
28451 _swigt__p_wxDC,
28452 _swigt__p_wxListView,
28453 _swigt__p_wxIcon,
28454 _swigt__p_wxTextCtrl,
28455 _swigt__p_wxNotebook,
28456 _swigt__p_wxNotifyEvent,
28457 _swigt__p_wxArrayString,
28458 _swigt__p_wxListbook,
28459 _swigt__p_wxStaticBitmap,
28460 _swigt__p_wxSlider,
28461 _swigt__p_wxStaticBox,
28462 _swigt__p_wxArrayInt,
28463 _swigt__p_wxContextHelp,
28464 _swigt__p_long,
28465 _swigt__p_wxEvtHandler,
28466 _swigt__p_wxListEvent,
28467 _swigt__p_wxListBox,
28468 _swigt__p_wxCheckListBox,
28469 _swigt__p_wxBookCtrl,
28470 _swigt__p_wxSpinButton,
28471 _swigt__p_wxButton,
28472 _swigt__p_wxBitmapButton,
28473 _swigt__p_wxRect,
28474 _swigt__p_wxContextHelpButton,
28475 _swigt__p_wxRadioBox,
28476 _swigt__p_wxScrollBar,
28477 _swigt__p_wxTreeItemId,
28478 _swigt__p_wxComboBox,
28479 _swigt__p_wxHelpEvent,
28480 _swigt__p_wxListItem,
28481 _swigt__p_wxNotebookSizer,
28482 _swigt__p_wxGenericDragImage,
28483 _swigt__p_wxSpinCtrl,
28484 _swigt__p_wxImageList,
28485 _swigt__p_wxHelpProvider,
28486 _swigt__p_wxTextAttr,
28487 _swigt__p_wxSimpleHelpProvider,
28488 _swigt__p_wxPoint,
28489 _swigt__p_wxListbookEvent,
28490 _swigt__p_wxNotebookEvent,
28491 _swigt__p_wxObject,
28492 _swigt__p_wxCursor,
28493 _swigt__p_wxKeyEvent,
28494 _swigt__p_wxWindow,
28495 _swigt__p_wxString,
28496 _swigt__p_wxBitmap,
28497 _swigt__p_wxTreeEvent,
28498 _swigt__p_wxMouseEvent,
28499 _swigt__p_wxCommandEvent,
28500 _swigt__p_wxStaticText,
28501 _swigt__p_wxControlWithItems,
28502 _swigt__p_wxToolBarToolBase,
28503 _swigt__p_wxColour,
28504 _swigt__p_wxToolBar,
28505 _swigt__p_wxBookCtrlSizer,
28506 _swigt__p_wxValidator,
28507 0
28508 };
28509
28510
28511 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28512
28513 static swig_const_info swig_const_table[] = {
28514 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28515 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28516 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28517 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28518 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28519 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28520 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28521 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28522 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28523 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28524 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28525 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28526 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28527 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28528 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28529 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28530 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28531 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28532 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28533 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28534 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28535 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28536 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28537 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28538 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28539 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28540 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28541 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28542 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28543 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28544 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28545 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28546 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28547 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28548 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28549 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28550 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28551 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28552 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28553 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28554 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28555 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28556 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28557 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28558 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28559 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28560 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28561 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28562 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28563 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28564 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28565 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28566 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28567 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28568 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28569 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28570 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28571 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28572 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28573 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28574 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28575 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28576 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28577 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28578 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28579 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28580 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28581 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28582 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28583 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28584 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28585 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28586 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28587 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28588 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28589 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28590 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28591 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28592 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28593 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28594 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28595 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28596 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28597 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28598 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28599 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28600 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28601 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28602 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28603 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28604 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28605 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28606 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28607 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28608 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28609 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28610 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28611 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28612 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28613 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28614 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28615 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28616 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28617 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28618 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28619 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28620 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28621 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28622 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28623 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28624 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28625 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28626 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28627 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28628 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28629 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28630 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28631 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28632 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28633 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28634 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28635 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28636 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28637 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28638 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28639 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28640 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28641 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28642 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28643 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28644 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28645 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28646 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28647 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28648 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28649 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28650 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28651 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28652 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28653 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28654 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28655 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28656 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28657 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28658 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28659 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28660 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28661 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28662 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28663 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28664 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28665 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28666 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28667 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28668 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28669 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28670 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28671 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28672 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28673 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28674 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28675 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28676 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28677 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28678 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28679 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28680 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28681 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28682 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28683 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28684 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28685 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28686 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28687 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28688 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28689 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28690 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28691 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28692 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28693 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28694 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28695 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28696 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28697 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28698 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28699 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28700 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28701 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28702 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28703 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28704 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28705 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28706 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28707 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28708 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28709 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28710 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28711 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28712 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28713 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28714 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28715 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28716 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28717 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28718 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28719 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28720 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28721 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28722 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28723 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28724 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28725 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28726 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28727 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28728 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28729 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28730 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28731 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28732 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28733 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28734 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28735 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28736 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28737 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28738 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28739 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28740 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28741 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28742 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28743 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28744 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28745 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28746 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28747 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28748 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28749 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28750 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28751 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28752 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28753 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28754 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28755 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28756 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28757 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28758 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28759 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28760 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28761 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28762 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28763 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28764 {0}};
28765
28766 #ifdef __cplusplus
28767 }
28768 #endif
28769
28770 #ifdef __cplusplus
28771 extern "C"
28772 #endif
28773 SWIGEXPORT(void) SWIG_init(void) {
28774 static PyObject *SWIG_globals = 0;
28775 static int typeinit = 0;
28776 PyObject *m, *d;
28777 int i;
28778 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28779 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28780 d = PyModule_GetDict(m);
28781
28782 if (!typeinit) {
28783 for (i = 0; swig_types_initial[i]; i++) {
28784 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28785 }
28786 typeinit = 1;
28787 }
28788 SWIG_InstallConstants(d,swig_const_table);
28789
28790 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28791 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28792 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28793 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28794 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28795 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28796 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28797 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28798 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28799 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28800 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28801 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28802 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28803 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28804 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28805 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28806 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28807 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28808 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28809 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28810 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28811 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28812 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28813 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28814 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28815 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28816 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28817 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28818 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28819 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28820 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28821 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28822 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28823 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28824 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28825 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28826 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28827 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28828 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28829 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28830 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28831 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28832 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28833 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28834 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28835 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28836 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28837 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28838 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28839 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28840 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28841 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28842
28843 // Map renamed classes back to their common name for OOR
28844 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28845
28846 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28847 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28848 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28849 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28850 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28851 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28852 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28853 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28854 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28855 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28856 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28857 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28858 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28859 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28860 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28861 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28862 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28863 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28864 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28865 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28866 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28867
28868 // Map renamed classes back to their common name for OOR
28869 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28870 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28871
28872 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28873 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28874 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28875
28876 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28877
28878 }
28879