]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
Tool tweaks and metadata update
[wxWidgets.git] / wxPython / src / mac / 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
548
549 return (wxWindow*)self->m_mainWin;
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_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1023 PyObject *resultobj;
1024 wxSize result;
1025 char *kwnames[] = {
1026 NULL
1027 };
1028
1029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1030 {
1031 PyThreadState* __tstate = wxPyBeginAllowThreads();
1032 result = wxButton::GetDefaultSize();
1033
1034 wxPyEndAllowThreads(__tstate);
1035 if (PyErr_Occurred()) SWIG_fail;
1036 }
1037 {
1038 wxSize * resultptr;
1039 resultptr = new wxSize((wxSize &) result);
1040 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1041 }
1042 return resultobj;
1043 fail:
1044 return NULL;
1045 }
1046
1047
1048 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1049 PyObject *obj;
1050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1051 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1052 Py_INCREF(obj);
1053 return Py_BuildValue((char *)"");
1054 }
1055 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject *resultobj;
1057 wxWindow *arg1 = (wxWindow *) 0 ;
1058 int arg2 ;
1059 wxBitmap *arg3 = 0 ;
1060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1062 wxSize const &arg5_defvalue = wxDefaultSize ;
1063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1064 long arg6 = (long) wxBU_AUTODRAW ;
1065 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1066 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1067 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1068 wxString *arg8 = (wxString *) &arg8_defvalue ;
1069 wxBitmapButton *result;
1070 wxPoint temp4 ;
1071 wxSize temp5 ;
1072 bool temp8 = False ;
1073 PyObject * obj0 = 0 ;
1074 PyObject * obj2 = 0 ;
1075 PyObject * obj3 = 0 ;
1076 PyObject * obj4 = 0 ;
1077 PyObject * obj6 = 0 ;
1078 PyObject * obj7 = 0 ;
1079 char *kwnames[] = {
1080 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1081 };
1082
1083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1085 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1086 if (arg3 == NULL) {
1087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1088 }
1089 if (obj3) {
1090 {
1091 arg4 = &temp4;
1092 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1093 }
1094 }
1095 if (obj4) {
1096 {
1097 arg5 = &temp5;
1098 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1099 }
1100 }
1101 if (obj6) {
1102 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1103 if (arg7 == NULL) {
1104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1105 }
1106 }
1107 if (obj7) {
1108 {
1109 arg8 = wxString_in_helper(obj7);
1110 if (arg8 == NULL) SWIG_fail;
1111 temp8 = True;
1112 }
1113 }
1114 {
1115 PyThreadState* __tstate = wxPyBeginAllowThreads();
1116 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1117
1118 wxPyEndAllowThreads(__tstate);
1119 if (PyErr_Occurred()) SWIG_fail;
1120 }
1121 {
1122 resultobj = wxPyMake_wxObject(result);
1123 }
1124 {
1125 if (temp8)
1126 delete arg8;
1127 }
1128 return resultobj;
1129 fail:
1130 {
1131 if (temp8)
1132 delete arg8;
1133 }
1134 return NULL;
1135 }
1136
1137
1138 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1139 PyObject *resultobj;
1140 wxBitmapButton *result;
1141 char *kwnames[] = {
1142 NULL
1143 };
1144
1145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1146 {
1147 PyThreadState* __tstate = wxPyBeginAllowThreads();
1148 result = (wxBitmapButton *)new wxBitmapButton();
1149
1150 wxPyEndAllowThreads(__tstate);
1151 if (PyErr_Occurred()) SWIG_fail;
1152 }
1153 {
1154 resultobj = wxPyMake_wxObject(result);
1155 }
1156 return resultobj;
1157 fail:
1158 return NULL;
1159 }
1160
1161
1162 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject *resultobj;
1164 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1165 wxWindow *arg2 = (wxWindow *) 0 ;
1166 int arg3 ;
1167 wxBitmap *arg4 = 0 ;
1168 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1169 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1170 wxSize const &arg6_defvalue = wxDefaultSize ;
1171 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1172 long arg7 = (long) wxBU_AUTODRAW ;
1173 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1174 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1175 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1176 wxString *arg9 = (wxString *) &arg9_defvalue ;
1177 bool result;
1178 wxPoint temp5 ;
1179 wxSize temp6 ;
1180 bool temp9 = False ;
1181 PyObject * obj0 = 0 ;
1182 PyObject * obj1 = 0 ;
1183 PyObject * obj3 = 0 ;
1184 PyObject * obj4 = 0 ;
1185 PyObject * obj5 = 0 ;
1186 PyObject * obj7 = 0 ;
1187 PyObject * obj8 = 0 ;
1188 char *kwnames[] = {
1189 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1190 };
1191
1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1195 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1196 if (arg4 == NULL) {
1197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1198 }
1199 if (obj4) {
1200 {
1201 arg5 = &temp5;
1202 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1203 }
1204 }
1205 if (obj5) {
1206 {
1207 arg6 = &temp6;
1208 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1209 }
1210 }
1211 if (obj7) {
1212 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 if (arg8 == NULL) {
1214 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1215 }
1216 }
1217 if (obj8) {
1218 {
1219 arg9 = wxString_in_helper(obj8);
1220 if (arg9 == NULL) SWIG_fail;
1221 temp9 = True;
1222 }
1223 }
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
1231 resultobj = PyInt_FromLong((long)result);
1232 {
1233 if (temp9)
1234 delete arg9;
1235 }
1236 return resultobj;
1237 fail:
1238 {
1239 if (temp9)
1240 delete arg9;
1241 }
1242 return NULL;
1243 }
1244
1245
1246 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject *resultobj;
1248 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1249 wxBitmap result;
1250 PyObject * obj0 = 0 ;
1251 char *kwnames[] = {
1252 (char *) "self", NULL
1253 };
1254
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1257 {
1258 PyThreadState* __tstate = wxPyBeginAllowThreads();
1259 result = (arg1)->GetBitmapLabel();
1260
1261 wxPyEndAllowThreads(__tstate);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 }
1264 {
1265 wxBitmap * resultptr;
1266 resultptr = new wxBitmap((wxBitmap &) result);
1267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1268 }
1269 return resultobj;
1270 fail:
1271 return NULL;
1272 }
1273
1274
1275 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject *resultobj;
1277 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1278 wxBitmap result;
1279 PyObject * obj0 = 0 ;
1280 char *kwnames[] = {
1281 (char *) "self", NULL
1282 };
1283
1284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 result = (arg1)->GetBitmapDisabled();
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 {
1294 wxBitmap * resultptr;
1295 resultptr = new wxBitmap((wxBitmap &) result);
1296 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1297 }
1298 return resultobj;
1299 fail:
1300 return NULL;
1301 }
1302
1303
1304 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject *resultobj;
1306 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1307 wxBitmap result;
1308 PyObject * obj0 = 0 ;
1309 char *kwnames[] = {
1310 (char *) "self", NULL
1311 };
1312
1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1315 {
1316 PyThreadState* __tstate = wxPyBeginAllowThreads();
1317 result = (arg1)->GetBitmapFocus();
1318
1319 wxPyEndAllowThreads(__tstate);
1320 if (PyErr_Occurred()) SWIG_fail;
1321 }
1322 {
1323 wxBitmap * resultptr;
1324 resultptr = new wxBitmap((wxBitmap &) result);
1325 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1326 }
1327 return resultobj;
1328 fail:
1329 return NULL;
1330 }
1331
1332
1333 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1334 PyObject *resultobj;
1335 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1336 wxBitmap result;
1337 PyObject * obj0 = 0 ;
1338 char *kwnames[] = {
1339 (char *) "self", NULL
1340 };
1341
1342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 result = (arg1)->GetBitmapSelected();
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 {
1352 wxBitmap * resultptr;
1353 resultptr = new wxBitmap((wxBitmap &) result);
1354 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1355 }
1356 return resultobj;
1357 fail:
1358 return NULL;
1359 }
1360
1361
1362 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1363 PyObject *resultobj;
1364 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1365 wxBitmap *arg2 = 0 ;
1366 PyObject * obj0 = 0 ;
1367 PyObject * obj1 = 0 ;
1368 char *kwnames[] = {
1369 (char *) "self",(char *) "bitmap", NULL
1370 };
1371
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1375 if (arg2 == NULL) {
1376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1377 }
1378 {
1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
1380 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1381
1382 wxPyEndAllowThreads(__tstate);
1383 if (PyErr_Occurred()) SWIG_fail;
1384 }
1385 Py_INCREF(Py_None); resultobj = Py_None;
1386 return resultobj;
1387 fail:
1388 return NULL;
1389 }
1390
1391
1392 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1393 PyObject *resultobj;
1394 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1395 wxBitmap *arg2 = 0 ;
1396 PyObject * obj0 = 0 ;
1397 PyObject * obj1 = 0 ;
1398 char *kwnames[] = {
1399 (char *) "self",(char *) "bitmap", NULL
1400 };
1401
1402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1405 if (arg2 == NULL) {
1406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1407 }
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 Py_INCREF(Py_None); resultobj = Py_None;
1416 return resultobj;
1417 fail:
1418 return NULL;
1419 }
1420
1421
1422 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject *resultobj;
1424 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1425 wxBitmap *arg2 = 0 ;
1426 PyObject * obj0 = 0 ;
1427 PyObject * obj1 = 0 ;
1428 char *kwnames[] = {
1429 (char *) "self",(char *) "bitmap", NULL
1430 };
1431
1432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1435 if (arg2 == NULL) {
1436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1437 }
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 Py_INCREF(Py_None); resultobj = Py_None;
1446 return resultobj;
1447 fail:
1448 return NULL;
1449 }
1450
1451
1452 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject *resultobj;
1454 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1455 wxBitmap *arg2 = 0 ;
1456 PyObject * obj0 = 0 ;
1457 PyObject * obj1 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self",(char *) "bitmap", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1465 if (arg2 == NULL) {
1466 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1467 }
1468 {
1469 PyThreadState* __tstate = wxPyBeginAllowThreads();
1470 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1471
1472 wxPyEndAllowThreads(__tstate);
1473 if (PyErr_Occurred()) SWIG_fail;
1474 }
1475 Py_INCREF(Py_None); resultobj = Py_None;
1476 return resultobj;
1477 fail:
1478 return NULL;
1479 }
1480
1481
1482 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject *resultobj;
1484 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1485 int arg2 ;
1486 int arg3 ;
1487 PyObject * obj0 = 0 ;
1488 char *kwnames[] = {
1489 (char *) "self",(char *) "x",(char *) "y", NULL
1490 };
1491
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1494 {
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 (arg1)->SetMargins(arg2,arg3);
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_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject *resultobj;
1510 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1511 int result;
1512 PyObject * obj0 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "self", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 resultobj = PyInt_FromLong((long)result);
1527 return resultobj;
1528 fail:
1529 return NULL;
1530 }
1531
1532
1533 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1534 PyObject *resultobj;
1535 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1536 int result;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 resultobj = PyInt_FromLong((long)result);
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1559 PyObject *obj;
1560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1561 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1562 Py_INCREF(obj);
1563 return Py_BuildValue((char *)"");
1564 }
1565 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1566 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1567 return 1;
1568 }
1569
1570
1571 static PyObject *_wrap_CheckBoxNameStr_get() {
1572 PyObject *pyobj;
1573
1574 {
1575 #if wxUSE_UNICODE
1576 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1577 #else
1578 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1579 #endif
1580 }
1581 return pyobj;
1582 }
1583
1584
1585 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxWindow *arg1 = (wxWindow *) 0 ;
1588 int arg2 ;
1589 wxString *arg3 = 0 ;
1590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1592 wxSize const &arg5_defvalue = wxDefaultSize ;
1593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1594 long arg6 = (long) 0 ;
1595 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1596 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1597 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1598 wxString *arg8 = (wxString *) &arg8_defvalue ;
1599 wxCheckBox *result;
1600 bool temp3 = False ;
1601 wxPoint temp4 ;
1602 wxSize temp5 ;
1603 bool temp8 = False ;
1604 PyObject * obj0 = 0 ;
1605 PyObject * obj2 = 0 ;
1606 PyObject * obj3 = 0 ;
1607 PyObject * obj4 = 0 ;
1608 PyObject * obj6 = 0 ;
1609 PyObject * obj7 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1616 {
1617 arg3 = wxString_in_helper(obj2);
1618 if (arg3 == NULL) SWIG_fail;
1619 temp3 = True;
1620 }
1621 if (obj3) {
1622 {
1623 arg4 = &temp4;
1624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1625 }
1626 }
1627 if (obj4) {
1628 {
1629 arg5 = &temp5;
1630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1631 }
1632 }
1633 if (obj6) {
1634 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 if (arg7 == NULL) {
1636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1637 }
1638 }
1639 if (obj7) {
1640 {
1641 arg8 = wxString_in_helper(obj7);
1642 if (arg8 == NULL) SWIG_fail;
1643 temp8 = True;
1644 }
1645 }
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1654 {
1655 if (temp3)
1656 delete arg3;
1657 }
1658 {
1659 if (temp8)
1660 delete arg8;
1661 }
1662 return resultobj;
1663 fail:
1664 {
1665 if (temp3)
1666 delete arg3;
1667 }
1668 {
1669 if (temp8)
1670 delete arg8;
1671 }
1672 return NULL;
1673 }
1674
1675
1676 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxCheckBox *result;
1679 char *kwnames[] = {
1680 NULL
1681 };
1682
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 result = (wxCheckBox *)new wxCheckBox();
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1692 return resultobj;
1693 fail:
1694 return NULL;
1695 }
1696
1697
1698 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject *resultobj;
1700 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1701 wxWindow *arg2 = (wxWindow *) 0 ;
1702 int arg3 ;
1703 wxString *arg4 = 0 ;
1704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1706 wxSize const &arg6_defvalue = wxDefaultSize ;
1707 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1708 long arg7 = (long) 0 ;
1709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1711 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1712 wxString *arg9 = (wxString *) &arg9_defvalue ;
1713 bool result;
1714 bool temp4 = False ;
1715 wxPoint temp5 ;
1716 wxSize temp6 ;
1717 bool temp9 = False ;
1718 PyObject * obj0 = 0 ;
1719 PyObject * obj1 = 0 ;
1720 PyObject * obj3 = 0 ;
1721 PyObject * obj4 = 0 ;
1722 PyObject * obj5 = 0 ;
1723 PyObject * obj7 = 0 ;
1724 PyObject * obj8 = 0 ;
1725 char *kwnames[] = {
1726 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1727 };
1728
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 {
1733 arg4 = wxString_in_helper(obj3);
1734 if (arg4 == NULL) SWIG_fail;
1735 temp4 = True;
1736 }
1737 if (obj4) {
1738 {
1739 arg5 = &temp5;
1740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1741 }
1742 }
1743 if (obj5) {
1744 {
1745 arg6 = &temp6;
1746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1747 }
1748 }
1749 if (obj7) {
1750 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1751 if (arg8 == NULL) {
1752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1753 }
1754 }
1755 if (obj8) {
1756 {
1757 arg9 = wxString_in_helper(obj8);
1758 if (arg9 == NULL) SWIG_fail;
1759 temp9 = True;
1760 }
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 resultobj = PyInt_FromLong((long)result);
1770 {
1771 if (temp4)
1772 delete arg4;
1773 }
1774 {
1775 if (temp9)
1776 delete arg9;
1777 }
1778 return resultobj;
1779 fail:
1780 {
1781 if (temp4)
1782 delete arg4;
1783 }
1784 {
1785 if (temp9)
1786 delete arg9;
1787 }
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1795 bool result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = (bool)(arg1)->GetValue();
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 resultobj = PyInt_FromLong((long)result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1820 bool result;
1821 PyObject * obj0 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "self", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 result = (bool)(arg1)->IsChecked();
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 resultobj = PyInt_FromLong((long)result);
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1845 bool arg2 ;
1846 PyObject * obj0 = 0 ;
1847 PyObject * obj1 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self",(char *) "state", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 arg2 = PyInt_AsLong(obj1) ? true : false;
1855 if (PyErr_Occurred()) SWIG_fail;
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 (arg1)->SetValue(arg2);
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
1863 Py_INCREF(Py_None); resultobj = Py_None;
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1873 int result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) SWIG_fail;
1887 }
1888 resultobj = PyInt_FromLong((long)result);
1889 return resultobj;
1890 fail:
1891 return NULL;
1892 }
1893
1894
1895 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1898 int arg2 ;
1899 PyObject * obj0 = 0 ;
1900 char *kwnames[] = {
1901 (char *) "self",(char *) "state", NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1923 bool result;
1924 PyObject * obj0 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 resultobj = PyInt_FromLong((long)result);
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1948 bool result;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 resultobj = PyInt_FromLong((long)result);
1964 return resultobj;
1965 fail:
1966 return NULL;
1967 }
1968
1969
1970 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1971 PyObject *obj;
1972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1973 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1974 Py_INCREF(obj);
1975 return Py_BuildValue((char *)"");
1976 }
1977 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
1978 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
1979 return 1;
1980 }
1981
1982
1983 static PyObject *_wrap_ChoiceNameStr_get() {
1984 PyObject *pyobj;
1985
1986 {
1987 #if wxUSE_UNICODE
1988 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1989 #else
1990 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1991 #endif
1992 }
1993 return pyobj;
1994 }
1995
1996
1997 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject *resultobj;
1999 wxWindow *arg1 = (wxWindow *) 0 ;
2000 int arg2 ;
2001 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2002 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2003 wxSize const &arg4_defvalue = wxDefaultSize ;
2004 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2005 int arg5 = (int) 0 ;
2006 wxString *arg6 = (wxString *) NULL ;
2007 long arg7 = (long) 0 ;
2008 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2009 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2010 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2011 wxString *arg9 = (wxString *) &arg9_defvalue ;
2012 wxChoice *result;
2013 wxPoint temp3 ;
2014 wxSize temp4 ;
2015 bool temp8 = False ;
2016 PyObject * obj0 = 0 ;
2017 PyObject * obj2 = 0 ;
2018 PyObject * obj3 = 0 ;
2019 PyObject * obj4 = 0 ;
2020 PyObject * obj6 = 0 ;
2021 PyObject * obj7 = 0 ;
2022 char *kwnames[] = {
2023 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2028 if (obj2) {
2029 {
2030 arg3 = &temp3;
2031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2032 }
2033 }
2034 if (obj3) {
2035 {
2036 arg4 = &temp4;
2037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2038 }
2039 }
2040 if (obj4) {
2041 {
2042 arg5 = PyList_Size(obj4);
2043 arg6 = wxString_LIST_helper(obj4);
2044 if (arg6 == NULL) SWIG_fail;
2045 }
2046 }
2047 if (obj6) {
2048 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2049 if (arg8 == NULL) {
2050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2051 }
2052 }
2053 if (obj7) {
2054 {
2055 arg9 = wxString_in_helper(obj7);
2056 if (arg9 == NULL) SWIG_fail;
2057 temp8 = True;
2058 }
2059 }
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2068 {
2069 if (arg6) delete [] arg6;
2070 }
2071 {
2072 if (temp8)
2073 delete arg9;
2074 }
2075 return resultobj;
2076 fail:
2077 {
2078 if (arg6) delete [] arg6;
2079 }
2080 {
2081 if (temp8)
2082 delete arg9;
2083 }
2084 return NULL;
2085 }
2086
2087
2088 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2089 PyObject *resultobj;
2090 wxChoice *result;
2091 char *kwnames[] = {
2092 NULL
2093 };
2094
2095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2096 {
2097 PyThreadState* __tstate = wxPyBeginAllowThreads();
2098 result = (wxChoice *)new wxChoice();
2099
2100 wxPyEndAllowThreads(__tstate);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2104 return resultobj;
2105 fail:
2106 return NULL;
2107 }
2108
2109
2110 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2111 PyObject *resultobj;
2112 wxChoice *arg1 = (wxChoice *) 0 ;
2113 wxWindow *arg2 = (wxWindow *) 0 ;
2114 int arg3 ;
2115 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2116 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2117 wxSize const &arg5_defvalue = wxDefaultSize ;
2118 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2119 int arg6 = (int) 0 ;
2120 wxString *arg7 = (wxString *) NULL ;
2121 long arg8 = (long) 0 ;
2122 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2123 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2124 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2125 wxString *arg10 = (wxString *) &arg10_defvalue ;
2126 bool result;
2127 wxPoint temp4 ;
2128 wxSize temp5 ;
2129 bool temp9 = False ;
2130 PyObject * obj0 = 0 ;
2131 PyObject * obj1 = 0 ;
2132 PyObject * obj3 = 0 ;
2133 PyObject * obj4 = 0 ;
2134 PyObject * obj5 = 0 ;
2135 PyObject * obj7 = 0 ;
2136 PyObject * obj8 = 0 ;
2137 char *kwnames[] = {
2138 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2139 };
2140
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2144 if (obj3) {
2145 {
2146 arg4 = &temp4;
2147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2148 }
2149 }
2150 if (obj4) {
2151 {
2152 arg5 = &temp5;
2153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2154 }
2155 }
2156 if (obj5) {
2157 {
2158 arg6 = PyList_Size(obj5);
2159 arg7 = wxString_LIST_helper(obj5);
2160 if (arg7 == NULL) SWIG_fail;
2161 }
2162 }
2163 if (obj7) {
2164 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2165 if (arg9 == NULL) {
2166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2167 }
2168 }
2169 if (obj8) {
2170 {
2171 arg10 = wxString_in_helper(obj8);
2172 if (arg10 == NULL) SWIG_fail;
2173 temp9 = True;
2174 }
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 resultobj = PyInt_FromLong((long)result);
2184 {
2185 if (arg7) delete [] arg7;
2186 }
2187 {
2188 if (temp9)
2189 delete arg10;
2190 }
2191 return resultobj;
2192 fail:
2193 {
2194 if (arg7) delete [] arg7;
2195 }
2196 {
2197 if (temp9)
2198 delete arg10;
2199 }
2200 return NULL;
2201 }
2202
2203
2204 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2205 PyObject *resultobj;
2206 wxChoice *arg1 = (wxChoice *) 0 ;
2207 int result;
2208 PyObject * obj0 = 0 ;
2209 char *kwnames[] = {
2210 (char *) "self", NULL
2211 };
2212
2213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 result = (int)(arg1)->GetColumns();
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 resultobj = PyInt_FromLong((long)result);
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxChoice *arg1 = (wxChoice *) 0 ;
2232 int arg2 = (int) (int)1 ;
2233 PyObject * obj0 = 0 ;
2234 char *kwnames[] = {
2235 (char *) "self",(char *) "n", NULL
2236 };
2237
2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 (arg1)->SetColumns(arg2);
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
2247 Py_INCREF(Py_None); resultobj = Py_None;
2248 return resultobj;
2249 fail:
2250 return NULL;
2251 }
2252
2253
2254 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 wxChoice *arg1 = (wxChoice *) 0 ;
2257 int arg2 ;
2258 PyObject * obj0 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self",(char *) "n", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 (arg1)->SetSelection(arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 Py_INCREF(Py_None); resultobj = Py_None;
2273 return resultobj;
2274 fail:
2275 return NULL;
2276 }
2277
2278
2279 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxChoice *arg1 = (wxChoice *) 0 ;
2282 wxString *arg2 = 0 ;
2283 bool temp2 = False ;
2284 PyObject * obj0 = 0 ;
2285 PyObject * obj1 = 0 ;
2286 char *kwnames[] = {
2287 (char *) "self",(char *) "string", NULL
2288 };
2289
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2292 {
2293 arg2 = wxString_in_helper(obj1);
2294 if (arg2 == NULL) SWIG_fail;
2295 temp2 = True;
2296 }
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 (arg1)->SetStringSelection((wxString const &)*arg2);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 {
2306 if (temp2)
2307 delete arg2;
2308 }
2309 return resultobj;
2310 fail:
2311 {
2312 if (temp2)
2313 delete arg2;
2314 }
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxChoice *arg1 = (wxChoice *) 0 ;
2322 int arg2 ;
2323 wxString *arg3 = 0 ;
2324 bool temp3 = False ;
2325 PyObject * obj0 = 0 ;
2326 PyObject * obj2 = 0 ;
2327 char *kwnames[] = {
2328 (char *) "self",(char *) "n",(char *) "s", NULL
2329 };
2330
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2333 {
2334 arg3 = wxString_in_helper(obj2);
2335 if (arg3 == NULL) SWIG_fail;
2336 temp3 = True;
2337 }
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 (arg1)->SetString(arg2,(wxString const &)*arg3);
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 Py_INCREF(Py_None); resultobj = Py_None;
2346 {
2347 if (temp3)
2348 delete arg3;
2349 }
2350 return resultobj;
2351 fail:
2352 {
2353 if (temp3)
2354 delete arg3;
2355 }
2356 return NULL;
2357 }
2358
2359
2360 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2361 PyObject *obj;
2362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2363 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2364 Py_INCREF(obj);
2365 return Py_BuildValue((char *)"");
2366 }
2367 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2368 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2369 return 1;
2370 }
2371
2372
2373 static PyObject *_wrap_ComboBoxNameStr_get() {
2374 PyObject *pyobj;
2375
2376 {
2377 #if wxUSE_UNICODE
2378 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2379 #else
2380 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2381 #endif
2382 }
2383 return pyobj;
2384 }
2385
2386
2387 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject *resultobj;
2389 wxWindow *arg1 = (wxWindow *) 0 ;
2390 int arg2 ;
2391 wxString const &arg3_defvalue = wxPyEmptyString ;
2392 wxString *arg3 = (wxString *) &arg3_defvalue ;
2393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2395 wxSize const &arg5_defvalue = wxDefaultSize ;
2396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2397 int arg6 = (int) 0 ;
2398 wxString *arg7 = (wxString *) NULL ;
2399 long arg8 = (long) 0 ;
2400 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2401 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2402 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2403 wxString *arg10 = (wxString *) &arg10_defvalue ;
2404 wxComboBox *result;
2405 bool temp3 = False ;
2406 wxPoint temp4 ;
2407 wxSize temp5 ;
2408 bool temp9 = False ;
2409 PyObject * obj0 = 0 ;
2410 PyObject * obj2 = 0 ;
2411 PyObject * obj3 = 0 ;
2412 PyObject * obj4 = 0 ;
2413 PyObject * obj5 = 0 ;
2414 PyObject * obj7 = 0 ;
2415 PyObject * obj8 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 if (obj2) {
2423 {
2424 arg3 = wxString_in_helper(obj2);
2425 if (arg3 == NULL) SWIG_fail;
2426 temp3 = True;
2427 }
2428 }
2429 if (obj3) {
2430 {
2431 arg4 = &temp4;
2432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2433 }
2434 }
2435 if (obj4) {
2436 {
2437 arg5 = &temp5;
2438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2439 }
2440 }
2441 if (obj5) {
2442 {
2443 arg6 = PyList_Size(obj5);
2444 arg7 = wxString_LIST_helper(obj5);
2445 if (arg7 == NULL) SWIG_fail;
2446 }
2447 }
2448 if (obj7) {
2449 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2450 if (arg9 == NULL) {
2451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2452 }
2453 }
2454 if (obj8) {
2455 {
2456 arg10 = wxString_in_helper(obj8);
2457 if (arg10 == NULL) SWIG_fail;
2458 temp9 = True;
2459 }
2460 }
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2469 {
2470 if (temp3)
2471 delete arg3;
2472 }
2473 {
2474 if (arg7) delete [] arg7;
2475 }
2476 {
2477 if (temp9)
2478 delete arg10;
2479 }
2480 return resultobj;
2481 fail:
2482 {
2483 if (temp3)
2484 delete arg3;
2485 }
2486 {
2487 if (arg7) delete [] arg7;
2488 }
2489 {
2490 if (temp9)
2491 delete arg10;
2492 }
2493 return NULL;
2494 }
2495
2496
2497 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2498 PyObject *resultobj;
2499 wxComboBox *result;
2500 char *kwnames[] = {
2501 NULL
2502 };
2503
2504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2505 {
2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
2507 result = (wxComboBox *)new wxComboBox();
2508
2509 wxPyEndAllowThreads(__tstate);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2513 return resultobj;
2514 fail:
2515 return NULL;
2516 }
2517
2518
2519 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2520 PyObject *resultobj;
2521 wxComboBox *arg1 = (wxComboBox *) 0 ;
2522 wxWindow *arg2 = (wxWindow *) 0 ;
2523 int arg3 ;
2524 wxString const &arg4_defvalue = wxPyEmptyString ;
2525 wxString *arg4 = (wxString *) &arg4_defvalue ;
2526 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2527 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2528 wxSize const &arg6_defvalue = wxDefaultSize ;
2529 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2530 int arg7 = (int) 0 ;
2531 wxString *arg8 = (wxString *) NULL ;
2532 long arg9 = (long) 0 ;
2533 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2534 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2535 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2536 wxString *arg11 = (wxString *) &arg11_defvalue ;
2537 bool result;
2538 bool temp4 = False ;
2539 wxPoint temp5 ;
2540 wxSize temp6 ;
2541 bool temp10 = False ;
2542 PyObject * obj0 = 0 ;
2543 PyObject * obj1 = 0 ;
2544 PyObject * obj3 = 0 ;
2545 PyObject * obj4 = 0 ;
2546 PyObject * obj5 = 0 ;
2547 PyObject * obj6 = 0 ;
2548 PyObject * obj8 = 0 ;
2549 PyObject * obj9 = 0 ;
2550 char *kwnames[] = {
2551 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2557 if (obj3) {
2558 {
2559 arg4 = wxString_in_helper(obj3);
2560 if (arg4 == NULL) SWIG_fail;
2561 temp4 = True;
2562 }
2563 }
2564 if (obj4) {
2565 {
2566 arg5 = &temp5;
2567 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2568 }
2569 }
2570 if (obj5) {
2571 {
2572 arg6 = &temp6;
2573 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2574 }
2575 }
2576 if (obj6) {
2577 {
2578 arg7 = PyList_Size(obj6);
2579 arg8 = wxString_LIST_helper(obj6);
2580 if (arg8 == NULL) SWIG_fail;
2581 }
2582 }
2583 if (obj8) {
2584 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2585 if (arg10 == NULL) {
2586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2587 }
2588 }
2589 if (obj9) {
2590 {
2591 arg11 = wxString_in_helper(obj9);
2592 if (arg11 == NULL) SWIG_fail;
2593 temp10 = True;
2594 }
2595 }
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 resultobj = PyInt_FromLong((long)result);
2604 {
2605 if (temp4)
2606 delete arg4;
2607 }
2608 {
2609 if (arg8) delete [] arg8;
2610 }
2611 {
2612 if (temp10)
2613 delete arg11;
2614 }
2615 return resultobj;
2616 fail:
2617 {
2618 if (temp4)
2619 delete arg4;
2620 }
2621 {
2622 if (arg8) delete [] arg8;
2623 }
2624 {
2625 if (temp10)
2626 delete arg11;
2627 }
2628 return NULL;
2629 }
2630
2631
2632 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject *resultobj;
2634 wxComboBox *arg1 = (wxComboBox *) 0 ;
2635 wxString result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2643 {
2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
2645 result = ((wxComboBox const *)arg1)->GetValue();
2646
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
2650 {
2651 #if wxUSE_UNICODE
2652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2653 #else
2654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2655 #endif
2656 }
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxComboBox *arg1 = (wxComboBox *) 0 ;
2666 wxString *arg2 = 0 ;
2667 bool temp2 = False ;
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "value", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2676 {
2677 arg2 = wxString_in_helper(obj1);
2678 if (arg2 == NULL) SWIG_fail;
2679 temp2 = True;
2680 }
2681 {
2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
2683 (arg1)->SetValue((wxString const &)*arg2);
2684
2685 wxPyEndAllowThreads(__tstate);
2686 if (PyErr_Occurred()) SWIG_fail;
2687 }
2688 Py_INCREF(Py_None); resultobj = Py_None;
2689 {
2690 if (temp2)
2691 delete arg2;
2692 }
2693 return resultobj;
2694 fail:
2695 {
2696 if (temp2)
2697 delete arg2;
2698 }
2699 return NULL;
2700 }
2701
2702
2703 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2704 PyObject *resultobj;
2705 wxComboBox *arg1 = (wxComboBox *) 0 ;
2706 PyObject * obj0 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self", NULL
2709 };
2710
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 (arg1)->Copy();
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 }
2720 Py_INCREF(Py_None); resultobj = Py_None;
2721 return resultobj;
2722 fail:
2723 return NULL;
2724 }
2725
2726
2727 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxComboBox *arg1 = (wxComboBox *) 0 ;
2730 PyObject * obj0 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 (arg1)->Cut();
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 Py_INCREF(Py_None); resultobj = Py_None;
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxComboBox *arg1 = (wxComboBox *) 0 ;
2754 PyObject * obj0 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "self", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2761 {
2762 PyThreadState* __tstate = wxPyBeginAllowThreads();
2763 (arg1)->Paste();
2764
2765 wxPyEndAllowThreads(__tstate);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 }
2768 Py_INCREF(Py_None); resultobj = Py_None;
2769 return resultobj;
2770 fail:
2771 return NULL;
2772 }
2773
2774
2775 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2776 PyObject *resultobj;
2777 wxComboBox *arg1 = (wxComboBox *) 0 ;
2778 long arg2 ;
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "pos", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 (arg1)->SetInsertionPoint(arg2);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 Py_INCREF(Py_None); resultobj = Py_None;
2794 return resultobj;
2795 fail:
2796 return NULL;
2797 }
2798
2799
2800 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxComboBox *arg1 = (wxComboBox *) 0 ;
2803 long result;
2804 PyObject * obj0 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2811 {
2812 PyThreadState* __tstate = wxPyBeginAllowThreads();
2813 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2814
2815 wxPyEndAllowThreads(__tstate);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 resultobj = PyInt_FromLong((long)result);
2819 return resultobj;
2820 fail:
2821 return NULL;
2822 }
2823
2824
2825 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject *resultobj;
2827 wxComboBox *arg1 = (wxComboBox *) 0 ;
2828 long result;
2829 PyObject * obj0 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2836 {
2837 PyThreadState* __tstate = wxPyBeginAllowThreads();
2838 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2839
2840 wxPyEndAllowThreads(__tstate);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 resultobj = PyInt_FromLong((long)result);
2844 return resultobj;
2845 fail:
2846 return NULL;
2847 }
2848
2849
2850 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject *resultobj;
2852 wxComboBox *arg1 = (wxComboBox *) 0 ;
2853 long arg2 ;
2854 long arg3 ;
2855 wxString *arg4 = 0 ;
2856 bool temp4 = False ;
2857 PyObject * obj0 = 0 ;
2858 PyObject * obj3 = 0 ;
2859 char *kwnames[] = {
2860 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2861 };
2862
2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2865 {
2866 arg4 = wxString_in_helper(obj3);
2867 if (arg4 == NULL) SWIG_fail;
2868 temp4 = True;
2869 }
2870 {
2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
2872 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2873
2874 wxPyEndAllowThreads(__tstate);
2875 if (PyErr_Occurred()) SWIG_fail;
2876 }
2877 Py_INCREF(Py_None); resultobj = Py_None;
2878 {
2879 if (temp4)
2880 delete arg4;
2881 }
2882 return resultobj;
2883 fail:
2884 {
2885 if (temp4)
2886 delete arg4;
2887 }
2888 return NULL;
2889 }
2890
2891
2892 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2893 PyObject *resultobj;
2894 wxComboBox *arg1 = (wxComboBox *) 0 ;
2895 int arg2 ;
2896 PyObject * obj0 = 0 ;
2897 char *kwnames[] = {
2898 (char *) "self",(char *) "n", NULL
2899 };
2900
2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2903 {
2904 PyThreadState* __tstate = wxPyBeginAllowThreads();
2905 (arg1)->SetSelection(arg2);
2906
2907 wxPyEndAllowThreads(__tstate);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 }
2910 Py_INCREF(Py_None); resultobj = Py_None;
2911 return resultobj;
2912 fail:
2913 return NULL;
2914 }
2915
2916
2917 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2918 PyObject *resultobj;
2919 wxComboBox *arg1 = (wxComboBox *) 0 ;
2920 long arg2 ;
2921 long arg3 ;
2922 PyObject * obj0 = 0 ;
2923 char *kwnames[] = {
2924 (char *) "self",(char *) "from",(char *) "to", NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2929 {
2930 PyThreadState* __tstate = wxPyBeginAllowThreads();
2931 (arg1)->SetSelection(arg2,arg3);
2932
2933 wxPyEndAllowThreads(__tstate);
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 Py_INCREF(Py_None); resultobj = Py_None;
2937 return resultobj;
2938 fail:
2939 return NULL;
2940 }
2941
2942
2943 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2944 PyObject *resultobj;
2945 wxComboBox *arg1 = (wxComboBox *) 0 ;
2946 bool arg2 ;
2947 PyObject * obj0 = 0 ;
2948 PyObject * obj1 = 0 ;
2949 char *kwnames[] = {
2950 (char *) "self",(char *) "editable", NULL
2951 };
2952
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2955 arg2 = PyInt_AsLong(obj1) ? true : false;
2956 if (PyErr_Occurred()) SWIG_fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 (arg1)->SetEditable(arg2);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 Py_INCREF(Py_None); resultobj = Py_None;
2965 return resultobj;
2966 fail:
2967 return NULL;
2968 }
2969
2970
2971 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxComboBox *arg1 = (wxComboBox *) 0 ;
2974 PyObject * obj0 = 0 ;
2975 char *kwnames[] = {
2976 (char *) "self", NULL
2977 };
2978
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 (arg1)->SetInsertionPointEnd();
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 Py_INCREF(Py_None); resultobj = Py_None;
2989 return resultobj;
2990 fail:
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxComboBox *arg1 = (wxComboBox *) 0 ;
2998 long arg2 ;
2999 long arg3 ;
3000 PyObject * obj0 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self",(char *) "from",(char *) "to", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3007 {
3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
3009 (arg1)->Remove(arg2,arg3);
3010
3011 wxPyEndAllowThreads(__tstate);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 Py_INCREF(Py_None); resultobj = Py_None;
3015 return resultobj;
3016 fail:
3017 return NULL;
3018 }
3019
3020
3021 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3022 PyObject *obj;
3023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3024 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3025 Py_INCREF(obj);
3026 return Py_BuildValue((char *)"");
3027 }
3028 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3029 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3030 return 1;
3031 }
3032
3033
3034 static PyObject *_wrap_GaugeNameStr_get() {
3035 PyObject *pyobj;
3036
3037 {
3038 #if wxUSE_UNICODE
3039 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3040 #else
3041 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3042 #endif
3043 }
3044 return pyobj;
3045 }
3046
3047
3048 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3049 PyObject *resultobj;
3050 wxWindow *arg1 = (wxWindow *) 0 ;
3051 int arg2 ;
3052 int arg3 ;
3053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3055 wxSize const &arg5_defvalue = wxDefaultSize ;
3056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3057 long arg6 = (long) wxGA_HORIZONTAL ;
3058 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3059 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3060 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3061 wxString *arg8 = (wxString *) &arg8_defvalue ;
3062 wxGauge *result;
3063 wxPoint temp4 ;
3064 wxSize temp5 ;
3065 bool temp8 = False ;
3066 PyObject * obj0 = 0 ;
3067 PyObject * obj3 = 0 ;
3068 PyObject * obj4 = 0 ;
3069 PyObject * obj6 = 0 ;
3070 PyObject * obj7 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 if (obj3) {
3078 {
3079 arg4 = &temp4;
3080 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3081 }
3082 }
3083 if (obj4) {
3084 {
3085 arg5 = &temp5;
3086 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3087 }
3088 }
3089 if (obj6) {
3090 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 if (arg7 == NULL) {
3092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3093 }
3094 }
3095 if (obj7) {
3096 {
3097 arg8 = wxString_in_helper(obj7);
3098 if (arg8 == NULL) SWIG_fail;
3099 temp8 = True;
3100 }
3101 }
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3110 {
3111 if (temp8)
3112 delete arg8;
3113 }
3114 return resultobj;
3115 fail:
3116 {
3117 if (temp8)
3118 delete arg8;
3119 }
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxGauge *result;
3127 char *kwnames[] = {
3128 NULL
3129 };
3130
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 result = (wxGauge *)new wxGauge();
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxGauge *arg1 = (wxGauge *) 0 ;
3149 wxWindow *arg2 = (wxWindow *) 0 ;
3150 int arg3 ;
3151 int arg4 ;
3152 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3153 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3154 wxSize const &arg6_defvalue = wxDefaultSize ;
3155 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3156 long arg7 = (long) wxGA_HORIZONTAL ;
3157 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3158 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3159 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3160 wxString *arg9 = (wxString *) &arg9_defvalue ;
3161 bool result;
3162 wxPoint temp5 ;
3163 wxSize temp6 ;
3164 bool temp9 = False ;
3165 PyObject * obj0 = 0 ;
3166 PyObject * obj1 = 0 ;
3167 PyObject * obj4 = 0 ;
3168 PyObject * obj5 = 0 ;
3169 PyObject * obj7 = 0 ;
3170 PyObject * obj8 = 0 ;
3171 char *kwnames[] = {
3172 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3173 };
3174
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3178 if (obj4) {
3179 {
3180 arg5 = &temp5;
3181 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3182 }
3183 }
3184 if (obj5) {
3185 {
3186 arg6 = &temp6;
3187 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3188 }
3189 }
3190 if (obj7) {
3191 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3192 if (arg8 == NULL) {
3193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3194 }
3195 }
3196 if (obj8) {
3197 {
3198 arg9 = wxString_in_helper(obj8);
3199 if (arg9 == NULL) SWIG_fail;
3200 temp9 = True;
3201 }
3202 }
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 resultobj = PyInt_FromLong((long)result);
3211 {
3212 if (temp9)
3213 delete arg9;
3214 }
3215 return resultobj;
3216 fail:
3217 {
3218 if (temp9)
3219 delete arg9;
3220 }
3221 return NULL;
3222 }
3223
3224
3225 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3226 PyObject *resultobj;
3227 wxGauge *arg1 = (wxGauge *) 0 ;
3228 int arg2 ;
3229 PyObject * obj0 = 0 ;
3230 char *kwnames[] = {
3231 (char *) "self",(char *) "range", NULL
3232 };
3233
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 (arg1)->SetRange(arg2);
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 Py_INCREF(Py_None); resultobj = Py_None;
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxGauge *arg1 = (wxGauge *) 0 ;
3253 int result;
3254 PyObject * obj0 = 0 ;
3255 char *kwnames[] = {
3256 (char *) "self", NULL
3257 };
3258
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (int)((wxGauge const *)arg1)->GetRange();
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 resultobj = PyInt_FromLong((long)result);
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxGauge *arg1 = (wxGauge *) 0 ;
3278 int arg2 ;
3279 PyObject * obj0 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self",(char *) "pos", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 (arg1)->SetValue(arg2);
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 Py_INCREF(Py_None); resultobj = Py_None;
3294 return resultobj;
3295 fail:
3296 return NULL;
3297 }
3298
3299
3300 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3301 PyObject *resultobj;
3302 wxGauge *arg1 = (wxGauge *) 0 ;
3303 int result;
3304 PyObject * obj0 = 0 ;
3305 char *kwnames[] = {
3306 (char *) "self", NULL
3307 };
3308
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 result = (int)((wxGauge const *)arg1)->GetValue();
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 resultobj = PyInt_FromLong((long)result);
3319 return resultobj;
3320 fail:
3321 return NULL;
3322 }
3323
3324
3325 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject *resultobj;
3327 wxGauge *arg1 = (wxGauge *) 0 ;
3328 bool result;
3329 PyObject * obj0 = 0 ;
3330 char *kwnames[] = {
3331 (char *) "self", NULL
3332 };
3333
3334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 result = (bool)((wxGauge const *)arg1)->IsVertical();
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 resultobj = PyInt_FromLong((long)result);
3344 return resultobj;
3345 fail:
3346 return NULL;
3347 }
3348
3349
3350 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxGauge *arg1 = (wxGauge *) 0 ;
3353 int arg2 ;
3354 PyObject * obj0 = 0 ;
3355 char *kwnames[] = {
3356 (char *) "self",(char *) "w", NULL
3357 };
3358
3359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 (arg1)->SetShadowWidth(arg2);
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 Py_INCREF(Py_None); resultobj = Py_None;
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxGauge *arg1 = (wxGauge *) 0 ;
3378 int result;
3379 PyObject * obj0 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 resultobj = PyInt_FromLong((long)result);
3394 return resultobj;
3395 fail:
3396 return NULL;
3397 }
3398
3399
3400 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3401 PyObject *resultobj;
3402 wxGauge *arg1 = (wxGauge *) 0 ;
3403 int arg2 ;
3404 PyObject * obj0 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self",(char *) "w", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 (arg1)->SetBezelFace(arg2);
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 Py_INCREF(Py_None); resultobj = Py_None;
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxGauge *arg1 = (wxGauge *) 0 ;
3428 int result;
3429 PyObject * obj0 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 resultobj = PyInt_FromLong((long)result);
3444 return resultobj;
3445 fail:
3446 return NULL;
3447 }
3448
3449
3450 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3451 PyObject *obj;
3452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3453 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3454 Py_INCREF(obj);
3455 return Py_BuildValue((char *)"");
3456 }
3457 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3458 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3459 return 1;
3460 }
3461
3462
3463 static PyObject *_wrap_StaticBitmapNameStr_get() {
3464 PyObject *pyobj;
3465
3466 {
3467 #if wxUSE_UNICODE
3468 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3469 #else
3470 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3471 #endif
3472 }
3473 return pyobj;
3474 }
3475
3476
3477 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3478 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3479 return 1;
3480 }
3481
3482
3483 static PyObject *_wrap_StaticBoxNameStr_get() {
3484 PyObject *pyobj;
3485
3486 {
3487 #if wxUSE_UNICODE
3488 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3489 #else
3490 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3491 #endif
3492 }
3493 return pyobj;
3494 }
3495
3496
3497 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3498 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3499 return 1;
3500 }
3501
3502
3503 static PyObject *_wrap_StaticTextNameStr_get() {
3504 PyObject *pyobj;
3505
3506 {
3507 #if wxUSE_UNICODE
3508 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3509 #else
3510 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3511 #endif
3512 }
3513 return pyobj;
3514 }
3515
3516
3517 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject *resultobj;
3519 wxWindow *arg1 = (wxWindow *) 0 ;
3520 int arg2 ;
3521 wxString *arg3 = 0 ;
3522 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3523 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3524 wxSize const &arg5_defvalue = wxDefaultSize ;
3525 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3526 long arg6 = (long) 0 ;
3527 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3528 wxString *arg7 = (wxString *) &arg7_defvalue ;
3529 wxStaticBox *result;
3530 bool temp3 = False ;
3531 wxPoint temp4 ;
3532 wxSize temp5 ;
3533 bool temp7 = False ;
3534 PyObject * obj0 = 0 ;
3535 PyObject * obj2 = 0 ;
3536 PyObject * obj3 = 0 ;
3537 PyObject * obj4 = 0 ;
3538 PyObject * obj6 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3545 {
3546 arg3 = wxString_in_helper(obj2);
3547 if (arg3 == NULL) SWIG_fail;
3548 temp3 = True;
3549 }
3550 if (obj3) {
3551 {
3552 arg4 = &temp4;
3553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3554 }
3555 }
3556 if (obj4) {
3557 {
3558 arg5 = &temp5;
3559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3560 }
3561 }
3562 if (obj6) {
3563 {
3564 arg7 = wxString_in_helper(obj6);
3565 if (arg7 == NULL) SWIG_fail;
3566 temp7 = True;
3567 }
3568 }
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 {
3577 resultobj = wxPyMake_wxObject(result);
3578 }
3579 {
3580 if (temp3)
3581 delete arg3;
3582 }
3583 {
3584 if (temp7)
3585 delete arg7;
3586 }
3587 return resultobj;
3588 fail:
3589 {
3590 if (temp3)
3591 delete arg3;
3592 }
3593 {
3594 if (temp7)
3595 delete arg7;
3596 }
3597 return NULL;
3598 }
3599
3600
3601 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3602 PyObject *resultobj;
3603 wxStaticBox *result;
3604 char *kwnames[] = {
3605 NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (wxStaticBox *)new wxStaticBox();
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 {
3617 resultobj = wxPyMake_wxObject(result);
3618 }
3619 return resultobj;
3620 fail:
3621 return NULL;
3622 }
3623
3624
3625 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3626 PyObject *resultobj;
3627 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3628 wxWindow *arg2 = (wxWindow *) 0 ;
3629 int arg3 ;
3630 wxString *arg4 = 0 ;
3631 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3632 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3633 wxSize const &arg6_defvalue = wxDefaultSize ;
3634 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3635 long arg7 = (long) 0 ;
3636 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3637 wxString *arg8 = (wxString *) &arg8_defvalue ;
3638 bool result;
3639 bool temp4 = False ;
3640 wxPoint temp5 ;
3641 wxSize temp6 ;
3642 bool temp8 = False ;
3643 PyObject * obj0 = 0 ;
3644 PyObject * obj1 = 0 ;
3645 PyObject * obj3 = 0 ;
3646 PyObject * obj4 = 0 ;
3647 PyObject * obj5 = 0 ;
3648 PyObject * obj7 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3656 {
3657 arg4 = wxString_in_helper(obj3);
3658 if (arg4 == NULL) SWIG_fail;
3659 temp4 = True;
3660 }
3661 if (obj4) {
3662 {
3663 arg5 = &temp5;
3664 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3665 }
3666 }
3667 if (obj5) {
3668 {
3669 arg6 = &temp6;
3670 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3671 }
3672 }
3673 if (obj7) {
3674 {
3675 arg8 = wxString_in_helper(obj7);
3676 if (arg8 == NULL) SWIG_fail;
3677 temp8 = True;
3678 }
3679 }
3680 {
3681 PyThreadState* __tstate = wxPyBeginAllowThreads();
3682 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3683
3684 wxPyEndAllowThreads(__tstate);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 resultobj = PyInt_FromLong((long)result);
3688 {
3689 if (temp4)
3690 delete arg4;
3691 }
3692 {
3693 if (temp8)
3694 delete arg8;
3695 }
3696 return resultobj;
3697 fail:
3698 {
3699 if (temp4)
3700 delete arg4;
3701 }
3702 {
3703 if (temp8)
3704 delete arg8;
3705 }
3706 return NULL;
3707 }
3708
3709
3710 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3711 PyObject *obj;
3712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3713 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3714 Py_INCREF(obj);
3715 return Py_BuildValue((char *)"");
3716 }
3717 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3718 PyObject *resultobj;
3719 wxWindow *arg1 = (wxWindow *) 0 ;
3720 int arg2 ;
3721 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3722 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3723 wxSize const &arg4_defvalue = wxDefaultSize ;
3724 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3725 long arg5 = (long) wxLI_HORIZONTAL ;
3726 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3727 wxString *arg6 = (wxString *) &arg6_defvalue ;
3728 wxStaticLine *result;
3729 wxPoint temp3 ;
3730 wxSize temp4 ;
3731 bool temp6 = False ;
3732 PyObject * obj0 = 0 ;
3733 PyObject * obj2 = 0 ;
3734 PyObject * obj3 = 0 ;
3735 PyObject * obj5 = 0 ;
3736 char *kwnames[] = {
3737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3738 };
3739
3740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3742 if (obj2) {
3743 {
3744 arg3 = &temp3;
3745 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3746 }
3747 }
3748 if (obj3) {
3749 {
3750 arg4 = &temp4;
3751 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3752 }
3753 }
3754 if (obj5) {
3755 {
3756 arg6 = wxString_in_helper(obj5);
3757 if (arg6 == NULL) SWIG_fail;
3758 temp6 = True;
3759 }
3760 }
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3764
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3769 {
3770 if (temp6)
3771 delete arg6;
3772 }
3773 return resultobj;
3774 fail:
3775 {
3776 if (temp6)
3777 delete arg6;
3778 }
3779 return NULL;
3780 }
3781
3782
3783 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3784 PyObject *resultobj;
3785 wxStaticLine *result;
3786 char *kwnames[] = {
3787 NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 result = (wxStaticLine *)new wxStaticLine();
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3799 return resultobj;
3800 fail:
3801 return NULL;
3802 }
3803
3804
3805 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3806 PyObject *resultobj;
3807 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3808 wxWindow *arg2 = (wxWindow *) 0 ;
3809 int arg3 ;
3810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3812 wxSize const &arg5_defvalue = wxDefaultSize ;
3813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3814 long arg6 = (long) wxLI_HORIZONTAL ;
3815 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3816 wxString *arg7 = (wxString *) &arg7_defvalue ;
3817 bool result;
3818 wxPoint temp4 ;
3819 wxSize temp5 ;
3820 bool temp7 = False ;
3821 PyObject * obj0 = 0 ;
3822 PyObject * obj1 = 0 ;
3823 PyObject * obj3 = 0 ;
3824 PyObject * obj4 = 0 ;
3825 PyObject * obj6 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3833 if (obj3) {
3834 {
3835 arg4 = &temp4;
3836 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3837 }
3838 }
3839 if (obj4) {
3840 {
3841 arg5 = &temp5;
3842 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3843 }
3844 }
3845 if (obj6) {
3846 {
3847 arg7 = wxString_in_helper(obj6);
3848 if (arg7 == NULL) SWIG_fail;
3849 temp7 = True;
3850 }
3851 }
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 resultobj = PyInt_FromLong((long)result);
3860 {
3861 if (temp7)
3862 delete arg7;
3863 }
3864 return resultobj;
3865 fail:
3866 {
3867 if (temp7)
3868 delete arg7;
3869 }
3870 return NULL;
3871 }
3872
3873
3874 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject *resultobj;
3876 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3877 bool result;
3878 PyObject * obj0 = 0 ;
3879 char *kwnames[] = {
3880 (char *) "self", NULL
3881 };
3882
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 resultobj = PyInt_FromLong((long)result);
3893 return resultobj;
3894 fail:
3895 return NULL;
3896 }
3897
3898
3899 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3900 PyObject *resultobj;
3901 int result;
3902 char *kwnames[] = {
3903 NULL
3904 };
3905
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (int)wxStaticLine::GetDefaultSize();
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 resultobj = PyInt_FromLong((long)result);
3915 return resultobj;
3916 fail:
3917 return NULL;
3918 }
3919
3920
3921 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3922 PyObject *obj;
3923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3924 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3925 Py_INCREF(obj);
3926 return Py_BuildValue((char *)"");
3927 }
3928 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject *resultobj;
3930 wxWindow *arg1 = (wxWindow *) 0 ;
3931 int arg2 ;
3932 wxString *arg3 = 0 ;
3933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3935 wxSize const &arg5_defvalue = wxDefaultSize ;
3936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3937 long arg6 = (long) 0 ;
3938 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3939 wxString *arg7 = (wxString *) &arg7_defvalue ;
3940 wxStaticText *result;
3941 bool temp3 = False ;
3942 wxPoint temp4 ;
3943 wxSize temp5 ;
3944 bool temp7 = False ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj2 = 0 ;
3947 PyObject * obj3 = 0 ;
3948 PyObject * obj4 = 0 ;
3949 PyObject * obj6 = 0 ;
3950 char *kwnames[] = {
3951 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3952 };
3953
3954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3956 {
3957 arg3 = wxString_in_helper(obj2);
3958 if (arg3 == NULL) SWIG_fail;
3959 temp3 = True;
3960 }
3961 if (obj3) {
3962 {
3963 arg4 = &temp4;
3964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3965 }
3966 }
3967 if (obj4) {
3968 {
3969 arg5 = &temp5;
3970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3971 }
3972 }
3973 if (obj6) {
3974 {
3975 arg7 = wxString_in_helper(obj6);
3976 if (arg7 == NULL) SWIG_fail;
3977 temp7 = True;
3978 }
3979 }
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3988 {
3989 if (temp3)
3990 delete arg3;
3991 }
3992 {
3993 if (temp7)
3994 delete arg7;
3995 }
3996 return resultobj;
3997 fail:
3998 {
3999 if (temp3)
4000 delete arg3;
4001 }
4002 {
4003 if (temp7)
4004 delete arg7;
4005 }
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxStaticText *result;
4013 char *kwnames[] = {
4014 NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (wxStaticText *)new wxStaticText();
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4026 return resultobj;
4027 fail:
4028 return NULL;
4029 }
4030
4031
4032 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj;
4034 wxStaticText *arg1 = (wxStaticText *) 0 ;
4035 wxWindow *arg2 = (wxWindow *) 0 ;
4036 int arg3 ;
4037 wxString *arg4 = 0 ;
4038 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4039 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4040 wxSize const &arg6_defvalue = wxDefaultSize ;
4041 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4042 long arg7 = (long) 0 ;
4043 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4044 wxString *arg8 = (wxString *) &arg8_defvalue ;
4045 bool result;
4046 bool temp4 = False ;
4047 wxPoint temp5 ;
4048 wxSize temp6 ;
4049 bool temp8 = False ;
4050 PyObject * obj0 = 0 ;
4051 PyObject * obj1 = 0 ;
4052 PyObject * obj3 = 0 ;
4053 PyObject * obj4 = 0 ;
4054 PyObject * obj5 = 0 ;
4055 PyObject * obj7 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4063 {
4064 arg4 = wxString_in_helper(obj3);
4065 if (arg4 == NULL) SWIG_fail;
4066 temp4 = True;
4067 }
4068 if (obj4) {
4069 {
4070 arg5 = &temp5;
4071 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4072 }
4073 }
4074 if (obj5) {
4075 {
4076 arg6 = &temp6;
4077 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4078 }
4079 }
4080 if (obj7) {
4081 {
4082 arg8 = wxString_in_helper(obj7);
4083 if (arg8 == NULL) SWIG_fail;
4084 temp8 = True;
4085 }
4086 }
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = PyInt_FromLong((long)result);
4095 {
4096 if (temp4)
4097 delete arg4;
4098 }
4099 {
4100 if (temp8)
4101 delete arg8;
4102 }
4103 return resultobj;
4104 fail:
4105 {
4106 if (temp4)
4107 delete arg4;
4108 }
4109 {
4110 if (temp8)
4111 delete arg8;
4112 }
4113 return NULL;
4114 }
4115
4116
4117 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4118 PyObject *obj;
4119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4120 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4121 Py_INCREF(obj);
4122 return Py_BuildValue((char *)"");
4123 }
4124 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4125 PyObject *resultobj;
4126 wxWindow *arg1 = (wxWindow *) 0 ;
4127 int arg2 ;
4128 wxBitmap *arg3 = 0 ;
4129 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4130 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4131 wxSize const &arg5_defvalue = wxDefaultSize ;
4132 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4133 long arg6 = (long) 0 ;
4134 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4135 wxString *arg7 = (wxString *) &arg7_defvalue ;
4136 wxStaticBitmap *result;
4137 wxPoint temp4 ;
4138 wxSize temp5 ;
4139 bool temp7 = False ;
4140 PyObject * obj0 = 0 ;
4141 PyObject * obj2 = 0 ;
4142 PyObject * obj3 = 0 ;
4143 PyObject * obj4 = 0 ;
4144 PyObject * obj6 = 0 ;
4145 char *kwnames[] = {
4146 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4151 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4152 if (arg3 == NULL) {
4153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4154 }
4155 if (obj3) {
4156 {
4157 arg4 = &temp4;
4158 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4159 }
4160 }
4161 if (obj4) {
4162 {
4163 arg5 = &temp5;
4164 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4165 }
4166 }
4167 if (obj6) {
4168 {
4169 arg7 = wxString_in_helper(obj6);
4170 if (arg7 == NULL) SWIG_fail;
4171 temp7 = True;
4172 }
4173 }
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4182 {
4183 if (temp7)
4184 delete arg7;
4185 }
4186 return resultobj;
4187 fail:
4188 {
4189 if (temp7)
4190 delete arg7;
4191 }
4192 return NULL;
4193 }
4194
4195
4196 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxStaticBitmap *result;
4199 char *kwnames[] = {
4200 NULL
4201 };
4202
4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 result = (wxStaticBitmap *)new wxStaticBitmap();
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4212 return resultobj;
4213 fail:
4214 return NULL;
4215 }
4216
4217
4218 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4221 wxWindow *arg2 = (wxWindow *) 0 ;
4222 int arg3 ;
4223 wxBitmap *arg4 = 0 ;
4224 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4225 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4226 wxSize const &arg6_defvalue = wxDefaultSize ;
4227 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4228 long arg7 = (long) 0 ;
4229 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4230 wxString *arg8 = (wxString *) &arg8_defvalue ;
4231 bool result;
4232 wxPoint temp5 ;
4233 wxSize temp6 ;
4234 bool temp8 = False ;
4235 PyObject * obj0 = 0 ;
4236 PyObject * obj1 = 0 ;
4237 PyObject * obj3 = 0 ;
4238 PyObject * obj4 = 0 ;
4239 PyObject * obj5 = 0 ;
4240 PyObject * obj7 = 0 ;
4241 char *kwnames[] = {
4242 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4248 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4249 if (arg4 == NULL) {
4250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4251 }
4252 if (obj4) {
4253 {
4254 arg5 = &temp5;
4255 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4256 }
4257 }
4258 if (obj5) {
4259 {
4260 arg6 = &temp6;
4261 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4262 }
4263 }
4264 if (obj7) {
4265 {
4266 arg8 = wxString_in_helper(obj7);
4267 if (arg8 == NULL) SWIG_fail;
4268 temp8 = True;
4269 }
4270 }
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 resultobj = PyInt_FromLong((long)result);
4279 {
4280 if (temp8)
4281 delete arg8;
4282 }
4283 return resultobj;
4284 fail:
4285 {
4286 if (temp8)
4287 delete arg8;
4288 }
4289 return NULL;
4290 }
4291
4292
4293 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject *resultobj;
4295 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4296 wxBitmap result;
4297 PyObject * obj0 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "self", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (arg1)->GetBitmap();
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 {
4312 wxBitmap * resultptr;
4313 resultptr = new wxBitmap((wxBitmap &) result);
4314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4315 }
4316 return resultobj;
4317 fail:
4318 return NULL;
4319 }
4320
4321
4322 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj;
4324 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4325 wxBitmap *arg2 = 0 ;
4326 PyObject * obj0 = 0 ;
4327 PyObject * obj1 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self",(char *) "bitmap", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4335 if (arg2 == NULL) {
4336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4337 }
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 Py_INCREF(Py_None); resultobj = Py_None;
4346 return resultobj;
4347 fail:
4348 return NULL;
4349 }
4350
4351
4352 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4353 PyObject *resultobj;
4354 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4355 wxIcon *arg2 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 char *kwnames[] = {
4359 (char *) "self",(char *) "icon", NULL
4360 };
4361
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4365 if (arg2 == NULL) {
4366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4367 }
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 (arg1)->SetIcon((wxIcon const &)*arg2);
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 Py_INCREF(Py_None); resultobj = Py_None;
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4383 PyObject *obj;
4384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4385 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4386 Py_INCREF(obj);
4387 return Py_BuildValue((char *)"");
4388 }
4389 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4390 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4391 return 1;
4392 }
4393
4394
4395 static PyObject *_wrap_ListBoxNameStr_get() {
4396 PyObject *pyobj;
4397
4398 {
4399 #if wxUSE_UNICODE
4400 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4401 #else
4402 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4403 #endif
4404 }
4405 return pyobj;
4406 }
4407
4408
4409 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxWindow *arg1 = (wxWindow *) 0 ;
4412 int arg2 ;
4413 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4414 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4415 wxSize const &arg4_defvalue = wxDefaultSize ;
4416 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4417 int arg5 = (int) 0 ;
4418 wxString *arg6 = (wxString *) NULL ;
4419 long arg7 = (long) 0 ;
4420 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4421 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4422 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4423 wxString *arg9 = (wxString *) &arg9_defvalue ;
4424 wxListBox *result;
4425 wxPoint temp3 ;
4426 wxSize temp4 ;
4427 bool temp8 = False ;
4428 PyObject * obj0 = 0 ;
4429 PyObject * obj2 = 0 ;
4430 PyObject * obj3 = 0 ;
4431 PyObject * obj4 = 0 ;
4432 PyObject * obj6 = 0 ;
4433 PyObject * obj7 = 0 ;
4434 char *kwnames[] = {
4435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4436 };
4437
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4440 if (obj2) {
4441 {
4442 arg3 = &temp3;
4443 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4444 }
4445 }
4446 if (obj3) {
4447 {
4448 arg4 = &temp4;
4449 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4450 }
4451 }
4452 if (obj4) {
4453 {
4454 arg5 = PyList_Size(obj4);
4455 arg6 = wxString_LIST_helper(obj4);
4456 if (arg6 == NULL) SWIG_fail;
4457 }
4458 }
4459 if (obj6) {
4460 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4461 if (arg8 == NULL) {
4462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4463 }
4464 }
4465 if (obj7) {
4466 {
4467 arg9 = wxString_in_helper(obj7);
4468 if (arg9 == NULL) SWIG_fail;
4469 temp8 = True;
4470 }
4471 }
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4480 {
4481 if (arg6) delete [] arg6;
4482 }
4483 {
4484 if (temp8)
4485 delete arg9;
4486 }
4487 return resultobj;
4488 fail:
4489 {
4490 if (arg6) delete [] arg6;
4491 }
4492 {
4493 if (temp8)
4494 delete arg9;
4495 }
4496 return NULL;
4497 }
4498
4499
4500 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4501 PyObject *resultobj;
4502 wxListBox *result;
4503 char *kwnames[] = {
4504 NULL
4505 };
4506
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 result = (wxListBox *)new wxListBox();
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4516 return resultobj;
4517 fail:
4518 return NULL;
4519 }
4520
4521
4522 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxListBox *arg1 = (wxListBox *) 0 ;
4525 wxWindow *arg2 = (wxWindow *) 0 ;
4526 int arg3 ;
4527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4529 wxSize const &arg5_defvalue = wxDefaultSize ;
4530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4531 int arg6 = (int) 0 ;
4532 wxString *arg7 = (wxString *) NULL ;
4533 long arg8 = (long) 0 ;
4534 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4535 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4536 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4537 wxString *arg10 = (wxString *) &arg10_defvalue ;
4538 bool result;
4539 wxPoint temp4 ;
4540 wxSize temp5 ;
4541 bool temp9 = False ;
4542 PyObject * obj0 = 0 ;
4543 PyObject * obj1 = 0 ;
4544 PyObject * obj3 = 0 ;
4545 PyObject * obj4 = 0 ;
4546 PyObject * obj5 = 0 ;
4547 PyObject * obj7 = 0 ;
4548 PyObject * obj8 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4556 if (obj3) {
4557 {
4558 arg4 = &temp4;
4559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4560 }
4561 }
4562 if (obj4) {
4563 {
4564 arg5 = &temp5;
4565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4566 }
4567 }
4568 if (obj5) {
4569 {
4570 arg6 = PyList_Size(obj5);
4571 arg7 = wxString_LIST_helper(obj5);
4572 if (arg7 == NULL) SWIG_fail;
4573 }
4574 }
4575 if (obj7) {
4576 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4577 if (arg9 == NULL) {
4578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4579 }
4580 }
4581 if (obj8) {
4582 {
4583 arg10 = wxString_in_helper(obj8);
4584 if (arg10 == NULL) SWIG_fail;
4585 temp9 = True;
4586 }
4587 }
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 resultobj = PyInt_FromLong((long)result);
4596 {
4597 if (arg7) delete [] arg7;
4598 }
4599 {
4600 if (temp9)
4601 delete arg10;
4602 }
4603 return resultobj;
4604 fail:
4605 {
4606 if (arg7) delete [] arg7;
4607 }
4608 {
4609 if (temp9)
4610 delete arg10;
4611 }
4612 return NULL;
4613 }
4614
4615
4616 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4617 PyObject *resultobj;
4618 wxListBox *arg1 = (wxListBox *) 0 ;
4619 wxString *arg2 = 0 ;
4620 int arg3 ;
4621 PyObject *arg4 = (PyObject *) NULL ;
4622 bool temp2 = False ;
4623 PyObject * obj0 = 0 ;
4624 PyObject * obj1 = 0 ;
4625 PyObject * obj3 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4632 {
4633 arg2 = wxString_in_helper(obj1);
4634 if (arg2 == NULL) SWIG_fail;
4635 temp2 = True;
4636 }
4637 if (obj3) {
4638 arg4 = obj3;
4639 }
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 Py_INCREF(Py_None); resultobj = Py_None;
4648 {
4649 if (temp2)
4650 delete arg2;
4651 }
4652 return resultobj;
4653 fail:
4654 {
4655 if (temp2)
4656 delete arg2;
4657 }
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxListBox *arg1 = (wxListBox *) 0 ;
4665 wxArrayString *arg2 = 0 ;
4666 int arg3 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 char *kwnames[] = {
4670 (char *) "self",(char *) "items",(char *) "pos", NULL
4671 };
4672
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4675 {
4676 if (! PySequence_Check(obj1)) {
4677 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4678 SWIG_fail;
4679 }
4680 arg2 = new wxArrayString;
4681 int i, len=PySequence_Length(obj1);
4682 for (i=0; i<len; i++) {
4683 PyObject* item = PySequence_GetItem(obj1, i);
4684 #if wxUSE_UNICODE
4685 PyObject* str = PyObject_Unicode(item);
4686 #else
4687 PyObject* str = PyObject_Str(item);
4688 #endif
4689 arg2->Add(Py2wxString(str));
4690 Py_DECREF(item);
4691 Py_DECREF(str);
4692 }
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 {
4703 if (arg2) delete arg2;
4704 }
4705 return resultobj;
4706 fail:
4707 {
4708 if (arg2) delete arg2;
4709 }
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxListBox *arg1 = (wxListBox *) 0 ;
4717 wxArrayString *arg2 = 0 ;
4718 PyObject * obj0 = 0 ;
4719 PyObject * obj1 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self",(char *) "items", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4726 {
4727 if (! PySequence_Check(obj1)) {
4728 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4729 SWIG_fail;
4730 }
4731 arg2 = new wxArrayString;
4732 int i, len=PySequence_Length(obj1);
4733 for (i=0; i<len; i++) {
4734 PyObject* item = PySequence_GetItem(obj1, i);
4735 #if wxUSE_UNICODE
4736 PyObject* str = PyObject_Unicode(item);
4737 #else
4738 PyObject* str = PyObject_Str(item);
4739 #endif
4740 arg2->Add(Py2wxString(str));
4741 Py_DECREF(item);
4742 Py_DECREF(str);
4743 }
4744 }
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 (arg1)->Set((wxArrayString const &)*arg2);
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 Py_INCREF(Py_None); resultobj = Py_None;
4753 {
4754 if (arg2) delete arg2;
4755 }
4756 return resultobj;
4757 fail:
4758 {
4759 if (arg2) delete arg2;
4760 }
4761 return NULL;
4762 }
4763
4764
4765 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxListBox *arg1 = (wxListBox *) 0 ;
4768 int arg2 ;
4769 bool result;
4770 PyObject * obj0 = 0 ;
4771 char *kwnames[] = {
4772 (char *) "self",(char *) "n", NULL
4773 };
4774
4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = PyInt_FromLong((long)result);
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxListBox *arg1 = (wxListBox *) 0 ;
4794 int arg2 ;
4795 bool arg3 = (bool) True ;
4796 PyObject * obj0 = 0 ;
4797 PyObject * obj2 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self",(char *) "n",(char *) "select", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4804 if (obj2) {
4805 arg3 = PyInt_AsLong(obj2) ? true : false;
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 {
4809 PyThreadState* __tstate = wxPyBeginAllowThreads();
4810 (arg1)->SetSelection(arg2,arg3);
4811
4812 wxPyEndAllowThreads(__tstate);
4813 if (PyErr_Occurred()) SWIG_fail;
4814 }
4815 Py_INCREF(Py_None); resultobj = Py_None;
4816 return resultobj;
4817 fail:
4818 return NULL;
4819 }
4820
4821
4822 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject *resultobj;
4824 wxListBox *arg1 = (wxListBox *) 0 ;
4825 int arg2 ;
4826 PyObject * obj0 = 0 ;
4827 char *kwnames[] = {
4828 (char *) "self",(char *) "n", NULL
4829 };
4830
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",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 (arg1)->Select(arg2);
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 Py_INCREF(Py_None); resultobj = Py_None;
4841 return resultobj;
4842 fail:
4843 return NULL;
4844 }
4845
4846
4847 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4848 PyObject *resultobj;
4849 wxListBox *arg1 = (wxListBox *) 0 ;
4850 int arg2 ;
4851 PyObject * obj0 = 0 ;
4852 char *kwnames[] = {
4853 (char *) "self",(char *) "n", NULL
4854 };
4855
4856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 (arg1)->Deselect(arg2);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
4865 Py_INCREF(Py_None); resultobj = Py_None;
4866 return resultobj;
4867 fail:
4868 return NULL;
4869 }
4870
4871
4872 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4873 PyObject *resultobj;
4874 wxListBox *arg1 = (wxListBox *) 0 ;
4875 int arg2 = (int) -1 ;
4876 PyObject * obj0 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "itemToLeaveSelected", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 (arg1)->DeselectAll(arg2);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 Py_INCREF(Py_None); resultobj = Py_None;
4891 return resultobj;
4892 fail:
4893 return NULL;
4894 }
4895
4896
4897 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4898 PyObject *resultobj;
4899 wxListBox *arg1 = (wxListBox *) 0 ;
4900 wxString *arg2 = 0 ;
4901 bool arg3 = (bool) True ;
4902 bool result;
4903 bool temp2 = False ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 PyObject * obj2 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "s",(char *) "select", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4913 {
4914 arg2 = wxString_in_helper(obj1);
4915 if (arg2 == NULL) SWIG_fail;
4916 temp2 = True;
4917 }
4918 if (obj2) {
4919 arg3 = PyInt_AsLong(obj2) ? true : false;
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 {
4923 PyThreadState* __tstate = wxPyBeginAllowThreads();
4924 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4925
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 resultobj = PyInt_FromLong((long)result);
4930 {
4931 if (temp2)
4932 delete arg2;
4933 }
4934 return resultobj;
4935 fail:
4936 {
4937 if (temp2)
4938 delete arg2;
4939 }
4940 return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxListBox *arg1 = (wxListBox *) 0 ;
4947 PyObject *result;
4948 PyObject * obj0 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 result = (PyObject *)wxListBox_GetSelections(arg1);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 resultobj = result;
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxListBox *arg1 = (wxListBox *) 0 ;
4972 int arg2 ;
4973 PyObject * obj0 = 0 ;
4974 char *kwnames[] = {
4975 (char *) "self",(char *) "n", NULL
4976 };
4977
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetFirstItem(arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4995 PyObject *resultobj;
4996 wxListBox *arg1 = (wxListBox *) 0 ;
4997 wxString *arg2 = 0 ;
4998 bool temp2 = False ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 char *kwnames[] = {
5002 (char *) "self",(char *) "s", NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5007 {
5008 arg2 = wxString_in_helper(obj1);
5009 if (arg2 == NULL) SWIG_fail;
5010 temp2 = True;
5011 }
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 (arg1)->SetFirstItem((wxString const &)*arg2);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 Py_INCREF(Py_None); resultobj = Py_None;
5020 {
5021 if (temp2)
5022 delete arg2;
5023 }
5024 return resultobj;
5025 fail:
5026 {
5027 if (temp2)
5028 delete arg2;
5029 }
5030 return NULL;
5031 }
5032
5033
5034 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj;
5036 wxListBox *arg1 = (wxListBox *) 0 ;
5037 int arg2 ;
5038 PyObject * obj0 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "self",(char *) "n", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 (arg1)->EnsureVisible(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 Py_INCREF(Py_None); resultobj = Py_None;
5053 return resultobj;
5054 fail:
5055 return NULL;
5056 }
5057
5058
5059 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj;
5061 wxListBox *arg1 = (wxListBox *) 0 ;
5062 wxString *arg2 = 0 ;
5063 bool temp2 = False ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self",(char *) "s", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 {
5073 arg2 = wxString_in_helper(obj1);
5074 if (arg2 == NULL) SWIG_fail;
5075 temp2 = True;
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 Py_INCREF(Py_None); resultobj = Py_None;
5085 {
5086 if (temp2)
5087 delete arg2;
5088 }
5089 return resultobj;
5090 fail:
5091 {
5092 if (temp2)
5093 delete arg2;
5094 }
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxListBox *arg1 = (wxListBox *) 0 ;
5102 bool result;
5103 PyObject * obj0 = 0 ;
5104 char *kwnames[] = {
5105 (char *) "self", NULL
5106 };
5107
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 result = (bool)((wxListBox const *)arg1)->IsSorted();
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 resultobj = PyInt_FromLong((long)result);
5118 return resultobj;
5119 fail:
5120 return NULL;
5121 }
5122
5123
5124 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5125 PyObject *obj;
5126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5127 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5128 Py_INCREF(obj);
5129 return Py_BuildValue((char *)"");
5130 }
5131 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj;
5133 wxWindow *arg1 = (wxWindow *) 0 ;
5134 int arg2 ;
5135 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5136 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5137 wxSize const &arg4_defvalue = wxDefaultSize ;
5138 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5139 int arg5 = (int) 0 ;
5140 wxString *arg6 = (wxString *) NULL ;
5141 long arg7 = (long) 0 ;
5142 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5143 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5144 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5145 wxString *arg9 = (wxString *) &arg9_defvalue ;
5146 wxCheckListBox *result;
5147 wxPoint temp3 ;
5148 wxSize temp4 ;
5149 bool temp8 = False ;
5150 PyObject * obj0 = 0 ;
5151 PyObject * obj2 = 0 ;
5152 PyObject * obj3 = 0 ;
5153 PyObject * obj4 = 0 ;
5154 PyObject * obj6 = 0 ;
5155 PyObject * obj7 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5162 if (obj2) {
5163 {
5164 arg3 = &temp3;
5165 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5166 }
5167 }
5168 if (obj3) {
5169 {
5170 arg4 = &temp4;
5171 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5172 }
5173 }
5174 if (obj4) {
5175 {
5176 arg5 = PyList_Size(obj4);
5177 arg6 = wxString_LIST_helper(obj4);
5178 if (arg6 == NULL) SWIG_fail;
5179 }
5180 }
5181 if (obj6) {
5182 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5183 if (arg8 == NULL) {
5184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5185 }
5186 }
5187 if (obj7) {
5188 {
5189 arg9 = wxString_in_helper(obj7);
5190 if (arg9 == NULL) SWIG_fail;
5191 temp8 = True;
5192 }
5193 }
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5202 {
5203 if (arg6) delete [] arg6;
5204 }
5205 {
5206 if (temp8)
5207 delete arg9;
5208 }
5209 return resultobj;
5210 fail:
5211 {
5212 if (arg6) delete [] arg6;
5213 }
5214 {
5215 if (temp8)
5216 delete arg9;
5217 }
5218 return NULL;
5219 }
5220
5221
5222 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxCheckListBox *result;
5225 char *kwnames[] = {
5226 NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = (wxCheckListBox *)new wxCheckListBox();
5233
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj;
5246 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5247 wxWindow *arg2 = (wxWindow *) 0 ;
5248 int arg3 ;
5249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5251 wxSize const &arg5_defvalue = wxDefaultSize ;
5252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5253 int arg6 = (int) 0 ;
5254 wxString *arg7 = (wxString *) NULL ;
5255 long arg8 = (long) 0 ;
5256 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5257 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5258 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5259 wxString *arg10 = (wxString *) &arg10_defvalue ;
5260 bool result;
5261 wxPoint temp4 ;
5262 wxSize temp5 ;
5263 bool temp9 = False ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 PyObject * obj3 = 0 ;
5267 PyObject * obj4 = 0 ;
5268 PyObject * obj5 = 0 ;
5269 PyObject * obj7 = 0 ;
5270 PyObject * obj8 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5278 if (obj3) {
5279 {
5280 arg4 = &temp4;
5281 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5282 }
5283 }
5284 if (obj4) {
5285 {
5286 arg5 = &temp5;
5287 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5288 }
5289 }
5290 if (obj5) {
5291 {
5292 arg6 = PyList_Size(obj5);
5293 arg7 = wxString_LIST_helper(obj5);
5294 if (arg7 == NULL) SWIG_fail;
5295 }
5296 }
5297 if (obj7) {
5298 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5299 if (arg9 == NULL) {
5300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5301 }
5302 }
5303 if (obj8) {
5304 {
5305 arg10 = wxString_in_helper(obj8);
5306 if (arg10 == NULL) SWIG_fail;
5307 temp9 = True;
5308 }
5309 }
5310 {
5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
5312 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5313
5314 wxPyEndAllowThreads(__tstate);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 }
5317 resultobj = PyInt_FromLong((long)result);
5318 {
5319 if (arg7) delete [] arg7;
5320 }
5321 {
5322 if (temp9)
5323 delete arg10;
5324 }
5325 return resultobj;
5326 fail:
5327 {
5328 if (arg7) delete [] arg7;
5329 }
5330 {
5331 if (temp9)
5332 delete arg10;
5333 }
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5341 int arg2 ;
5342 bool result;
5343 PyObject * obj0 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "index", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (bool)(arg1)->IsChecked(arg2);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 resultobj = PyInt_FromLong((long)result);
5358 return resultobj;
5359 fail:
5360 return NULL;
5361 }
5362
5363
5364 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5367 int arg2 ;
5368 int arg3 = (int) True ;
5369 PyObject * obj0 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self",(char *) "index",(char *) "check", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->Check(arg2,arg3);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5393 wxPoint *arg2 = 0 ;
5394 int result;
5395 wxPoint temp2 ;
5396 PyObject * obj0 = 0 ;
5397 PyObject * obj1 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self",(char *) "pt", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 {
5405 arg2 = &temp2;
5406 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5407 }
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 resultobj = PyInt_FromLong((long)result);
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj;
5424 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5425 int arg2 ;
5426 int arg3 ;
5427 int result;
5428 PyObject * obj0 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "x",(char *) "y", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5438
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
5442 resultobj = PyInt_FromLong((long)result);
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5450 PyObject *obj;
5451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5452 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5453 Py_INCREF(obj);
5454 return Py_BuildValue((char *)"");
5455 }
5456 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5457 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5458 return 1;
5459 }
5460
5461
5462 static PyObject *_wrap_TextCtrlNameStr_get() {
5463 PyObject *pyobj;
5464
5465 {
5466 #if wxUSE_UNICODE
5467 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5468 #else
5469 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5470 #endif
5471 }
5472 return pyobj;
5473 }
5474
5475
5476 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5477 PyObject *resultobj;
5478 wxTextAttr *result;
5479
5480 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (wxTextAttr *)new wxTextAttr();
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5496 PyObject *resultobj;
5497 wxColour *arg1 = 0 ;
5498 wxColour const &arg2_defvalue = wxNullColour ;
5499 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5500 wxFont const &arg3_defvalue = wxNullFont ;
5501 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5502 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5503 wxTextAttr *result;
5504 wxColour temp1 ;
5505 wxColour temp2 ;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj1 = 0 ;
5508 PyObject * obj2 = 0 ;
5509
5510 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5511 {
5512 arg1 = &temp1;
5513 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5514 }
5515 if (obj1) {
5516 {
5517 arg2 = &temp2;
5518 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5519 }
5520 }
5521 if (obj2) {
5522 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5523 if (arg3 == NULL) {
5524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5525 }
5526 }
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5542 int argc;
5543 PyObject *argv[5];
5544 int ii;
5545
5546 argc = PyObject_Length(args);
5547 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5548 argv[ii] = PyTuple_GetItem(args,ii);
5549 }
5550 if (argc == 0) {
5551 return _wrap_new_TextAttr__SWIG_0(self,args);
5552 }
5553 if ((argc >= 1) && (argc <= 4)) {
5554 int _v;
5555 {
5556 _v = wxColour_typecheck(argv[0]);
5557 }
5558 if (_v) {
5559 if (argc <= 1) {
5560 return _wrap_new_TextAttr__SWIG_1(self,args);
5561 }
5562 {
5563 _v = wxColour_typecheck(argv[1]);
5564 }
5565 if (_v) {
5566 if (argc <= 2) {
5567 return _wrap_new_TextAttr__SWIG_1(self,args);
5568 }
5569 {
5570 void *ptr;
5571 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5572 _v = 0;
5573 PyErr_Clear();
5574 } else {
5575 _v = 1;
5576 }
5577 }
5578 if (_v) {
5579 if (argc <= 3) {
5580 return _wrap_new_TextAttr__SWIG_1(self,args);
5581 }
5582 {
5583 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5584 }
5585 if (_v) {
5586 return _wrap_new_TextAttr__SWIG_1(self,args);
5587 }
5588 }
5589 }
5590 }
5591 }
5592
5593 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 (arg1)->Init();
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 Py_INCREF(Py_None); resultobj = Py_None;
5616 return resultobj;
5617 fail:
5618 return NULL;
5619 }
5620
5621
5622 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj;
5624 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5625 wxColour *arg2 = 0 ;
5626 wxColour temp2 ;
5627 PyObject * obj0 = 0 ;
5628 PyObject * obj1 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "self",(char *) "colText", NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5635 {
5636 arg2 = &temp2;
5637 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->SetTextColour((wxColour const &)*arg2);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 Py_INCREF(Py_None); resultobj = Py_None;
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5656 wxColour *arg2 = 0 ;
5657 wxColour temp2 ;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "colBack", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5666 {
5667 arg2 = &temp2;
5668 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5687 wxFont *arg2 = 0 ;
5688 long arg3 = (long) wxTEXT_ATTR_FONT ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "font",(char *) "flags", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 if (arg2 == NULL) {
5699 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5718 int arg2 ;
5719 PyObject * obj0 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self",(char *) "alignment", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 Py_INCREF(Py_None); resultobj = Py_None;
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5743 wxArrayInt *arg2 = 0 ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self",(char *) "tabs", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5752 {
5753 if (! PySequence_Check(obj1)) {
5754 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5755 SWIG_fail;
5756 }
5757 arg2 = new wxArrayInt;
5758 int i, len=PySequence_Length(obj1);
5759 for (i=0; i<len; i++) {
5760 PyObject* item = PySequence_GetItem(obj1, i);
5761 PyObject* number = PyNumber_Int(item);
5762 arg2->Add(PyInt_AS_LONG(number));
5763 Py_DECREF(item);
5764 Py_DECREF(number);
5765 }
5766 }
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 Py_INCREF(Py_None); resultobj = Py_None;
5775 {
5776 if (arg2) delete arg2;
5777 }
5778 return resultobj;
5779 fail:
5780 {
5781 if (arg2) delete arg2;
5782 }
5783 return NULL;
5784 }
5785
5786
5787 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject *resultobj;
5789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5790 int arg2 ;
5791 PyObject * obj0 = 0 ;
5792 char *kwnames[] = {
5793 (char *) "self",(char *) "indent", NULL
5794 };
5795
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 (arg1)->SetLeftIndent(arg2);
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 Py_INCREF(Py_None); resultobj = Py_None;
5806 return resultobj;
5807 fail:
5808 return NULL;
5809 }
5810
5811
5812 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5815 int arg2 ;
5816 PyObject * obj0 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self",(char *) "indent", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 (arg1)->SetRightIndent(arg2);
5826
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 Py_INCREF(Py_None); resultobj = Py_None;
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5840 long arg2 ;
5841 PyObject * obj0 = 0 ;
5842 char *kwnames[] = {
5843 (char *) "self",(char *) "flags", NULL
5844 };
5845
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 (arg1)->SetFlags(arg2);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 Py_INCREF(Py_None); resultobj = Py_None;
5856 return resultobj;
5857 fail:
5858 return NULL;
5859 }
5860
5861
5862 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5863 PyObject *resultobj;
5864 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5865 bool result;
5866 PyObject * obj0 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "self", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 resultobj = PyInt_FromLong((long)result);
5881 return resultobj;
5882 fail:
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5890 bool result;
5891 PyObject * obj0 = 0 ;
5892 char *kwnames[] = {
5893 (char *) "self", NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 resultobj = PyInt_FromLong((long)result);
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5915 bool result;
5916 PyObject * obj0 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5923 {
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 resultobj = PyInt_FromLong((long)result);
5931 return resultobj;
5932 fail:
5933 return NULL;
5934 }
5935
5936
5937 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj;
5939 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5940 bool result;
5941 PyObject * obj0 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "self", NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = PyInt_FromLong((long)result);
5956 return resultobj;
5957 fail:
5958 return NULL;
5959 }
5960
5961
5962 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj;
5964 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5965 bool result;
5966 PyObject * obj0 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 resultobj = PyInt_FromLong((long)result);
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj;
5989 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5990 bool result;
5991 PyObject * obj0 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = PyInt_FromLong((long)result);
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6015 bool result;
6016 PyObject * obj0 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = PyInt_FromLong((long)result);
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6040 long arg2 ;
6041 bool result;
6042 PyObject * obj0 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "flag", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 resultobj = PyInt_FromLong((long)result);
6057 return resultobj;
6058 fail:
6059 return NULL;
6060 }
6061
6062
6063 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6066 wxColour *result;
6067 PyObject * obj0 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 {
6077 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6078 result = (wxColour *) &_result_ref;
6079 }
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject *resultobj;
6093 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6094 wxColour *result;
6095 PyObject * obj0 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 {
6105 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6106 result = (wxColour *) &_result_ref;
6107 }
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6113 return resultobj;
6114 fail:
6115 return NULL;
6116 }
6117
6118
6119 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj;
6121 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6122 wxFont *result;
6123 PyObject * obj0 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) 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 {
6133 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6134 result = (wxFont *) &_result_ref;
6135 }
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6141 return resultobj;
6142 fail:
6143 return NULL;
6144 }
6145
6146
6147 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject *resultobj;
6149 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6150 int result;
6151 PyObject * obj0 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = PyInt_FromLong((long)result);
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6175 wxArrayInt *result;
6176 PyObject * obj0 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",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 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6187 result = (wxArrayInt *) &_result_ref;
6188 }
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 {
6194 resultobj = PyList_New(0);
6195 size_t idx;
6196 for (idx = 0; idx < result->GetCount(); idx += 1) {
6197 PyObject* val = PyInt_FromLong( result->Item(idx) );
6198 PyList_Append(resultobj, val);
6199 Py_DECREF(val);
6200 }
6201 }
6202 return resultobj;
6203 fail:
6204 return NULL;
6205 }
6206
6207
6208 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj;
6210 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6211 long result;
6212 PyObject * obj0 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = PyInt_FromLong((long)result);
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6236 long result;
6237 PyObject * obj0 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 resultobj = PyInt_FromLong((long)result);
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6261 long result;
6262 PyObject * obj0 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 resultobj = PyInt_FromLong((long)result);
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6286 bool result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 resultobj = PyInt_FromLong((long)result);
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxTextAttr *arg1 = 0 ;
6311 wxTextAttr *arg2 = 0 ;
6312 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6313 wxTextAttr result;
6314 PyObject * obj0 = 0 ;
6315 PyObject * obj1 = 0 ;
6316 PyObject * obj2 = 0 ;
6317 char *kwnames[] = {
6318 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6319 };
6320
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6323 if (arg1 == NULL) {
6324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6325 }
6326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6327 if (arg2 == NULL) {
6328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6329 }
6330 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 {
6339 wxTextAttr * resultptr;
6340 resultptr = new wxTextAttr((wxTextAttr &) result);
6341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6342 }
6343 return resultobj;
6344 fail:
6345 return NULL;
6346 }
6347
6348
6349 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6350 PyObject *obj;
6351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6352 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6353 Py_INCREF(obj);
6354 return Py_BuildValue((char *)"");
6355 }
6356 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6357 PyObject *resultobj;
6358 wxWindow *arg1 = (wxWindow *) 0 ;
6359 int arg2 ;
6360 wxString const &arg3_defvalue = wxPyEmptyString ;
6361 wxString *arg3 = (wxString *) &arg3_defvalue ;
6362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6364 wxSize const &arg5_defvalue = wxDefaultSize ;
6365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6366 long arg6 = (long) 0 ;
6367 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6368 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6369 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6370 wxString *arg8 = (wxString *) &arg8_defvalue ;
6371 wxTextCtrl *result;
6372 bool temp3 = False ;
6373 wxPoint temp4 ;
6374 wxSize temp5 ;
6375 bool temp8 = False ;
6376 PyObject * obj0 = 0 ;
6377 PyObject * obj2 = 0 ;
6378 PyObject * obj3 = 0 ;
6379 PyObject * obj4 = 0 ;
6380 PyObject * obj6 = 0 ;
6381 PyObject * obj7 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6388 if (obj2) {
6389 {
6390 arg3 = wxString_in_helper(obj2);
6391 if (arg3 == NULL) SWIG_fail;
6392 temp3 = True;
6393 }
6394 }
6395 if (obj3) {
6396 {
6397 arg4 = &temp4;
6398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6399 }
6400 }
6401 if (obj4) {
6402 {
6403 arg5 = &temp5;
6404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6405 }
6406 }
6407 if (obj6) {
6408 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6409 if (arg7 == NULL) {
6410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6411 }
6412 }
6413 if (obj7) {
6414 {
6415 arg8 = wxString_in_helper(obj7);
6416 if (arg8 == NULL) SWIG_fail;
6417 temp8 = True;
6418 }
6419 }
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 {
6428 resultobj = wxPyMake_wxObject(result);
6429 }
6430 {
6431 if (temp3)
6432 delete arg3;
6433 }
6434 {
6435 if (temp8)
6436 delete arg8;
6437 }
6438 return resultobj;
6439 fail:
6440 {
6441 if (temp3)
6442 delete arg3;
6443 }
6444 {
6445 if (temp8)
6446 delete arg8;
6447 }
6448 return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxTextCtrl *result;
6455 char *kwnames[] = {
6456 NULL
6457 };
6458
6459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (wxTextCtrl *)new wxTextCtrl();
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 {
6468 resultobj = wxPyMake_wxObject(result);
6469 }
6470 return resultobj;
6471 fail:
6472 return NULL;
6473 }
6474
6475
6476 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj;
6478 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6479 wxWindow *arg2 = (wxWindow *) 0 ;
6480 int arg3 ;
6481 wxString const &arg4_defvalue = wxPyEmptyString ;
6482 wxString *arg4 = (wxString *) &arg4_defvalue ;
6483 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6484 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6485 wxSize const &arg6_defvalue = wxDefaultSize ;
6486 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6487 long arg7 = (long) 0 ;
6488 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6489 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6490 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6491 wxString *arg9 = (wxString *) &arg9_defvalue ;
6492 bool result;
6493 bool temp4 = False ;
6494 wxPoint temp5 ;
6495 wxSize temp6 ;
6496 bool temp9 = False ;
6497 PyObject * obj0 = 0 ;
6498 PyObject * obj1 = 0 ;
6499 PyObject * obj3 = 0 ;
6500 PyObject * obj4 = 0 ;
6501 PyObject * obj5 = 0 ;
6502 PyObject * obj7 = 0 ;
6503 PyObject * obj8 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6511 if (obj3) {
6512 {
6513 arg4 = wxString_in_helper(obj3);
6514 if (arg4 == NULL) SWIG_fail;
6515 temp4 = True;
6516 }
6517 }
6518 if (obj4) {
6519 {
6520 arg5 = &temp5;
6521 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6522 }
6523 }
6524 if (obj5) {
6525 {
6526 arg6 = &temp6;
6527 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6528 }
6529 }
6530 if (obj7) {
6531 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6532 if (arg8 == NULL) {
6533 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6534 }
6535 }
6536 if (obj8) {
6537 {
6538 arg9 = wxString_in_helper(obj8);
6539 if (arg9 == NULL) SWIG_fail;
6540 temp9 = True;
6541 }
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = PyInt_FromLong((long)result);
6551 {
6552 if (temp4)
6553 delete arg4;
6554 }
6555 {
6556 if (temp9)
6557 delete arg9;
6558 }
6559 return resultobj;
6560 fail:
6561 {
6562 if (temp4)
6563 delete arg4;
6564 }
6565 {
6566 if (temp9)
6567 delete arg9;
6568 }
6569 return NULL;
6570 }
6571
6572
6573 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6576 wxString result;
6577 PyObject * obj0 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = ((wxTextCtrl const *)arg1)->GetValue();
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 {
6592 #if wxUSE_UNICODE
6593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6594 #else
6595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6596 #endif
6597 }
6598 return resultobj;
6599 fail:
6600 return NULL;
6601 }
6602
6603
6604 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6607 wxString *arg2 = 0 ;
6608 bool temp2 = False ;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 char *kwnames[] = {
6612 (char *) "self",(char *) "value", NULL
6613 };
6614
6615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6617 {
6618 arg2 = wxString_in_helper(obj1);
6619 if (arg2 == NULL) SWIG_fail;
6620 temp2 = True;
6621 }
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 (arg1)->SetValue((wxString const &)*arg2);
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 Py_INCREF(Py_None); resultobj = Py_None;
6630 {
6631 if (temp2)
6632 delete arg2;
6633 }
6634 return resultobj;
6635 fail:
6636 {
6637 if (temp2)
6638 delete arg2;
6639 }
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6647 long arg2 ;
6648 long arg3 ;
6649 wxString result;
6650 PyObject * obj0 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self",(char *) "from",(char *) "to", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665 #if wxUSE_UNICODE
6666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6667 #else
6668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6669 #endif
6670 }
6671 return resultobj;
6672 fail:
6673 return NULL;
6674 }
6675
6676
6677 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject *resultobj;
6679 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6680 long arg2 ;
6681 int result;
6682 PyObject * obj0 = 0 ;
6683 char *kwnames[] = {
6684 (char *) "self",(char *) "lineNo", NULL
6685 };
6686
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6689 {
6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
6691 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6692
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 resultobj = PyInt_FromLong((long)result);
6697 return resultobj;
6698 fail:
6699 return NULL;
6700 }
6701
6702
6703 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6704 PyObject *resultobj;
6705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6706 long arg2 ;
6707 wxString result;
6708 PyObject * obj0 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "self",(char *) "lineNo", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6715 {
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 {
6723 #if wxUSE_UNICODE
6724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6725 #else
6726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6727 #endif
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj;
6737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6738 int result;
6739 PyObject * obj0 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 resultobj = PyInt_FromLong((long)result);
6754 return resultobj;
6755 fail:
6756 return NULL;
6757 }
6758
6759
6760 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6761 PyObject *resultobj;
6762 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6763 bool result;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = PyInt_FromLong((long)result);
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj;
6787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6788 bool result;
6789 PyObject * obj0 = 0 ;
6790 char *kwnames[] = {
6791 (char *) "self", NULL
6792 };
6793
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) 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 = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6799
6800 wxPyEndAllowThreads(__tstate);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
6803 resultobj = PyInt_FromLong((long)result);
6804 return resultobj;
6805 fail:
6806 return NULL;
6807 }
6808
6809
6810 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6811 PyObject *resultobj;
6812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6813 bool result;
6814 PyObject * obj0 = 0 ;
6815 char *kwnames[] = {
6816 (char *) "self", NULL
6817 };
6818
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6821 {
6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
6823 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6824
6825 wxPyEndAllowThreads(__tstate);
6826 if (PyErr_Occurred()) SWIG_fail;
6827 }
6828 resultobj = PyInt_FromLong((long)result);
6829 return resultobj;
6830 fail:
6831 return NULL;
6832 }
6833
6834
6835 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6836 PyObject *resultobj;
6837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6838 bool result;
6839 PyObject * obj0 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "self", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 resultobj = PyInt_FromLong((long)result);
6854 return resultobj;
6855 fail:
6856 return NULL;
6857 }
6858
6859
6860 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6863 long *arg2 = (long *) 0 ;
6864 long *arg3 = (long *) 0 ;
6865 long temp2 ;
6866 long temp3 ;
6867 PyObject * obj0 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self", NULL
6870 };
6871
6872 arg2 = &temp2;
6873 arg3 = &temp3;
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6876 {
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6879
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 Py_INCREF(Py_None); resultobj = Py_None;
6884 {
6885 PyObject *o = PyInt_FromLong((long) (*arg2));
6886 resultobj = t_output_helper(resultobj,o);
6887 }
6888 {
6889 PyObject *o = PyInt_FromLong((long) (*arg3));
6890 resultobj = t_output_helper(resultobj,o);
6891 }
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj;
6900 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6901 wxString result;
6902 PyObject * obj0 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6912
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 {
6917 #if wxUSE_UNICODE
6918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6919 #else
6920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6921 #endif
6922 }
6923 return resultobj;
6924 fail:
6925 return NULL;
6926 }
6927
6928
6929 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj;
6931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 (arg1)->Clear();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 Py_INCREF(Py_None); resultobj = Py_None;
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6954 PyObject *resultobj;
6955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6956 long arg2 ;
6957 long arg3 ;
6958 wxString *arg4 = 0 ;
6959 bool temp4 = False ;
6960 PyObject * obj0 = 0 ;
6961 PyObject * obj3 = 0 ;
6962 char *kwnames[] = {
6963 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 {
6969 arg4 = wxString_in_helper(obj3);
6970 if (arg4 == NULL) SWIG_fail;
6971 temp4 = True;
6972 }
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 Py_INCREF(Py_None); resultobj = Py_None;
6981 {
6982 if (temp4)
6983 delete arg4;
6984 }
6985 return resultobj;
6986 fail:
6987 {
6988 if (temp4)
6989 delete arg4;
6990 }
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6998 long arg2 ;
6999 long arg3 ;
7000 PyObject * obj0 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "self",(char *) "from",(char *) "to", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 (arg1)->Remove(arg2,arg3);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 Py_INCREF(Py_None); resultobj = Py_None;
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7024 wxString *arg2 = 0 ;
7025 bool result;
7026 bool temp2 = False ;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "file", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7035 {
7036 arg2 = wxString_in_helper(obj1);
7037 if (arg2 == NULL) SWIG_fail;
7038 temp2 = True;
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = PyInt_FromLong((long)result);
7048 {
7049 if (temp2)
7050 delete arg2;
7051 }
7052 return resultobj;
7053 fail:
7054 {
7055 if (temp2)
7056 delete arg2;
7057 }
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7065 wxString const &arg2_defvalue = wxPyEmptyString ;
7066 wxString *arg2 = (wxString *) &arg2_defvalue ;
7067 bool result;
7068 bool temp2 = False ;
7069 PyObject * obj0 = 0 ;
7070 PyObject * obj1 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "self",(char *) "file", NULL
7073 };
7074
7075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7077 if (obj1) {
7078 {
7079 arg2 = wxString_in_helper(obj1);
7080 if (arg2 == NULL) SWIG_fail;
7081 temp2 = True;
7082 }
7083 }
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 resultobj = PyInt_FromLong((long)result);
7092 {
7093 if (temp2)
7094 delete arg2;
7095 }
7096 return resultobj;
7097 fail:
7098 {
7099 if (temp2)
7100 delete arg2;
7101 }
7102 return NULL;
7103 }
7104
7105
7106 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj;
7108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7109 PyObject * obj0 = 0 ;
7110 char *kwnames[] = {
7111 (char *) "self", NULL
7112 };
7113
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 (arg1)->MarkDirty();
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 Py_INCREF(Py_None); resultobj = Py_None;
7124 return resultobj;
7125 fail:
7126 return NULL;
7127 }
7128
7129
7130 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj;
7132 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7133 PyObject * obj0 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 (arg1)->DiscardEdits();
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 Py_INCREF(Py_None); resultobj = Py_None;
7148 return resultobj;
7149 fail:
7150 return NULL;
7151 }
7152
7153
7154 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7157 unsigned long arg2 ;
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self",(char *) "len", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7166 arg2 = (unsigned long) PyInt_AsLong(obj1);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 (arg1)->SetMaxLength(arg2);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 Py_INCREF(Py_None); resultobj = Py_None;
7176 return resultobj;
7177 fail:
7178 return NULL;
7179 }
7180
7181
7182 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7183 PyObject *resultobj;
7184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7185 wxString *arg2 = 0 ;
7186 bool temp2 = False ;
7187 PyObject * obj0 = 0 ;
7188 PyObject * obj1 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self",(char *) "text", NULL
7191 };
7192
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7195 {
7196 arg2 = wxString_in_helper(obj1);
7197 if (arg2 == NULL) SWIG_fail;
7198 temp2 = True;
7199 }
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 (arg1)->WriteText((wxString const &)*arg2);
7203
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 Py_INCREF(Py_None); resultobj = Py_None;
7208 {
7209 if (temp2)
7210 delete arg2;
7211 }
7212 return resultobj;
7213 fail:
7214 {
7215 if (temp2)
7216 delete arg2;
7217 }
7218 return NULL;
7219 }
7220
7221
7222 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7225 wxString *arg2 = 0 ;
7226 bool temp2 = False ;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "text", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235 {
7236 arg2 = wxString_in_helper(obj1);
7237 if (arg2 == NULL) SWIG_fail;
7238 temp2 = True;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->AppendText((wxString const &)*arg2);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 {
7249 if (temp2)
7250 delete arg2;
7251 }
7252 return resultobj;
7253 fail:
7254 {
7255 if (temp2)
7256 delete arg2;
7257 }
7258 return NULL;
7259 }
7260
7261
7262 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7265 wxKeyEvent *arg2 = 0 ;
7266 bool result;
7267 PyObject * obj0 = 0 ;
7268 PyObject * obj1 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "event", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7276 if (arg2 == NULL) {
7277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7278 }
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = PyInt_FromLong((long)result);
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7296 long arg2 ;
7297 long arg3 ;
7298 wxTextAttr *arg4 = 0 ;
7299 bool result;
7300 PyObject * obj0 = 0 ;
7301 PyObject * obj3 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7308 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7309 if (arg4 == NULL) {
7310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7311 }
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 resultobj = PyInt_FromLong((long)result);
7320 return resultobj;
7321 fail:
7322 return NULL;
7323 }
7324
7325
7326 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj;
7328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7329 long arg2 ;
7330 wxTextAttr *arg3 = 0 ;
7331 bool result;
7332 PyObject * obj0 = 0 ;
7333 PyObject * obj2 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "position",(char *) "style", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7340 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7341 if (arg3 == NULL) {
7342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = PyInt_FromLong((long)result);
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7361 wxTextAttr *arg2 = 0 ;
7362 bool result;
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "style", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 if (arg2 == NULL) {
7373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7374 }
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7378
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) SWIG_fail;
7381 }
7382 resultobj = PyInt_FromLong((long)result);
7383 return resultobj;
7384 fail:
7385 return NULL;
7386 }
7387
7388
7389 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
7391 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7392 wxTextAttr *result;
7393 PyObject * obj0 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 {
7403 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7404 result = (wxTextAttr *) &_result_ref;
7405 }
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7420 long arg2 ;
7421 long arg3 ;
7422 long result;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self",(char *) "x",(char *) "y", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = PyInt_FromLong((long)result);
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7447 long arg2 ;
7448 long *arg3 = (long *) 0 ;
7449 long *arg4 = (long *) 0 ;
7450 long temp3 ;
7451 long temp4 ;
7452 PyObject * obj0 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self",(char *) "pos", NULL
7455 };
7456
7457 arg3 = &temp3;
7458 arg4 = &temp4;
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 Py_INCREF(Py_None); resultobj = Py_None;
7469 {
7470 PyObject *o = PyInt_FromLong((long) (*arg3));
7471 resultobj = t_output_helper(resultobj,o);
7472 }
7473 {
7474 PyObject *o = PyInt_FromLong((long) (*arg4));
7475 resultobj = t_output_helper(resultobj,o);
7476 }
7477 return resultobj;
7478 fail:
7479 return NULL;
7480 }
7481
7482
7483 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7484 PyObject *resultobj;
7485 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7486 long arg2 ;
7487 PyObject * obj0 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self",(char *) "pos", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 (arg1)->ShowPosition(arg2);
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 Py_INCREF(Py_None); resultobj = Py_None;
7502 return resultobj;
7503 fail:
7504 return NULL;
7505 }
7506
7507
7508 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7511 PyObject * obj0 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 (arg1)->Copy();
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 Py_INCREF(Py_None); resultobj = Py_None;
7526 return resultobj;
7527 fail:
7528 return NULL;
7529 }
7530
7531
7532 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7535 PyObject * obj0 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "self", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) 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 (arg1)->Cut();
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 Py_INCREF(Py_None); resultobj = Py_None;
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7559 PyObject * obj0 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 (arg1)->Paste();
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 Py_INCREF(Py_None); resultobj = Py_None;
7574 return resultobj;
7575 fail:
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7583 bool result;
7584 PyObject * obj0 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 resultobj = PyInt_FromLong((long)result);
7599 return resultobj;
7600 fail:
7601 return NULL;
7602 }
7603
7604
7605 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7608 bool result;
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "self", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 resultobj = PyInt_FromLong((long)result);
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7633 bool result;
7634 PyObject * obj0 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 resultobj = PyInt_FromLong((long)result);
7649 return resultobj;
7650 fail:
7651 return NULL;
7652 }
7653
7654
7655 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj;
7657 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7658 PyObject * obj0 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 (arg1)->Undo();
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 Py_INCREF(Py_None); resultobj = Py_None;
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7682 PyObject * obj0 = 0 ;
7683 char *kwnames[] = {
7684 (char *) "self", NULL
7685 };
7686
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 (arg1)->Redo();
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 Py_INCREF(Py_None); resultobj = Py_None;
7697 return resultobj;
7698 fail:
7699 return NULL;
7700 }
7701
7702
7703 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7706 bool result;
7707 PyObject * obj0 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 resultobj = PyInt_FromLong((long)result);
7722 return resultobj;
7723 fail:
7724 return NULL;
7725 }
7726
7727
7728 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj;
7730 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7731 bool result;
7732 PyObject * obj0 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 resultobj = PyInt_FromLong((long)result);
7747 return resultobj;
7748 fail:
7749 return NULL;
7750 }
7751
7752
7753 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7754 PyObject *resultobj;
7755 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7756 long arg2 ;
7757 PyObject * obj0 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self",(char *) "pos", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 (arg1)->SetInsertionPoint(arg2);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 Py_INCREF(Py_None); resultobj = Py_None;
7772 return resultobj;
7773 fail:
7774 return NULL;
7775 }
7776
7777
7778 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7779 PyObject *resultobj;
7780 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7781 PyObject * obj0 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 (arg1)->SetInsertionPointEnd();
7791
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 Py_INCREF(Py_None); resultobj = Py_None;
7796 return resultobj;
7797 fail:
7798 return NULL;
7799 }
7800
7801
7802 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7803 PyObject *resultobj;
7804 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7805 long result;
7806 PyObject * obj0 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 resultobj = PyInt_FromLong((long)result);
7821 return resultobj;
7822 fail:
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7830 long result;
7831 PyObject * obj0 = 0 ;
7832 char *kwnames[] = {
7833 (char *) "self", NULL
7834 };
7835
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 resultobj = PyInt_FromLong((long)result);
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7855 long arg2 ;
7856 long arg3 ;
7857 PyObject * obj0 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "from",(char *) "to", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->SetSelection(arg2,arg3);
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 (arg1)->SelectAll();
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 Py_INCREF(Py_None); resultobj = Py_None;
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7905 bool arg2 ;
7906 PyObject * obj0 = 0 ;
7907 PyObject * obj1 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self",(char *) "editable", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7914 arg2 = PyInt_AsLong(obj1) ? true : false;
7915 if (PyErr_Occurred()) SWIG_fail;
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 (arg1)->SetEditable(arg2);
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 Py_INCREF(Py_None); resultobj = Py_None;
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj;
7932 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7933 wxString *arg2 = 0 ;
7934 bool temp2 = False ;
7935 PyObject * obj0 = 0 ;
7936 PyObject * obj1 = 0 ;
7937 char *kwnames[] = {
7938 (char *) "self",(char *) "text", NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7943 {
7944 arg2 = wxString_in_helper(obj1);
7945 if (arg2 == NULL) SWIG_fail;
7946 temp2 = True;
7947 }
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 Py_INCREF(Py_None); resultobj = Py_None;
7956 {
7957 if (temp2)
7958 delete arg2;
7959 }
7960 return resultobj;
7961 fail:
7962 {
7963 if (temp2)
7964 delete arg2;
7965 }
7966 return NULL;
7967 }
7968
7969
7970 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7973 long arg2 ;
7974 long arg3 ;
7975 wxString result;
7976 PyObject * obj0 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "self",(char *) "from",(char *) "to", NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 {
7991 #if wxUSE_UNICODE
7992 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7993 #else
7994 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7995 #endif
7996 }
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8004 PyObject *obj;
8005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8006 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8007 Py_INCREF(obj);
8008 return Py_BuildValue((char *)"");
8009 }
8010 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 int arg1 ;
8013 wxMouseEvent *arg2 = 0 ;
8014 long arg3 ;
8015 long arg4 ;
8016 wxTextUrlEvent *result;
8017 PyObject * obj1 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8024 if (arg2 == NULL) {
8025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8026 }
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8044 wxMouseEvent *result;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 {
8055 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8056 result = (wxMouseEvent *) &_result_ref;
8057 }
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8072 long result;
8073 PyObject * obj0 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 resultobj = PyInt_FromLong((long)result);
8088 return resultobj;
8089 fail:
8090 return NULL;
8091 }
8092
8093
8094 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj;
8096 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8097 long result;
8098 PyObject * obj0 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 resultobj = PyInt_FromLong((long)result);
8113 return resultobj;
8114 fail:
8115 return NULL;
8116 }
8117
8118
8119 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8120 PyObject *obj;
8121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8122 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8123 Py_INCREF(obj);
8124 return Py_BuildValue((char *)"");
8125 }
8126 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8127 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8128 return 1;
8129 }
8130
8131
8132 static PyObject *_wrap_ScrollBarNameStr_get() {
8133 PyObject *pyobj;
8134
8135 {
8136 #if wxUSE_UNICODE
8137 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8138 #else
8139 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8140 #endif
8141 }
8142 return pyobj;
8143 }
8144
8145
8146 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxWindow *arg1 = (wxWindow *) 0 ;
8149 int arg2 = (int) -1 ;
8150 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8151 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8152 wxSize const &arg4_defvalue = wxDefaultSize ;
8153 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8154 long arg5 = (long) wxSB_HORIZONTAL ;
8155 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8156 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8157 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8158 wxString *arg7 = (wxString *) &arg7_defvalue ;
8159 wxScrollBar *result;
8160 wxPoint temp3 ;
8161 wxSize temp4 ;
8162 bool temp7 = False ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj2 = 0 ;
8165 PyObject * obj3 = 0 ;
8166 PyObject * obj5 = 0 ;
8167 PyObject * obj6 = 0 ;
8168 char *kwnames[] = {
8169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8170 };
8171
8172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8174 if (obj2) {
8175 {
8176 arg3 = &temp3;
8177 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8178 }
8179 }
8180 if (obj3) {
8181 {
8182 arg4 = &temp4;
8183 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8184 }
8185 }
8186 if (obj5) {
8187 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8188 if (arg6 == NULL) {
8189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8190 }
8191 }
8192 if (obj6) {
8193 {
8194 arg7 = wxString_in_helper(obj6);
8195 if (arg7 == NULL) SWIG_fail;
8196 temp7 = True;
8197 }
8198 }
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8207 {
8208 if (temp7)
8209 delete arg7;
8210 }
8211 return resultobj;
8212 fail:
8213 {
8214 if (temp7)
8215 delete arg7;
8216 }
8217 return NULL;
8218 }
8219
8220
8221 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8222 PyObject *resultobj;
8223 wxScrollBar *result;
8224 char *kwnames[] = {
8225 NULL
8226 };
8227
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (wxScrollBar *)new wxScrollBar();
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8246 wxWindow *arg2 = (wxWindow *) 0 ;
8247 int arg3 = (int) -1 ;
8248 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8249 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8250 wxSize const &arg5_defvalue = wxDefaultSize ;
8251 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8252 long arg6 = (long) wxSB_HORIZONTAL ;
8253 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8254 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8255 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8256 wxString *arg8 = (wxString *) &arg8_defvalue ;
8257 bool result;
8258 wxPoint temp4 ;
8259 wxSize temp5 ;
8260 bool temp8 = False ;
8261 PyObject * obj0 = 0 ;
8262 PyObject * obj1 = 0 ;
8263 PyObject * obj3 = 0 ;
8264 PyObject * obj4 = 0 ;
8265 PyObject * obj6 = 0 ;
8266 PyObject * obj7 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8274 if (obj3) {
8275 {
8276 arg4 = &temp4;
8277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8278 }
8279 }
8280 if (obj4) {
8281 {
8282 arg5 = &temp5;
8283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8284 }
8285 }
8286 if (obj6) {
8287 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8288 if (arg7 == NULL) {
8289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8290 }
8291 }
8292 if (obj7) {
8293 {
8294 arg8 = wxString_in_helper(obj7);
8295 if (arg8 == NULL) SWIG_fail;
8296 temp8 = True;
8297 }
8298 }
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 resultobj = PyInt_FromLong((long)result);
8307 {
8308 if (temp8)
8309 delete arg8;
8310 }
8311 return resultobj;
8312 fail:
8313 {
8314 if (temp8)
8315 delete arg8;
8316 }
8317 return NULL;
8318 }
8319
8320
8321 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8322 PyObject *resultobj;
8323 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8324 int result;
8325 PyObject * obj0 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "self", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = PyInt_FromLong((long)result);
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8349 int result;
8350 PyObject * obj0 = 0 ;
8351 char *kwnames[] = {
8352 (char *) "self", NULL
8353 };
8354
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8357 {
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8360
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 resultobj = PyInt_FromLong((long)result);
8365 return resultobj;
8366 fail:
8367 return NULL;
8368 }
8369
8370
8371 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8374 int result;
8375 PyObject * obj0 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "self", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 resultobj = PyInt_FromLong((long)result);
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj;
8398 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8399 int result;
8400 PyObject * obj0 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "self", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (int)((wxScrollBar const *)arg1)->GetRange();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = PyInt_FromLong((long)result);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8424 bool result;
8425 PyObject * obj0 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 resultobj = PyInt_FromLong((long)result);
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8449 int arg2 ;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self",(char *) "viewStart", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 (arg1)->SetThumbPosition(arg2);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 Py_INCREF(Py_None); resultobj = Py_None;
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8474 int arg2 ;
8475 int arg3 ;
8476 int arg4 ;
8477 int arg5 ;
8478 bool arg6 = (bool) True ;
8479 PyObject * obj0 = 0 ;
8480 PyObject * obj5 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8487 if (obj5) {
8488 arg6 = PyInt_AsLong(obj5) ? true : false;
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 Py_INCREF(Py_None); resultobj = Py_None;
8499 return resultobj;
8500 fail:
8501 return NULL;
8502 }
8503
8504
8505 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8506 PyObject *obj;
8507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8508 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8509 Py_INCREF(obj);
8510 return Py_BuildValue((char *)"");
8511 }
8512 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8513 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8514 return 1;
8515 }
8516
8517
8518 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8519 PyObject *pyobj;
8520
8521 {
8522 #if wxUSE_UNICODE
8523 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8524 #else
8525 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8526 #endif
8527 }
8528 return pyobj;
8529 }
8530
8531
8532 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8533 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8534 return 1;
8535 }
8536
8537
8538 static PyObject *_wrap_SpinCtrlNameStr_get() {
8539 PyObject *pyobj;
8540
8541 {
8542 #if wxUSE_UNICODE
8543 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8544 #else
8545 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8546 #endif
8547 }
8548 return pyobj;
8549 }
8550
8551
8552 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj;
8554 wxWindow *arg1 = (wxWindow *) 0 ;
8555 int arg2 = (int) -1 ;
8556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8558 wxSize const &arg4_defvalue = wxDefaultSize ;
8559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8560 long arg5 = (long) wxSP_HORIZONTAL ;
8561 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8562 wxString *arg6 = (wxString *) &arg6_defvalue ;
8563 wxSpinButton *result;
8564 wxPoint temp3 ;
8565 wxSize temp4 ;
8566 bool temp6 = False ;
8567 PyObject * obj0 = 0 ;
8568 PyObject * obj2 = 0 ;
8569 PyObject * obj3 = 0 ;
8570 PyObject * obj5 = 0 ;
8571 char *kwnames[] = {
8572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8573 };
8574
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8577 if (obj2) {
8578 {
8579 arg3 = &temp3;
8580 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8581 }
8582 }
8583 if (obj3) {
8584 {
8585 arg4 = &temp4;
8586 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8587 }
8588 }
8589 if (obj5) {
8590 {
8591 arg6 = wxString_in_helper(obj5);
8592 if (arg6 == NULL) SWIG_fail;
8593 temp6 = True;
8594 }
8595 }
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8604 {
8605 if (temp6)
8606 delete arg6;
8607 }
8608 return resultobj;
8609 fail:
8610 {
8611 if (temp6)
8612 delete arg6;
8613 }
8614 return NULL;
8615 }
8616
8617
8618 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject *resultobj;
8620 wxSpinButton *result;
8621 char *kwnames[] = {
8622 NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 result = (wxSpinButton *)new wxSpinButton();
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8634 return resultobj;
8635 fail:
8636 return NULL;
8637 }
8638
8639
8640 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8643 wxWindow *arg2 = (wxWindow *) 0 ;
8644 int arg3 = (int) -1 ;
8645 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8646 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8647 wxSize const &arg5_defvalue = wxDefaultSize ;
8648 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8649 long arg6 = (long) wxSP_HORIZONTAL ;
8650 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8651 wxString *arg7 = (wxString *) &arg7_defvalue ;
8652 bool result;
8653 wxPoint temp4 ;
8654 wxSize temp5 ;
8655 bool temp7 = False ;
8656 PyObject * obj0 = 0 ;
8657 PyObject * obj1 = 0 ;
8658 PyObject * obj3 = 0 ;
8659 PyObject * obj4 = 0 ;
8660 PyObject * obj6 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 if (obj3) {
8669 {
8670 arg4 = &temp4;
8671 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8672 }
8673 }
8674 if (obj4) {
8675 {
8676 arg5 = &temp5;
8677 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8678 }
8679 }
8680 if (obj6) {
8681 {
8682 arg7 = wxString_in_helper(obj6);
8683 if (arg7 == NULL) SWIG_fail;
8684 temp7 = True;
8685 }
8686 }
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = PyInt_FromLong((long)result);
8695 {
8696 if (temp7)
8697 delete arg7;
8698 }
8699 return resultobj;
8700 fail:
8701 {
8702 if (temp7)
8703 delete arg7;
8704 }
8705 return NULL;
8706 }
8707
8708
8709 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8712 int result;
8713 PyObject * obj0 = 0 ;
8714 char *kwnames[] = {
8715 (char *) "self", NULL
8716 };
8717
8718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = (int)((wxSpinButton const *)arg1)->GetValue();
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = PyInt_FromLong((long)result);
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8737 int result;
8738 PyObject * obj0 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "self", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = (int)((wxSpinButton const *)arg1)->GetMin();
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 resultobj = PyInt_FromLong((long)result);
8753 return resultobj;
8754 fail:
8755 return NULL;
8756 }
8757
8758
8759 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj;
8761 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8762 int result;
8763 PyObject * obj0 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 result = (int)((wxSpinButton const *)arg1)->GetMax();
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = PyInt_FromLong((long)result);
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8787 int arg2 ;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self",(char *) "val", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 (arg1)->SetValue(arg2);
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 Py_INCREF(Py_None); resultobj = Py_None;
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8812 int arg2 ;
8813 PyObject * obj0 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self",(char *) "minVal", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 (arg1)->SetMin(arg2);
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 Py_INCREF(Py_None); resultobj = Py_None;
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8837 int arg2 ;
8838 PyObject * obj0 = 0 ;
8839 char *kwnames[] = {
8840 (char *) "self",(char *) "maxVal", NULL
8841 };
8842
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 (arg1)->SetMax(arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 Py_INCREF(Py_None); resultobj = Py_None;
8853 return resultobj;
8854 fail:
8855 return NULL;
8856 }
8857
8858
8859 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8862 int arg2 ;
8863 int arg3 ;
8864 PyObject * obj0 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 (arg1)->SetRange(arg2,arg3);
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 Py_INCREF(Py_None); resultobj = Py_None;
8879 return resultobj;
8880 fail:
8881 return NULL;
8882 }
8883
8884
8885 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj;
8887 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8888 bool result;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 resultobj = PyInt_FromLong((long)result);
8904 return resultobj;
8905 fail:
8906 return NULL;
8907 }
8908
8909
8910 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8911 PyObject *obj;
8912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8913 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8914 Py_INCREF(obj);
8915 return Py_BuildValue((char *)"");
8916 }
8917 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxWindow *arg1 = (wxWindow *) 0 ;
8920 int arg2 = (int) -1 ;
8921 wxString const &arg3_defvalue = wxPyEmptyString ;
8922 wxString *arg3 = (wxString *) &arg3_defvalue ;
8923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8925 wxSize const &arg5_defvalue = wxDefaultSize ;
8926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8927 long arg6 = (long) wxSP_ARROW_KEYS ;
8928 int arg7 = (int) 0 ;
8929 int arg8 = (int) 100 ;
8930 int arg9 = (int) 0 ;
8931 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8932 wxString *arg10 = (wxString *) &arg10_defvalue ;
8933 wxSpinCtrl *result;
8934 bool temp3 = False ;
8935 wxPoint temp4 ;
8936 wxSize temp5 ;
8937 bool temp10 = False ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj2 = 0 ;
8940 PyObject * obj3 = 0 ;
8941 PyObject * obj4 = 0 ;
8942 PyObject * obj9 = 0 ;
8943 char *kwnames[] = {
8944 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8945 };
8946
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8949 if (obj2) {
8950 {
8951 arg3 = wxString_in_helper(obj2);
8952 if (arg3 == NULL) SWIG_fail;
8953 temp3 = True;
8954 }
8955 }
8956 if (obj3) {
8957 {
8958 arg4 = &temp4;
8959 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8960 }
8961 }
8962 if (obj4) {
8963 {
8964 arg5 = &temp5;
8965 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8966 }
8967 }
8968 if (obj9) {
8969 {
8970 arg10 = wxString_in_helper(obj9);
8971 if (arg10 == NULL) SWIG_fail;
8972 temp10 = True;
8973 }
8974 }
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8983 {
8984 if (temp3)
8985 delete arg3;
8986 }
8987 {
8988 if (temp10)
8989 delete arg10;
8990 }
8991 return resultobj;
8992 fail:
8993 {
8994 if (temp3)
8995 delete arg3;
8996 }
8997 {
8998 if (temp10)
8999 delete arg10;
9000 }
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxSpinCtrl *result;
9008 char *kwnames[] = {
9009 NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (wxSpinCtrl *)new wxSpinCtrl();
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9021 return resultobj;
9022 fail:
9023 return NULL;
9024 }
9025
9026
9027 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9028 PyObject *resultobj;
9029 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9030 wxWindow *arg2 = (wxWindow *) 0 ;
9031 int arg3 = (int) -1 ;
9032 wxString const &arg4_defvalue = wxPyEmptyString ;
9033 wxString *arg4 = (wxString *) &arg4_defvalue ;
9034 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9035 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9036 wxSize const &arg6_defvalue = wxDefaultSize ;
9037 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9038 long arg7 = (long) wxSP_ARROW_KEYS ;
9039 int arg8 = (int) 0 ;
9040 int arg9 = (int) 100 ;
9041 int arg10 = (int) 0 ;
9042 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9043 wxString *arg11 = (wxString *) &arg11_defvalue ;
9044 bool result;
9045 bool temp4 = False ;
9046 wxPoint temp5 ;
9047 wxSize temp6 ;
9048 bool temp11 = False ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 PyObject * obj3 = 0 ;
9052 PyObject * obj4 = 0 ;
9053 PyObject * obj5 = 0 ;
9054 PyObject * obj10 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9062 if (obj3) {
9063 {
9064 arg4 = wxString_in_helper(obj3);
9065 if (arg4 == NULL) SWIG_fail;
9066 temp4 = True;
9067 }
9068 }
9069 if (obj4) {
9070 {
9071 arg5 = &temp5;
9072 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9073 }
9074 }
9075 if (obj5) {
9076 {
9077 arg6 = &temp6;
9078 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9079 }
9080 }
9081 if (obj10) {
9082 {
9083 arg11 = wxString_in_helper(obj10);
9084 if (arg11 == NULL) SWIG_fail;
9085 temp11 = True;
9086 }
9087 }
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 resultobj = PyInt_FromLong((long)result);
9096 {
9097 if (temp4)
9098 delete arg4;
9099 }
9100 {
9101 if (temp11)
9102 delete arg11;
9103 }
9104 return resultobj;
9105 fail:
9106 {
9107 if (temp4)
9108 delete arg4;
9109 }
9110 {
9111 if (temp11)
9112 delete arg11;
9113 }
9114 return NULL;
9115 }
9116
9117
9118 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9121 int result;
9122 PyObject * obj0 = 0 ;
9123 char *kwnames[] = {
9124 (char *) "self", NULL
9125 };
9126
9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 resultobj = PyInt_FromLong((long)result);
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9146 int arg2 ;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "value", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 (arg1)->SetValue(arg2);
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
9161 Py_INCREF(Py_None); resultobj = Py_None;
9162 return resultobj;
9163 fail:
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9171 wxString *arg2 = 0 ;
9172 bool temp2 = False ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self",(char *) "text", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9181 {
9182 arg2 = wxString_in_helper(obj1);
9183 if (arg2 == NULL) SWIG_fail;
9184 temp2 = True;
9185 }
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->SetValue((wxString const &)*arg2);
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 {
9195 if (temp2)
9196 delete arg2;
9197 }
9198 return resultobj;
9199 fail:
9200 {
9201 if (temp2)
9202 delete arg2;
9203 }
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9211 int arg2 ;
9212 int arg3 ;
9213 PyObject * obj0 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 (arg1)->SetRange(arg2,arg3);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 Py_INCREF(Py_None); resultobj = Py_None;
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9237 int result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = PyInt_FromLong((long)result);
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj;
9261 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9262 int result;
9263 PyObject * obj0 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = PyInt_FromLong((long)result);
9278 return resultobj;
9279 fail:
9280 return NULL;
9281 }
9282
9283
9284 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9285 PyObject *resultobj;
9286 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9287 long arg2 ;
9288 long arg3 ;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "self",(char *) "from",(char *) "to", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 (arg1)->SetSelection(arg2,arg3);
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 Py_INCREF(Py_None); resultobj = Py_None;
9304 return resultobj;
9305 fail:
9306 return NULL;
9307 }
9308
9309
9310 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9311 PyObject *obj;
9312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9313 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9314 Py_INCREF(obj);
9315 return Py_BuildValue((char *)"");
9316 }
9317 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9318 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9319 return 1;
9320 }
9321
9322
9323 static PyObject *_wrap_RadioBoxNameStr_get() {
9324 PyObject *pyobj;
9325
9326 {
9327 #if wxUSE_UNICODE
9328 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9329 #else
9330 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9331 #endif
9332 }
9333 return pyobj;
9334 }
9335
9336
9337 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9338 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9339 return 1;
9340 }
9341
9342
9343 static PyObject *_wrap_RadioButtonNameStr_get() {
9344 PyObject *pyobj;
9345
9346 {
9347 #if wxUSE_UNICODE
9348 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9349 #else
9350 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9351 #endif
9352 }
9353 return pyobj;
9354 }
9355
9356
9357 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxWindow *arg1 = (wxWindow *) 0 ;
9360 int arg2 ;
9361 wxString *arg3 = 0 ;
9362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9364 wxSize const &arg5_defvalue = wxDefaultSize ;
9365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9366 int arg6 = (int) 0 ;
9367 wxString *arg7 = (wxString *) NULL ;
9368 int arg8 = (int) 0 ;
9369 long arg9 = (long) wxRA_HORIZONTAL ;
9370 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9371 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9372 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9373 wxString *arg11 = (wxString *) &arg11_defvalue ;
9374 wxRadioBox *result;
9375 bool temp3 = False ;
9376 wxPoint temp4 ;
9377 wxSize temp5 ;
9378 bool temp10 = False ;
9379 PyObject * obj0 = 0 ;
9380 PyObject * obj2 = 0 ;
9381 PyObject * obj3 = 0 ;
9382 PyObject * obj4 = 0 ;
9383 PyObject * obj5 = 0 ;
9384 PyObject * obj8 = 0 ;
9385 PyObject * obj9 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9392 {
9393 arg3 = wxString_in_helper(obj2);
9394 if (arg3 == NULL) SWIG_fail;
9395 temp3 = True;
9396 }
9397 if (obj3) {
9398 {
9399 arg4 = &temp4;
9400 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9401 }
9402 }
9403 if (obj4) {
9404 {
9405 arg5 = &temp5;
9406 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9407 }
9408 }
9409 if (obj5) {
9410 {
9411 arg6 = PyList_Size(obj5);
9412 arg7 = wxString_LIST_helper(obj5);
9413 if (arg7 == NULL) SWIG_fail;
9414 }
9415 }
9416 if (obj8) {
9417 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9418 if (arg10 == NULL) {
9419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9420 }
9421 }
9422 if (obj9) {
9423 {
9424 arg11 = wxString_in_helper(obj9);
9425 if (arg11 == NULL) SWIG_fail;
9426 temp10 = True;
9427 }
9428 }
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 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);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9437 {
9438 if (temp3)
9439 delete arg3;
9440 }
9441 {
9442 if (arg7) delete [] arg7;
9443 }
9444 {
9445 if (temp10)
9446 delete arg11;
9447 }
9448 return resultobj;
9449 fail:
9450 {
9451 if (temp3)
9452 delete arg3;
9453 }
9454 {
9455 if (arg7) delete [] arg7;
9456 }
9457 {
9458 if (temp10)
9459 delete arg11;
9460 }
9461 return NULL;
9462 }
9463
9464
9465 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxRadioBox *result;
9468 char *kwnames[] = {
9469 NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 result = (wxRadioBox *)new wxRadioBox();
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9481 return resultobj;
9482 fail:
9483 return NULL;
9484 }
9485
9486
9487 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9490 wxWindow *arg2 = (wxWindow *) 0 ;
9491 int arg3 ;
9492 wxString *arg4 = 0 ;
9493 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9494 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9495 wxSize const &arg6_defvalue = wxDefaultSize ;
9496 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9497 int arg7 = (int) 0 ;
9498 wxString *arg8 = (wxString *) NULL ;
9499 int arg9 = (int) 0 ;
9500 long arg10 = (long) wxRA_HORIZONTAL ;
9501 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9502 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9503 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9504 wxString *arg12 = (wxString *) &arg12_defvalue ;
9505 bool result;
9506 bool temp4 = False ;
9507 wxPoint temp5 ;
9508 wxSize temp6 ;
9509 bool temp11 = False ;
9510 PyObject * obj0 = 0 ;
9511 PyObject * obj1 = 0 ;
9512 PyObject * obj3 = 0 ;
9513 PyObject * obj4 = 0 ;
9514 PyObject * obj5 = 0 ;
9515 PyObject * obj6 = 0 ;
9516 PyObject * obj9 = 0 ;
9517 PyObject * obj10 = 0 ;
9518 char *kwnames[] = {
9519 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9520 };
9521
9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9524 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9525 {
9526 arg4 = wxString_in_helper(obj3);
9527 if (arg4 == NULL) SWIG_fail;
9528 temp4 = True;
9529 }
9530 if (obj4) {
9531 {
9532 arg5 = &temp5;
9533 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9534 }
9535 }
9536 if (obj5) {
9537 {
9538 arg6 = &temp6;
9539 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9540 }
9541 }
9542 if (obj6) {
9543 {
9544 arg7 = PyList_Size(obj6);
9545 arg8 = wxString_LIST_helper(obj6);
9546 if (arg8 == NULL) SWIG_fail;
9547 }
9548 }
9549 if (obj9) {
9550 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9551 if (arg11 == NULL) {
9552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9553 }
9554 }
9555 if (obj10) {
9556 {
9557 arg12 = wxString_in_helper(obj10);
9558 if (arg12 == NULL) SWIG_fail;
9559 temp11 = True;
9560 }
9561 }
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 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);
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 resultobj = PyInt_FromLong((long)result);
9570 {
9571 if (temp4)
9572 delete arg4;
9573 }
9574 {
9575 if (arg8) delete [] arg8;
9576 }
9577 {
9578 if (temp11)
9579 delete arg12;
9580 }
9581 return resultobj;
9582 fail:
9583 {
9584 if (temp4)
9585 delete arg4;
9586 }
9587 {
9588 if (arg8) delete [] arg8;
9589 }
9590 {
9591 if (temp11)
9592 delete arg12;
9593 }
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9601 int arg2 ;
9602 PyObject * obj0 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self",(char *) "n", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 (arg1)->SetSelection(arg2);
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 Py_INCREF(Py_None); resultobj = Py_None;
9617 return resultobj;
9618 fail:
9619 return NULL;
9620 }
9621
9622
9623 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj;
9625 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9626 int result;
9627 PyObject * obj0 = 0 ;
9628 char *kwnames[] = {
9629 (char *) "self", NULL
9630 };
9631
9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 resultobj = PyInt_FromLong((long)result);
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9651 wxString result;
9652 PyObject * obj0 = 0 ;
9653 char *kwnames[] = {
9654 (char *) "self", NULL
9655 };
9656
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9662
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 {
9667 #if wxUSE_UNICODE
9668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9669 #else
9670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9671 #endif
9672 }
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9682 wxString *arg2 = 0 ;
9683 bool result;
9684 bool temp2 = False ;
9685 PyObject * obj0 = 0 ;
9686 PyObject * obj1 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self",(char *) "s", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9693 {
9694 arg2 = wxString_in_helper(obj1);
9695 if (arg2 == NULL) SWIG_fail;
9696 temp2 = True;
9697 }
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 resultobj = PyInt_FromLong((long)result);
9706 {
9707 if (temp2)
9708 delete arg2;
9709 }
9710 return resultobj;
9711 fail:
9712 {
9713 if (temp2)
9714 delete arg2;
9715 }
9716 return NULL;
9717 }
9718
9719
9720 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9723 int result;
9724 PyObject * obj0 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 result = (int)((wxRadioBox const *)arg1)->GetCount();
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = PyInt_FromLong((long)result);
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj;
9747 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9748 wxString *arg2 = 0 ;
9749 int result;
9750 bool temp2 = False ;
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "s", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 {
9760 arg2 = wxString_in_helper(obj1);
9761 if (arg2 == NULL) SWIG_fail;
9762 temp2 = True;
9763 }
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 resultobj = PyInt_FromLong((long)result);
9772 {
9773 if (temp2)
9774 delete arg2;
9775 }
9776 return resultobj;
9777 fail:
9778 {
9779 if (temp2)
9780 delete arg2;
9781 }
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9789 int arg2 ;
9790 wxString result;
9791 PyObject * obj0 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self",(char *) "n", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 {
9806 #if wxUSE_UNICODE
9807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9808 #else
9809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9810 #endif
9811 }
9812 return resultobj;
9813 fail:
9814 return NULL;
9815 }
9816
9817
9818 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9821 int arg2 ;
9822 wxString *arg3 = 0 ;
9823 bool temp3 = False ;
9824 PyObject * obj0 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "self",(char *) "n",(char *) "label", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9832 {
9833 arg3 = wxString_in_helper(obj2);
9834 if (arg3 == NULL) SWIG_fail;
9835 temp3 = True;
9836 }
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 (arg1)->SetString(arg2,(wxString const &)*arg3);
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 Py_INCREF(Py_None); resultobj = Py_None;
9845 {
9846 if (temp3)
9847 delete arg3;
9848 }
9849 return resultobj;
9850 fail:
9851 {
9852 if (temp3)
9853 delete arg3;
9854 }
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9862 int arg2 ;
9863 bool arg3 = (bool) True ;
9864 PyObject * obj0 = 0 ;
9865 PyObject * obj2 = 0 ;
9866 char *kwnames[] = {
9867 (char *) "self",(char *) "n",(char *) "enable", NULL
9868 };
9869
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9872 if (obj2) {
9873 arg3 = PyInt_AsLong(obj2) ? true : false;
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 (arg1)->Enable(arg2,arg3);
9879
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) SWIG_fail;
9882 }
9883 Py_INCREF(Py_None); resultobj = Py_None;
9884 return resultobj;
9885 fail:
9886 return NULL;
9887 }
9888
9889
9890 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj;
9892 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9893 int arg2 ;
9894 bool arg3 = (bool) True ;
9895 PyObject * obj0 = 0 ;
9896 PyObject * obj2 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self",(char *) "n",(char *) "show", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9903 if (obj2) {
9904 arg3 = PyInt_AsLong(obj2) ? true : false;
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 (arg1)->Show(arg2,arg3);
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 Py_INCREF(Py_None); resultobj = Py_None;
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9924 int result;
9925 PyObject * obj0 = 0 ;
9926 char *kwnames[] = {
9927 (char *) "self", NULL
9928 };
9929
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9932 {
9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
9934 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9935
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 resultobj = PyInt_FromLong((long)result);
9940 return resultobj;
9941 fail:
9942 return NULL;
9943 }
9944
9945
9946 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj;
9948 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9949 int result;
9950 PyObject * obj0 = 0 ;
9951 char *kwnames[] = {
9952 (char *) "self", NULL
9953 };
9954
9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9957 {
9958 PyThreadState* __tstate = wxPyBeginAllowThreads();
9959 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9960
9961 wxPyEndAllowThreads(__tstate);
9962 if (PyErr_Occurred()) SWIG_fail;
9963 }
9964 resultobj = PyInt_FromLong((long)result);
9965 return resultobj;
9966 fail:
9967 return NULL;
9968 }
9969
9970
9971 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9972 PyObject *resultobj;
9973 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9974 int arg2 ;
9975 int arg3 ;
9976 long arg4 ;
9977 int result;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 }
9992 resultobj = PyInt_FromLong((long)result);
9993 return resultobj;
9994 fail:
9995 return NULL;
9996 }
9997
9998
9999 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10000 PyObject *obj;
10001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10002 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10003 Py_INCREF(obj);
10004 return Py_BuildValue((char *)"");
10005 }
10006 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxWindow *arg1 = (wxWindow *) 0 ;
10009 int arg2 ;
10010 wxString *arg3 = 0 ;
10011 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10012 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10013 wxSize const &arg5_defvalue = wxDefaultSize ;
10014 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10015 long arg6 = (long) 0 ;
10016 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10017 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10018 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10019 wxString *arg8 = (wxString *) &arg8_defvalue ;
10020 wxRadioButton *result;
10021 bool temp3 = False ;
10022 wxPoint temp4 ;
10023 wxSize temp5 ;
10024 bool temp8 = False ;
10025 PyObject * obj0 = 0 ;
10026 PyObject * obj2 = 0 ;
10027 PyObject * obj3 = 0 ;
10028 PyObject * obj4 = 0 ;
10029 PyObject * obj6 = 0 ;
10030 PyObject * obj7 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10033 };
10034
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10037 {
10038 arg3 = wxString_in_helper(obj2);
10039 if (arg3 == NULL) SWIG_fail;
10040 temp3 = True;
10041 }
10042 if (obj3) {
10043 {
10044 arg4 = &temp4;
10045 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10046 }
10047 }
10048 if (obj4) {
10049 {
10050 arg5 = &temp5;
10051 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10052 }
10053 }
10054 if (obj6) {
10055 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10056 if (arg7 == NULL) {
10057 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10058 }
10059 }
10060 if (obj7) {
10061 {
10062 arg8 = wxString_in_helper(obj7);
10063 if (arg8 == NULL) SWIG_fail;
10064 temp8 = True;
10065 }
10066 }
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10075 {
10076 if (temp3)
10077 delete arg3;
10078 }
10079 {
10080 if (temp8)
10081 delete arg8;
10082 }
10083 return resultobj;
10084 fail:
10085 {
10086 if (temp3)
10087 delete arg3;
10088 }
10089 {
10090 if (temp8)
10091 delete arg8;
10092 }
10093 return NULL;
10094 }
10095
10096
10097 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxRadioButton *result;
10100 char *kwnames[] = {
10101 NULL
10102 };
10103
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (wxRadioButton *)new wxRadioButton();
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10113 return resultobj;
10114 fail:
10115 return NULL;
10116 }
10117
10118
10119 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj;
10121 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10122 wxWindow *arg2 = (wxWindow *) 0 ;
10123 int arg3 ;
10124 wxString *arg4 = 0 ;
10125 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10126 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10127 wxSize const &arg6_defvalue = wxDefaultSize ;
10128 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10129 long arg7 = (long) 0 ;
10130 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10131 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10132 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10133 wxString *arg9 = (wxString *) &arg9_defvalue ;
10134 bool result;
10135 bool temp4 = False ;
10136 wxPoint temp5 ;
10137 wxSize temp6 ;
10138 bool temp9 = False ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 PyObject * obj3 = 0 ;
10142 PyObject * obj4 = 0 ;
10143 PyObject * obj5 = 0 ;
10144 PyObject * obj7 = 0 ;
10145 PyObject * obj8 = 0 ;
10146 char *kwnames[] = {
10147 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10148 };
10149
10150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 {
10154 arg4 = wxString_in_helper(obj3);
10155 if (arg4 == NULL) SWIG_fail;
10156 temp4 = True;
10157 }
10158 if (obj4) {
10159 {
10160 arg5 = &temp5;
10161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10162 }
10163 }
10164 if (obj5) {
10165 {
10166 arg6 = &temp6;
10167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10168 }
10169 }
10170 if (obj7) {
10171 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 if (arg8 == NULL) {
10173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10174 }
10175 }
10176 if (obj8) {
10177 {
10178 arg9 = wxString_in_helper(obj8);
10179 if (arg9 == NULL) SWIG_fail;
10180 temp9 = True;
10181 }
10182 }
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10186
10187 wxPyEndAllowThreads(__tstate);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 }
10190 resultobj = PyInt_FromLong((long)result);
10191 {
10192 if (temp4)
10193 delete arg4;
10194 }
10195 {
10196 if (temp9)
10197 delete arg9;
10198 }
10199 return resultobj;
10200 fail:
10201 {
10202 if (temp4)
10203 delete arg4;
10204 }
10205 {
10206 if (temp9)
10207 delete arg9;
10208 }
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10216 bool result;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 result = (bool)(arg1)->GetValue();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = PyInt_FromLong((long)result);
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10241 bool arg2 ;
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self",(char *) "value", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10250 arg2 = PyInt_AsLong(obj1) ? true : false;
10251 if (PyErr_Occurred()) SWIG_fail;
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 (arg1)->SetValue(arg2);
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 Py_INCREF(Py_None); resultobj = Py_None;
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10267 PyObject *obj;
10268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10269 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10270 Py_INCREF(obj);
10271 return Py_BuildValue((char *)"");
10272 }
10273 static int _wrap_SliderNameStr_set(PyObject *_val) {
10274 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10275 return 1;
10276 }
10277
10278
10279 static PyObject *_wrap_SliderNameStr_get() {
10280 PyObject *pyobj;
10281
10282 {
10283 #if wxUSE_UNICODE
10284 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10285 #else
10286 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10287 #endif
10288 }
10289 return pyobj;
10290 }
10291
10292
10293 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj;
10295 wxWindow *arg1 = (wxWindow *) 0 ;
10296 int arg2 ;
10297 int arg3 ;
10298 int arg4 ;
10299 int arg5 ;
10300 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10301 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10302 wxSize const &arg7_defvalue = wxDefaultSize ;
10303 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10304 long arg8 = (long) wxSL_HORIZONTAL ;
10305 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10306 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10307 wxString const &arg10_defvalue = wxPySliderNameStr ;
10308 wxString *arg10 = (wxString *) &arg10_defvalue ;
10309 wxSlider *result;
10310 wxPoint temp6 ;
10311 wxSize temp7 ;
10312 bool temp10 = False ;
10313 PyObject * obj0 = 0 ;
10314 PyObject * obj5 = 0 ;
10315 PyObject * obj6 = 0 ;
10316 PyObject * obj8 = 0 ;
10317 PyObject * obj9 = 0 ;
10318 char *kwnames[] = {
10319 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10320 };
10321
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10324 if (obj5) {
10325 {
10326 arg6 = &temp6;
10327 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10328 }
10329 }
10330 if (obj6) {
10331 {
10332 arg7 = &temp7;
10333 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10334 }
10335 }
10336 if (obj8) {
10337 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10338 if (arg9 == NULL) {
10339 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10340 }
10341 }
10342 if (obj9) {
10343 {
10344 arg10 = wxString_in_helper(obj9);
10345 if (arg10 == NULL) SWIG_fail;
10346 temp10 = True;
10347 }
10348 }
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10357 {
10358 if (temp10)
10359 delete arg10;
10360 }
10361 return resultobj;
10362 fail:
10363 {
10364 if (temp10)
10365 delete arg10;
10366 }
10367 return NULL;
10368 }
10369
10370
10371 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxSlider *result;
10374 char *kwnames[] = {
10375 NULL
10376 };
10377
10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 result = (wxSlider *)new wxSlider();
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxSlider *arg1 = (wxSlider *) 0 ;
10396 wxWindow *arg2 = (wxWindow *) 0 ;
10397 int arg3 ;
10398 int arg4 ;
10399 int arg5 ;
10400 int arg6 ;
10401 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10402 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10403 wxSize const &arg8_defvalue = wxDefaultSize ;
10404 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10405 long arg9 = (long) wxSL_HORIZONTAL ;
10406 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10407 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10408 wxString const &arg11_defvalue = wxPySliderNameStr ;
10409 wxString *arg11 = (wxString *) &arg11_defvalue ;
10410 bool result;
10411 wxPoint temp7 ;
10412 wxSize temp8 ;
10413 bool temp11 = False ;
10414 PyObject * obj0 = 0 ;
10415 PyObject * obj1 = 0 ;
10416 PyObject * obj6 = 0 ;
10417 PyObject * obj7 = 0 ;
10418 PyObject * obj9 = 0 ;
10419 PyObject * obj10 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10427 if (obj6) {
10428 {
10429 arg7 = &temp7;
10430 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10431 }
10432 }
10433 if (obj7) {
10434 {
10435 arg8 = &temp8;
10436 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10437 }
10438 }
10439 if (obj9) {
10440 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10441 if (arg10 == NULL) {
10442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10443 }
10444 }
10445 if (obj10) {
10446 {
10447 arg11 = wxString_in_helper(obj10);
10448 if (arg11 == NULL) SWIG_fail;
10449 temp11 = True;
10450 }
10451 }
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 resultobj = PyInt_FromLong((long)result);
10460 {
10461 if (temp11)
10462 delete arg11;
10463 }
10464 return resultobj;
10465 fail:
10466 {
10467 if (temp11)
10468 delete arg11;
10469 }
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxSlider *arg1 = (wxSlider *) 0 ;
10477 int result;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 result = (int)((wxSlider const *)arg1)->GetValue();
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 resultobj = PyInt_FromLong((long)result);
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxSlider *arg1 = (wxSlider *) 0 ;
10502 int arg2 ;
10503 PyObject * obj0 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self",(char *) "value", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 (arg1)->SetValue(arg2);
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 Py_INCREF(Py_None); resultobj = Py_None;
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj;
10526 wxSlider *arg1 = (wxSlider *) 0 ;
10527 int arg2 ;
10528 int arg3 ;
10529 PyObject * obj0 = 0 ;
10530 char *kwnames[] = {
10531 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10532 };
10533
10534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->SetRange(arg2,arg3);
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 Py_INCREF(Py_None); resultobj = Py_None;
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxSlider *arg1 = (wxSlider *) 0 ;
10553 int result;
10554 PyObject * obj0 = 0 ;
10555 char *kwnames[] = {
10556 (char *) "self", NULL
10557 };
10558
10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (int)((wxSlider const *)arg1)->GetMin();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = PyInt_FromLong((long)result);
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxSlider *arg1 = (wxSlider *) 0 ;
10578 int result;
10579 PyObject * obj0 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 result = (int)((wxSlider const *)arg1)->GetMax();
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = PyInt_FromLong((long)result);
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxSlider *arg1 = (wxSlider *) 0 ;
10603 int arg2 ;
10604 PyObject * obj0 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self",(char *) "minValue", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 (arg1)->SetMin(arg2);
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 Py_INCREF(Py_None); resultobj = Py_None;
10619 return resultobj;
10620 fail:
10621 return NULL;
10622 }
10623
10624
10625 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxSlider *arg1 = (wxSlider *) 0 ;
10628 int arg2 ;
10629 PyObject * obj0 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self",(char *) "maxValue", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 (arg1)->SetMax(arg2);
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 Py_INCREF(Py_None); resultobj = Py_None;
10644 return resultobj;
10645 fail:
10646 return NULL;
10647 }
10648
10649
10650 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj;
10652 wxSlider *arg1 = (wxSlider *) 0 ;
10653 int arg2 ;
10654 PyObject * obj0 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "self",(char *) "lineSize", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 (arg1)->SetLineSize(arg2);
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 Py_INCREF(Py_None); resultobj = Py_None;
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj;
10677 wxSlider *arg1 = (wxSlider *) 0 ;
10678 int arg2 ;
10679 PyObject * obj0 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self",(char *) "pageSize", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 (arg1)->SetPageSize(arg2);
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 Py_INCREF(Py_None); resultobj = Py_None;
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj;
10702 wxSlider *arg1 = (wxSlider *) 0 ;
10703 int result;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (int)((wxSlider const *)arg1)->GetLineSize();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = PyInt_FromLong((long)result);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxSlider *arg1 = (wxSlider *) 0 ;
10728 int result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (int)((wxSlider const *)arg1)->GetPageSize();
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 resultobj = PyInt_FromLong((long)result);
10744 return resultobj;
10745 fail:
10746 return NULL;
10747 }
10748
10749
10750 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj;
10752 wxSlider *arg1 = (wxSlider *) 0 ;
10753 int arg2 ;
10754 PyObject * obj0 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self",(char *) "lenPixels", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->SetThumbLength(arg2);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 Py_INCREF(Py_None); resultobj = Py_None;
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxSlider *arg1 = (wxSlider *) 0 ;
10778 int result;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = PyInt_FromLong((long)result);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxSlider *arg1 = (wxSlider *) 0 ;
10803 int arg2 ;
10804 int arg3 ;
10805 PyObject * obj0 = 0 ;
10806 char *kwnames[] = {
10807 (char *) "self",(char *) "n",(char *) "pos", NULL
10808 };
10809
10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 (arg1)->SetTickFreq(arg2,arg3);
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 Py_INCREF(Py_None); resultobj = Py_None;
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxSlider *arg1 = (wxSlider *) 0 ;
10829 int result;
10830 PyObject * obj0 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 resultobj = PyInt_FromLong((long)result);
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10852 PyObject *resultobj;
10853 wxSlider *arg1 = (wxSlider *) 0 ;
10854 PyObject * obj0 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 (arg1)->ClearTicks();
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 Py_INCREF(Py_None); resultobj = Py_None;
10869 return resultobj;
10870 fail:
10871 return NULL;
10872 }
10873
10874
10875 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj;
10877 wxSlider *arg1 = (wxSlider *) 0 ;
10878 int arg2 ;
10879 PyObject * obj0 = 0 ;
10880 char *kwnames[] = {
10881 (char *) "self",(char *) "tickPos", NULL
10882 };
10883
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10886 {
10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
10888 (arg1)->SetTick(arg2);
10889
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 Py_INCREF(Py_None); resultobj = Py_None;
10894 return resultobj;
10895 fail:
10896 return NULL;
10897 }
10898
10899
10900 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10901 PyObject *resultobj;
10902 wxSlider *arg1 = (wxSlider *) 0 ;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->ClearSel();
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxSlider *arg1 = (wxSlider *) 0 ;
10927 int result;
10928 PyObject * obj0 = 0 ;
10929 char *kwnames[] = {
10930 (char *) "self", NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 resultobj = PyInt_FromLong((long)result);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxSlider *arg1 = (wxSlider *) 0 ;
10952 int result;
10953 PyObject * obj0 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 result = (int)((wxSlider const *)arg1)->GetSelStart();
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 resultobj = PyInt_FromLong((long)result);
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxSlider *arg1 = (wxSlider *) 0 ;
10977 int arg2 ;
10978 int arg3 ;
10979 PyObject * obj0 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "min",(char *) "max", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10986 {
10987 PyThreadState* __tstate = wxPyBeginAllowThreads();
10988 (arg1)->SetSelection(arg2,arg3);
10989
10990 wxPyEndAllowThreads(__tstate);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 Py_INCREF(Py_None); resultobj = Py_None;
10994 return resultobj;
10995 fail:
10996 return NULL;
10997 }
10998
10999
11000 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11001 PyObject *obj;
11002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11003 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11004 Py_INCREF(obj);
11005 return Py_BuildValue((char *)"");
11006 }
11007 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11008 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11009 return 1;
11010 }
11011
11012
11013 static PyObject *_wrap_ToggleButtonNameStr_get() {
11014 PyObject *pyobj;
11015
11016 {
11017 #if wxUSE_UNICODE
11018 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11019 #else
11020 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11021 #endif
11022 }
11023 return pyobj;
11024 }
11025
11026
11027 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxWindow *arg1 = (wxWindow *) 0 ;
11030 int arg2 ;
11031 wxString *arg3 = 0 ;
11032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11034 wxSize const &arg5_defvalue = wxDefaultSize ;
11035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11036 long arg6 = (long) 0 ;
11037 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11038 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11039 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11040 wxString *arg8 = (wxString *) &arg8_defvalue ;
11041 wxToggleButton *result;
11042 bool temp3 = False ;
11043 wxPoint temp4 ;
11044 wxSize temp5 ;
11045 bool temp8 = False ;
11046 PyObject * obj0 = 0 ;
11047 PyObject * obj2 = 0 ;
11048 PyObject * obj3 = 0 ;
11049 PyObject * obj4 = 0 ;
11050 PyObject * obj6 = 0 ;
11051 PyObject * obj7 = 0 ;
11052 char *kwnames[] = {
11053 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11054 };
11055
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11058 {
11059 arg3 = wxString_in_helper(obj2);
11060 if (arg3 == NULL) SWIG_fail;
11061 temp3 = True;
11062 }
11063 if (obj3) {
11064 {
11065 arg4 = &temp4;
11066 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11067 }
11068 }
11069 if (obj4) {
11070 {
11071 arg5 = &temp5;
11072 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11073 }
11074 }
11075 if (obj6) {
11076 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11077 if (arg7 == NULL) {
11078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11079 }
11080 }
11081 if (obj7) {
11082 {
11083 arg8 = wxString_in_helper(obj7);
11084 if (arg8 == NULL) SWIG_fail;
11085 temp8 = True;
11086 }
11087 }
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11096 {
11097 if (temp3)
11098 delete arg3;
11099 }
11100 {
11101 if (temp8)
11102 delete arg8;
11103 }
11104 return resultobj;
11105 fail:
11106 {
11107 if (temp3)
11108 delete arg3;
11109 }
11110 {
11111 if (temp8)
11112 delete arg8;
11113 }
11114 return NULL;
11115 }
11116
11117
11118 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11119 PyObject *resultobj;
11120 wxToggleButton *result;
11121 char *kwnames[] = {
11122 NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (wxToggleButton *)new wxToggleButton();
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11134 return resultobj;
11135 fail:
11136 return NULL;
11137 }
11138
11139
11140 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11141 PyObject *obj;
11142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11143 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11144 Py_INCREF(obj);
11145 return Py_BuildValue((char *)"");
11146 }
11147 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11148 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11149 return 1;
11150 }
11151
11152
11153 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11154 PyObject *pyobj;
11155
11156 {
11157 #if wxUSE_UNICODE
11158 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11159 #else
11160 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11161 #endif
11162 }
11163 return pyobj;
11164 }
11165
11166
11167 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11168 PyObject *resultobj;
11169 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11170 size_t result;
11171 PyObject * obj0 = 0 ;
11172 char *kwnames[] = {
11173 (char *) "self", NULL
11174 };
11175
11176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 resultobj = PyInt_FromLong((long)result);
11186 return resultobj;
11187 fail:
11188 return NULL;
11189 }
11190
11191
11192 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj;
11194 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11195 size_t arg2 ;
11196 wxWindow *result;
11197 PyObject * obj0 = 0 ;
11198 PyObject * obj1 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self",(char *) "n", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11205 arg2 = (size_t) PyInt_AsLong(obj1);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 {
11208 PyThreadState* __tstate = wxPyBeginAllowThreads();
11209 result = (wxWindow *)(arg1)->GetPage(arg2);
11210
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 {
11215 resultobj = wxPyMake_wxObject(result);
11216 }
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11226 int result;
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = PyInt_FromLong((long)result);
11242 return resultobj;
11243 fail:
11244 return NULL;
11245 }
11246
11247
11248 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj;
11250 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11251 size_t arg2 ;
11252 wxString *arg3 = 0 ;
11253 bool result;
11254 bool temp3 = False ;
11255 PyObject * obj0 = 0 ;
11256 PyObject * obj1 = 0 ;
11257 PyObject * obj2 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self",(char *) "n",(char *) "strText", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11264 arg2 = (size_t) PyInt_AsLong(obj1);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 {
11267 arg3 = wxString_in_helper(obj2);
11268 if (arg3 == NULL) SWIG_fail;
11269 temp3 = True;
11270 }
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 resultobj = PyInt_FromLong((long)result);
11279 {
11280 if (temp3)
11281 delete arg3;
11282 }
11283 return resultobj;
11284 fail:
11285 {
11286 if (temp3)
11287 delete arg3;
11288 }
11289 return NULL;
11290 }
11291
11292
11293 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11296 size_t arg2 ;
11297 wxString result;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "self",(char *) "n", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11306 arg2 = (size_t) PyInt_AsLong(obj1);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
11315 {
11316 #if wxUSE_UNICODE
11317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11318 #else
11319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11320 #endif
11321 }
11322 return resultobj;
11323 fail:
11324 return NULL;
11325 }
11326
11327
11328 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11329 PyObject *resultobj;
11330 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11331 wxImageList *arg2 = (wxImageList *) 0 ;
11332 PyObject * obj0 = 0 ;
11333 PyObject * obj1 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self",(char *) "imageList", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 (arg1)->SetImageList(arg2);
11344
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 Py_INCREF(Py_None); resultobj = Py_None;
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj;
11357 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11358 wxImageList *arg2 = (wxImageList *) 0 ;
11359 PyObject * obj0 = 0 ;
11360 PyObject * obj1 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self",(char *) "imageList", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 (arg1)->AssignImageList(arg2);
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 Py_INCREF(Py_None); resultobj = Py_None;
11376 return resultobj;
11377 fail:
11378 return NULL;
11379 }
11380
11381
11382 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11383 PyObject *resultobj;
11384 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11385 wxImageList *result;
11386 PyObject * obj0 = 0 ;
11387 char *kwnames[] = {
11388 (char *) "self", NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11396
11397 wxPyEndAllowThreads(__tstate);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
11400 {
11401 resultobj = wxPyMake_wxObject(result);
11402 }
11403 return resultobj;
11404 fail:
11405 return NULL;
11406 }
11407
11408
11409 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11412 size_t arg2 ;
11413 int result;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "self",(char *) "n", NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11422 arg2 = (size_t) PyInt_AsLong(obj1);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 resultobj = PyInt_FromLong((long)result);
11432 return resultobj;
11433 fail:
11434 return NULL;
11435 }
11436
11437
11438 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj;
11440 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11441 size_t arg2 ;
11442 int arg3 ;
11443 bool result;
11444 PyObject * obj0 = 0 ;
11445 PyObject * obj1 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self",(char *) "n",(char *) "imageId", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11452 arg2 = (size_t) PyInt_AsLong(obj1);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11457
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
11461 resultobj = PyInt_FromLong((long)result);
11462 return resultobj;
11463 fail:
11464 return NULL;
11465 }
11466
11467
11468 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11471 wxSize *arg2 = 0 ;
11472 wxSize temp2 ;
11473 PyObject * obj0 = 0 ;
11474 PyObject * obj1 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "size", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11481 {
11482 arg2 = &temp2;
11483 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11484 }
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SetPageSize((wxSize const &)*arg2);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496 }
11497
11498
11499 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11500 PyObject *resultobj;
11501 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11502 wxSize *arg2 = 0 ;
11503 wxSize result;
11504 wxSize temp2 ;
11505 PyObject * obj0 = 0 ;
11506 PyObject * obj1 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "self",(char *) "sizePage", NULL
11509 };
11510
11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11513 {
11514 arg2 = &temp2;
11515 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11516 }
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11520
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 {
11525 wxSize * resultptr;
11526 resultptr = new wxSize((wxSize &) result);
11527 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11528 }
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11538 size_t arg2 ;
11539 bool result;
11540 PyObject * obj0 = 0 ;
11541 PyObject * obj1 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self",(char *) "n", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11548 arg2 = (size_t) PyInt_AsLong(obj1);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 result = (bool)(arg1)->DeletePage(arg2);
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 resultobj = PyInt_FromLong((long)result);
11558 return resultobj;
11559 fail:
11560 return NULL;
11561 }
11562
11563
11564 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11567 size_t arg2 ;
11568 bool result;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 char *kwnames[] = {
11572 (char *) "self",(char *) "n", NULL
11573 };
11574
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11577 arg2 = (size_t) PyInt_AsLong(obj1);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = (bool)(arg1)->RemovePage(arg2);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 resultobj = PyInt_FromLong((long)result);
11587 return resultobj;
11588 fail:
11589 return NULL;
11590 }
11591
11592
11593 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11596 bool result;
11597 PyObject * obj0 = 0 ;
11598 char *kwnames[] = {
11599 (char *) "self", NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (bool)(arg1)->DeleteAllPages();
11607
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 resultobj = PyInt_FromLong((long)result);
11612 return resultobj;
11613 fail:
11614 return NULL;
11615 }
11616
11617
11618 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11619 PyObject *resultobj;
11620 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11621 wxWindow *arg2 = (wxWindow *) 0 ;
11622 wxString *arg3 = 0 ;
11623 bool arg4 = (bool) False ;
11624 int arg5 = (int) -1 ;
11625 bool result;
11626 bool temp3 = False ;
11627 PyObject * obj0 = 0 ;
11628 PyObject * obj1 = 0 ;
11629 PyObject * obj2 = 0 ;
11630 PyObject * obj3 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11638 {
11639 arg3 = wxString_in_helper(obj2);
11640 if (arg3 == NULL) SWIG_fail;
11641 temp3 = True;
11642 }
11643 if (obj3) {
11644 arg4 = PyInt_AsLong(obj3) ? true : false;
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 resultobj = PyInt_FromLong((long)result);
11655 {
11656 if (temp3)
11657 delete arg3;
11658 }
11659 return resultobj;
11660 fail:
11661 {
11662 if (temp3)
11663 delete arg3;
11664 }
11665 return NULL;
11666 }
11667
11668
11669 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11670 PyObject *resultobj;
11671 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11672 size_t arg2 ;
11673 wxWindow *arg3 = (wxWindow *) 0 ;
11674 wxString *arg4 = 0 ;
11675 bool arg5 = (bool) False ;
11676 int arg6 = (int) -1 ;
11677 bool result;
11678 bool temp4 = False ;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
11681 PyObject * obj2 = 0 ;
11682 PyObject * obj3 = 0 ;
11683 PyObject * obj4 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11690 arg2 = (size_t) PyInt_AsLong(obj1);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11693 {
11694 arg4 = wxString_in_helper(obj3);
11695 if (arg4 == NULL) SWIG_fail;
11696 temp4 = True;
11697 }
11698 if (obj4) {
11699 arg5 = PyInt_AsLong(obj4) ? true : false;
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 resultobj = PyInt_FromLong((long)result);
11710 {
11711 if (temp4)
11712 delete arg4;
11713 }
11714 return resultobj;
11715 fail:
11716 {
11717 if (temp4)
11718 delete arg4;
11719 }
11720 return NULL;
11721 }
11722
11723
11724 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj;
11726 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11727 size_t arg2 ;
11728 int result;
11729 PyObject * obj0 = 0 ;
11730 PyObject * obj1 = 0 ;
11731 char *kwnames[] = {
11732 (char *) "self",(char *) "n", NULL
11733 };
11734
11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11737 arg2 = (size_t) PyInt_AsLong(obj1);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (int)(arg1)->SetSelection(arg2);
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = PyInt_FromLong((long)result);
11747 return resultobj;
11748 fail:
11749 return NULL;
11750 }
11751
11752
11753 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11754 PyObject *resultobj;
11755 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11756 bool arg2 = (bool) True ;
11757 PyObject * obj0 = 0 ;
11758 PyObject * obj1 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self",(char *) "forward", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11765 if (obj1) {
11766 arg2 = PyInt_AsLong(obj1) ? true : false;
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 (arg1)->AdvanceSelection(arg2);
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 Py_INCREF(Py_None); resultobj = Py_None;
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11784 PyObject *obj;
11785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11786 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11787 Py_INCREF(obj);
11788 return Py_BuildValue((char *)"");
11789 }
11790 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj;
11792 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11793 int arg2 = (int) 0 ;
11794 int arg3 = (int) -1 ;
11795 int arg4 = (int) -1 ;
11796 wxBookCtrlEvent *result;
11797 char *kwnames[] = {
11798 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11819 int result;
11820 PyObject * obj0 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "self", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11830
11831 wxPyEndAllowThreads(__tstate);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 resultobj = PyInt_FromLong((long)result);
11835 return resultobj;
11836 fail:
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj;
11843 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11844 int arg2 ;
11845 PyObject * obj0 = 0 ;
11846 char *kwnames[] = {
11847 (char *) "self",(char *) "nSel", NULL
11848 };
11849
11850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 (arg1)->SetSelection(arg2);
11855
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 Py_INCREF(Py_None); resultobj = Py_None;
11860 return resultobj;
11861 fail:
11862 return NULL;
11863 }
11864
11865
11866 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj;
11868 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11869 int result;
11870 PyObject * obj0 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11880
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 resultobj = PyInt_FromLong((long)result);
11885 return resultobj;
11886 fail:
11887 return NULL;
11888 }
11889
11890
11891 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj;
11893 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11894 int arg2 ;
11895 PyObject * obj0 = 0 ;
11896 char *kwnames[] = {
11897 (char *) "self",(char *) "nOldSel", NULL
11898 };
11899
11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 (arg1)->SetOldSelection(arg2);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 Py_INCREF(Py_None); resultobj = Py_None;
11910 return resultobj;
11911 fail:
11912 return NULL;
11913 }
11914
11915
11916 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11917 PyObject *obj;
11918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11919 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11920 Py_INCREF(obj);
11921 return Py_BuildValue((char *)"");
11922 }
11923 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj;
11925 wxWindow *arg1 = (wxWindow *) 0 ;
11926 int arg2 ;
11927 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11928 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11929 wxSize const &arg4_defvalue = wxDefaultSize ;
11930 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11931 long arg5 = (long) 0 ;
11932 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11933 wxString *arg6 = (wxString *) &arg6_defvalue ;
11934 wxNotebook *result;
11935 wxPoint temp3 ;
11936 wxSize temp4 ;
11937 bool temp6 = False ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj2 = 0 ;
11940 PyObject * obj3 = 0 ;
11941 PyObject * obj5 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11948 if (obj2) {
11949 {
11950 arg3 = &temp3;
11951 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11952 }
11953 }
11954 if (obj3) {
11955 {
11956 arg4 = &temp4;
11957 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11958 }
11959 }
11960 if (obj5) {
11961 {
11962 arg6 = wxString_in_helper(obj5);
11963 if (arg6 == NULL) SWIG_fail;
11964 temp6 = True;
11965 }
11966 }
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 {
11975 resultobj = wxPyMake_wxObject(result);
11976 }
11977 {
11978 if (temp6)
11979 delete arg6;
11980 }
11981 return resultobj;
11982 fail:
11983 {
11984 if (temp6)
11985 delete arg6;
11986 }
11987 return NULL;
11988 }
11989
11990
11991 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxNotebook *result;
11994 char *kwnames[] = {
11995 NULL
11996 };
11997
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 result = (wxNotebook *)new wxNotebook();
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 {
12007 resultobj = wxPyMake_wxObject(result);
12008 }
12009 return resultobj;
12010 fail:
12011 return NULL;
12012 }
12013
12014
12015 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12016 PyObject *resultobj;
12017 wxNotebook *arg1 = (wxNotebook *) 0 ;
12018 wxWindow *arg2 = (wxWindow *) 0 ;
12019 int arg3 ;
12020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12022 wxSize const &arg5_defvalue = wxDefaultSize ;
12023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12024 long arg6 = (long) 0 ;
12025 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12026 wxString *arg7 = (wxString *) &arg7_defvalue ;
12027 bool result;
12028 wxPoint temp4 ;
12029 wxSize temp5 ;
12030 bool temp7 = False ;
12031 PyObject * obj0 = 0 ;
12032 PyObject * obj1 = 0 ;
12033 PyObject * obj3 = 0 ;
12034 PyObject * obj4 = 0 ;
12035 PyObject * obj6 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12043 if (obj3) {
12044 {
12045 arg4 = &temp4;
12046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12047 }
12048 }
12049 if (obj4) {
12050 {
12051 arg5 = &temp5;
12052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12053 }
12054 }
12055 if (obj6) {
12056 {
12057 arg7 = wxString_in_helper(obj6);
12058 if (arg7 == NULL) SWIG_fail;
12059 temp7 = True;
12060 }
12061 }
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 resultobj = PyInt_FromLong((long)result);
12070 {
12071 if (temp7)
12072 delete arg7;
12073 }
12074 return resultobj;
12075 fail:
12076 {
12077 if (temp7)
12078 delete arg7;
12079 }
12080 return NULL;
12081 }
12082
12083
12084 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj;
12086 wxNotebook *arg1 = (wxNotebook *) 0 ;
12087 int result;
12088 PyObject * obj0 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 resultobj = PyInt_FromLong((long)result);
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxNotebook *arg1 = (wxNotebook *) 0 ;
12112 wxSize *arg2 = 0 ;
12113 wxSize temp2 ;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "padding", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12122 {
12123 arg2 = &temp2;
12124 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12125 }
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 (arg1)->SetPadding((wxSize const &)*arg2);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 Py_INCREF(Py_None); resultobj = Py_None;
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxNotebook *arg1 = (wxNotebook *) 0 ;
12143 wxSize *arg2 = 0 ;
12144 wxSize temp2 ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "sz", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12153 {
12154 arg2 = &temp2;
12155 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12156 }
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 (arg1)->SetTabSize((wxSize const &)*arg2);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 Py_INCREF(Py_None); resultobj = Py_None;
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj;
12173 wxNotebook *arg1 = (wxNotebook *) 0 ;
12174 wxPoint *arg2 = 0 ;
12175 long *arg3 = (long *) 0 ;
12176 int result;
12177 wxPoint temp2 ;
12178 long temp3 ;
12179 PyObject * obj0 = 0 ;
12180 PyObject * obj1 = 0 ;
12181 char *kwnames[] = {
12182 (char *) "self",(char *) "pt", NULL
12183 };
12184
12185 arg3 = &temp3;
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12188 {
12189 arg2 = &temp2;
12190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12191 }
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = PyInt_FromLong((long)result);
12200 {
12201 PyObject *o = PyInt_FromLong((long) (*arg3));
12202 resultobj = t_output_helper(resultobj,o);
12203 }
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12211 PyObject *resultobj;
12212 wxNotebook *arg1 = (wxNotebook *) 0 ;
12213 wxSize *arg2 = 0 ;
12214 wxSize result;
12215 wxSize temp2 ;
12216 PyObject * obj0 = 0 ;
12217 PyObject * obj1 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self",(char *) "sizePage", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12224 {
12225 arg2 = &temp2;
12226 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12227 }
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 {
12236 wxSize * resultptr;
12237 resultptr = new wxSize((wxSize &) result);
12238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12239 }
12240 return resultobj;
12241 fail:
12242 return NULL;
12243 }
12244
12245
12246 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12247 PyObject *obj;
12248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12249 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12250 Py_INCREF(obj);
12251 return Py_BuildValue((char *)"");
12252 }
12253 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12256 int arg2 = (int) 0 ;
12257 int arg3 = (int) -1 ;
12258 int arg4 = (int) -1 ;
12259 wxNotebookEvent *result;
12260 char *kwnames[] = {
12261 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12262 };
12263
12264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12268
12269 wxPyEndAllowThreads(__tstate);
12270 if (PyErr_Occurred()) SWIG_fail;
12271 }
12272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12273 return resultobj;
12274 fail:
12275 return NULL;
12276 }
12277
12278
12279 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12280 PyObject *obj;
12281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12282 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12283 Py_INCREF(obj);
12284 return Py_BuildValue((char *)"");
12285 }
12286 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj;
12288 wxWindow *arg1 = (wxWindow *) 0 ;
12289 int arg2 ;
12290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12292 wxSize const &arg4_defvalue = wxDefaultSize ;
12293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12294 long arg5 = (long) 0 ;
12295 wxString const &arg6_defvalue = wxPyEmptyString ;
12296 wxString *arg6 = (wxString *) &arg6_defvalue ;
12297 wxListbook *result;
12298 wxPoint temp3 ;
12299 wxSize temp4 ;
12300 bool temp6 = False ;
12301 PyObject * obj0 = 0 ;
12302 PyObject * obj2 = 0 ;
12303 PyObject * obj3 = 0 ;
12304 PyObject * obj5 = 0 ;
12305 char *kwnames[] = {
12306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12311 if (obj2) {
12312 {
12313 arg3 = &temp3;
12314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12315 }
12316 }
12317 if (obj3) {
12318 {
12319 arg4 = &temp4;
12320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12321 }
12322 }
12323 if (obj5) {
12324 {
12325 arg6 = wxString_in_helper(obj5);
12326 if (arg6 == NULL) SWIG_fail;
12327 temp6 = True;
12328 }
12329 }
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 }
12337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12338 {
12339 if (temp6)
12340 delete arg6;
12341 }
12342 return resultobj;
12343 fail:
12344 {
12345 if (temp6)
12346 delete arg6;
12347 }
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxListbook *result;
12355 char *kwnames[] = {
12356 NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = (wxListbook *)new wxListbook();
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12375 PyObject *resultobj;
12376 wxListbook *arg1 = (wxListbook *) 0 ;
12377 wxWindow *arg2 = (wxWindow *) 0 ;
12378 int arg3 ;
12379 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12380 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12381 wxSize const &arg5_defvalue = wxDefaultSize ;
12382 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12383 long arg6 = (long) 0 ;
12384 wxString const &arg7_defvalue = wxPyEmptyString ;
12385 wxString *arg7 = (wxString *) &arg7_defvalue ;
12386 bool result;
12387 wxPoint temp4 ;
12388 wxSize temp5 ;
12389 bool temp7 = False ;
12390 PyObject * obj0 = 0 ;
12391 PyObject * obj1 = 0 ;
12392 PyObject * obj3 = 0 ;
12393 PyObject * obj4 = 0 ;
12394 PyObject * obj6 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12402 if (obj3) {
12403 {
12404 arg4 = &temp4;
12405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12406 }
12407 }
12408 if (obj4) {
12409 {
12410 arg5 = &temp5;
12411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12412 }
12413 }
12414 if (obj6) {
12415 {
12416 arg7 = wxString_in_helper(obj6);
12417 if (arg7 == NULL) SWIG_fail;
12418 temp7 = True;
12419 }
12420 }
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = PyInt_FromLong((long)result);
12429 {
12430 if (temp7)
12431 delete arg7;
12432 }
12433 return resultobj;
12434 fail:
12435 {
12436 if (temp7)
12437 delete arg7;
12438 }
12439 return NULL;
12440 }
12441
12442
12443 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxListbook *arg1 = (wxListbook *) 0 ;
12446 bool result;
12447 PyObject * obj0 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (bool)((wxListbook const *)arg1)->IsVertical();
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = PyInt_FromLong((long)result);
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12469 PyObject *obj;
12470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12471 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12472 Py_INCREF(obj);
12473 return Py_BuildValue((char *)"");
12474 }
12475 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12478 int arg2 = (int) 0 ;
12479 int arg3 = (int) -1 ;
12480 int arg4 = (int) -1 ;
12481 wxListbookEvent *result;
12482 char *kwnames[] = {
12483 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12490
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12495 return resultobj;
12496 fail:
12497 return NULL;
12498 }
12499
12500
12501 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12502 PyObject *obj;
12503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12504 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12505 Py_INCREF(obj);
12506 return Py_BuildValue((char *)"");
12507 }
12508 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12511 wxBookCtrlSizer *result;
12512 PyObject * obj0 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "nb", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12527 return resultobj;
12528 fail:
12529 return NULL;
12530 }
12531
12532
12533 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12536 PyObject * obj0 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 (arg1)->RecalcSizes();
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 Py_INCREF(Py_None); resultobj = Py_None;
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12560 wxSize result;
12561 PyObject * obj0 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "self", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 result = (arg1)->CalcMin();
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 {
12576 wxSize * resultptr;
12577 resultptr = new wxSize((wxSize &) result);
12578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12579 }
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj;
12588 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12589 wxBookCtrl *result;
12590 PyObject * obj0 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self", NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 result = (wxBookCtrl *)(arg1)->GetControl();
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12605 return resultobj;
12606 fail:
12607 return NULL;
12608 }
12609
12610
12611 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12612 PyObject *obj;
12613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12614 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12615 Py_INCREF(obj);
12616 return Py_BuildValue((char *)"");
12617 }
12618 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj;
12620 wxNotebook *arg1 = (wxNotebook *) 0 ;
12621 wxNotebookSizer *result;
12622 PyObject * obj0 = 0 ;
12623 char *kwnames[] = {
12624 (char *) "nb", NULL
12625 };
12626
12627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 }
12636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12637 return resultobj;
12638 fail:
12639 return NULL;
12640 }
12641
12642
12643 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12644 PyObject *resultobj;
12645 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12646 PyObject * obj0 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 (arg1)->RecalcSizes();
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 Py_INCREF(Py_None); resultobj = Py_None;
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12670 wxSize result;
12671 PyObject * obj0 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 result = (arg1)->CalcMin();
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 {
12686 wxSize * resultptr;
12687 resultptr = new wxSize((wxSize &) result);
12688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12689 }
12690 return resultobj;
12691 fail:
12692 return NULL;
12693 }
12694
12695
12696 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12697 PyObject *resultobj;
12698 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12699 wxNotebook *result;
12700 PyObject * obj0 = 0 ;
12701 char *kwnames[] = {
12702 (char *) "self", NULL
12703 };
12704
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12707 {
12708 PyThreadState* __tstate = wxPyBeginAllowThreads();
12709 result = (wxNotebook *)(arg1)->GetNotebook();
12710
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 {
12715 resultobj = wxPyMake_wxObject(result);
12716 }
12717 return resultobj;
12718 fail:
12719 return NULL;
12720 }
12721
12722
12723 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12724 PyObject *obj;
12725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12726 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12727 Py_INCREF(obj);
12728 return Py_BuildValue((char *)"");
12729 }
12730 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12733 int result;
12734 PyObject * obj0 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "self", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 result = (int)(arg1)->GetId();
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
12748 resultobj = PyInt_FromLong((long)result);
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj;
12757 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12758 wxControl *result;
12759 PyObject * obj0 = 0 ;
12760 char *kwnames[] = {
12761 (char *) "self", NULL
12762 };
12763
12764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12766 {
12767 PyThreadState* __tstate = wxPyBeginAllowThreads();
12768 result = (wxControl *)(arg1)->GetControl();
12769
12770 wxPyEndAllowThreads(__tstate);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 }
12773 {
12774 resultobj = wxPyMake_wxObject(result);
12775 }
12776 return resultobj;
12777 fail:
12778 return NULL;
12779 }
12780
12781
12782 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj;
12784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12785 wxToolBarBase *result;
12786 PyObject * obj0 = 0 ;
12787 char *kwnames[] = {
12788 (char *) "self", NULL
12789 };
12790
12791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 result = (wxToolBarBase *)(arg1)->GetToolBar();
12796
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 {
12801 resultobj = wxPyMake_wxObject(result);
12802 }
12803 return resultobj;
12804 fail:
12805 return NULL;
12806 }
12807
12808
12809 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj;
12811 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12812 int result;
12813 PyObject * obj0 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 result = (int)(arg1)->IsButton();
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 resultobj = PyInt_FromLong((long)result);
12828 return resultobj;
12829 fail:
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12837 int result;
12838 PyObject * obj0 = 0 ;
12839 char *kwnames[] = {
12840 (char *) "self", NULL
12841 };
12842
12843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (int)(arg1)->IsControl();
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 resultobj = PyInt_FromLong((long)result);
12853 return resultobj;
12854 fail:
12855 return NULL;
12856 }
12857
12858
12859 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12862 int result;
12863 PyObject * obj0 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 result = (int)(arg1)->IsSeparator();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = PyInt_FromLong((long)result);
12878 return resultobj;
12879 fail:
12880 return NULL;
12881 }
12882
12883
12884 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj;
12886 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12887 int result;
12888 PyObject * obj0 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (int)(arg1)->GetStyle();
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 resultobj = PyInt_FromLong((long)result);
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12912 int result;
12913 PyObject * obj0 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 result = (int)(arg1)->GetKind();
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 resultobj = PyInt_FromLong((long)result);
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12937 bool result;
12938 PyObject * obj0 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (bool)(arg1)->IsEnabled();
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 resultobj = PyInt_FromLong((long)result);
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12962 bool result;
12963 PyObject * obj0 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 result = (bool)(arg1)->IsToggled();
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 resultobj = PyInt_FromLong((long)result);
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12987 bool result;
12988 PyObject * obj0 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 result = (bool)(arg1)->CanBeToggled();
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 resultobj = PyInt_FromLong((long)result);
13003 return resultobj;
13004 fail:
13005 return NULL;
13006 }
13007
13008
13009 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13010 PyObject *resultobj;
13011 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13012 wxBitmap *result;
13013 PyObject * obj0 = 0 ;
13014 char *kwnames[] = {
13015 (char *) "self", NULL
13016 };
13017
13018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 {
13023 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13024 result = (wxBitmap *) &_result_ref;
13025 }
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj;
13039 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13040 wxBitmap *result;
13041 PyObject * obj0 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 {
13051 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13052 result = (wxBitmap *) &_result_ref;
13053 }
13054
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13059 return resultobj;
13060 fail:
13061 return NULL;
13062 }
13063
13064
13065 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj;
13067 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13068 wxBitmap result;
13069 PyObject * obj0 = 0 ;
13070 char *kwnames[] = {
13071 (char *) "self", NULL
13072 };
13073
13074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 result = (arg1)->GetBitmap();
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 {
13084 wxBitmap * resultptr;
13085 resultptr = new wxBitmap((wxBitmap &) result);
13086 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13087 }
13088 return resultobj;
13089 fail:
13090 return NULL;
13091 }
13092
13093
13094 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj;
13096 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13097 wxString result;
13098 PyObject * obj0 = 0 ;
13099 char *kwnames[] = {
13100 (char *) "self", NULL
13101 };
13102
13103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 result = (arg1)->GetLabel();
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 {
13113 #if wxUSE_UNICODE
13114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13115 #else
13116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13117 #endif
13118 }
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13128 wxString result;
13129 PyObject * obj0 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 result = (arg1)->GetShortHelp();
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 {
13144 #if wxUSE_UNICODE
13145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13146 #else
13147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13148 #endif
13149 }
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13159 wxString result;
13160 PyObject * obj0 = 0 ;
13161 char *kwnames[] = {
13162 (char *) "self", NULL
13163 };
13164
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 result = (arg1)->GetLongHelp();
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 {
13175 #if wxUSE_UNICODE
13176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13177 #else
13178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13179 #endif
13180 }
13181 return resultobj;
13182 fail:
13183 return NULL;
13184 }
13185
13186
13187 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13190 bool arg2 ;
13191 bool result;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char *kwnames[] = {
13195 (char *) "self",(char *) "enable", NULL
13196 };
13197
13198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13200 arg2 = PyInt_AsLong(obj1) ? true : false;
13201 if (PyErr_Occurred()) SWIG_fail;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 result = (bool)(arg1)->Enable(arg2);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 resultobj = PyInt_FromLong((long)result);
13210 return resultobj;
13211 fail:
13212 return NULL;
13213 }
13214
13215
13216 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13219 PyObject * obj0 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 (arg1)->Toggle();
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 Py_INCREF(Py_None); resultobj = Py_None;
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj;
13242 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13243 bool arg2 ;
13244 bool result;
13245 PyObject * obj0 = 0 ;
13246 PyObject * obj1 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self",(char *) "toggle", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13253 arg2 = PyInt_AsLong(obj1) ? true : false;
13254 if (PyErr_Occurred()) SWIG_fail;
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 result = (bool)(arg1)->SetToggle(arg2);
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 resultobj = PyInt_FromLong((long)result);
13263 return resultobj;
13264 fail:
13265 return NULL;
13266 }
13267
13268
13269 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13270 PyObject *resultobj;
13271 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13272 wxString *arg2 = 0 ;
13273 bool result;
13274 bool temp2 = False ;
13275 PyObject * obj0 = 0 ;
13276 PyObject * obj1 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self",(char *) "help", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13283 {
13284 arg2 = wxString_in_helper(obj1);
13285 if (arg2 == NULL) SWIG_fail;
13286 temp2 = True;
13287 }
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 resultobj = PyInt_FromLong((long)result);
13296 {
13297 if (temp2)
13298 delete arg2;
13299 }
13300 return resultobj;
13301 fail:
13302 {
13303 if (temp2)
13304 delete arg2;
13305 }
13306 return NULL;
13307 }
13308
13309
13310 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13313 wxString *arg2 = 0 ;
13314 bool result;
13315 bool temp2 = False ;
13316 PyObject * obj0 = 0 ;
13317 PyObject * obj1 = 0 ;
13318 char *kwnames[] = {
13319 (char *) "self",(char *) "help", NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13324 {
13325 arg2 = wxString_in_helper(obj1);
13326 if (arg2 == NULL) SWIG_fail;
13327 temp2 = True;
13328 }
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = PyInt_FromLong((long)result);
13337 {
13338 if (temp2)
13339 delete arg2;
13340 }
13341 return resultobj;
13342 fail:
13343 {
13344 if (temp2)
13345 delete arg2;
13346 }
13347 return NULL;
13348 }
13349
13350
13351 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13352 PyObject *resultobj;
13353 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13354 wxBitmap *arg2 = 0 ;
13355 PyObject * obj0 = 0 ;
13356 PyObject * obj1 = 0 ;
13357 char *kwnames[] = {
13358 (char *) "self",(char *) "bmp", NULL
13359 };
13360
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13364 if (arg2 == NULL) {
13365 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13366 }
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 Py_INCREF(Py_None); resultobj = Py_None;
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13384 wxBitmap *arg2 = 0 ;
13385 PyObject * obj0 = 0 ;
13386 PyObject * obj1 = 0 ;
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "bmp", NULL
13389 };
13390
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13394 if (arg2 == NULL) {
13395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13396 }
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 Py_INCREF(Py_None); resultobj = Py_None;
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj;
13413 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13414 wxString *arg2 = 0 ;
13415 bool temp2 = False ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 char *kwnames[] = {
13419 (char *) "self",(char *) "label", NULL
13420 };
13421
13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13424 {
13425 arg2 = wxString_in_helper(obj1);
13426 if (arg2 == NULL) SWIG_fail;
13427 temp2 = True;
13428 }
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->SetLabel((wxString const &)*arg2);
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 Py_INCREF(Py_None); resultobj = Py_None;
13437 {
13438 if (temp2)
13439 delete arg2;
13440 }
13441 return resultobj;
13442 fail:
13443 {
13444 if (temp2)
13445 delete arg2;
13446 }
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13454 PyObject * obj0 = 0 ;
13455 char *kwnames[] = {
13456 (char *) "self", NULL
13457 };
13458
13459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13461 {
13462 PyThreadState* __tstate = wxPyBeginAllowThreads();
13463 (arg1)->Detach();
13464
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 Py_INCREF(Py_None); resultobj = Py_None;
13469 return resultobj;
13470 fail:
13471 return NULL;
13472 }
13473
13474
13475 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13478 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13479 PyObject * obj0 = 0 ;
13480 PyObject * obj1 = 0 ;
13481 char *kwnames[] = {
13482 (char *) "self",(char *) "tbar", NULL
13483 };
13484
13485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 (arg1)->Attach(arg2);
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 Py_INCREF(Py_None); resultobj = Py_None;
13496 return resultobj;
13497 fail:
13498 return NULL;
13499 }
13500
13501
13502 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj;
13504 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13505 PyObject *result;
13506 PyObject * obj0 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 resultobj = result;
13521 return resultobj;
13522 fail:
13523 return NULL;
13524 }
13525
13526
13527 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13530 PyObject *arg2 = (PyObject *) 0 ;
13531 PyObject * obj0 = 0 ;
13532 PyObject * obj1 = 0 ;
13533 char *kwnames[] = {
13534 (char *) "self",(char *) "clientData", NULL
13535 };
13536
13537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13539 arg2 = obj1;
13540 {
13541 PyThreadState* __tstate = wxPyBeginAllowThreads();
13542 wxToolBarToolBase_SetClientData(arg1,arg2);
13543
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 Py_INCREF(Py_None); resultobj = Py_None;
13548 return resultobj;
13549 fail:
13550 return NULL;
13551 }
13552
13553
13554 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13555 PyObject *obj;
13556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13557 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13558 Py_INCREF(obj);
13559 return Py_BuildValue((char *)"");
13560 }
13561 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13564 int arg2 ;
13565 wxString *arg3 = 0 ;
13566 wxBitmap *arg4 = 0 ;
13567 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13568 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13569 int arg6 = (int) wxITEM_NORMAL ;
13570 wxString const &arg7_defvalue = wxPyEmptyString ;
13571 wxString *arg7 = (wxString *) &arg7_defvalue ;
13572 wxString const &arg8_defvalue = wxPyEmptyString ;
13573 wxString *arg8 = (wxString *) &arg8_defvalue ;
13574 PyObject *arg9 = (PyObject *) NULL ;
13575 wxToolBarToolBase *result;
13576 bool temp3 = False ;
13577 bool temp7 = False ;
13578 bool temp8 = False ;
13579 PyObject * obj0 = 0 ;
13580 PyObject * obj2 = 0 ;
13581 PyObject * obj3 = 0 ;
13582 PyObject * obj4 = 0 ;
13583 PyObject * obj6 = 0 ;
13584 PyObject * obj7 = 0 ;
13585 PyObject * obj8 = 0 ;
13586 char *kwnames[] = {
13587 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13588 };
13589
13590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13592 {
13593 arg3 = wxString_in_helper(obj2);
13594 if (arg3 == NULL) SWIG_fail;
13595 temp3 = True;
13596 }
13597 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13598 if (arg4 == NULL) {
13599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13600 }
13601 if (obj4) {
13602 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13603 if (arg5 == NULL) {
13604 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13605 }
13606 }
13607 if (obj6) {
13608 {
13609 arg7 = wxString_in_helper(obj6);
13610 if (arg7 == NULL) SWIG_fail;
13611 temp7 = True;
13612 }
13613 }
13614 if (obj7) {
13615 {
13616 arg8 = wxString_in_helper(obj7);
13617 if (arg8 == NULL) SWIG_fail;
13618 temp8 = True;
13619 }
13620 }
13621 if (obj8) {
13622 arg9 = obj8;
13623 }
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13627
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 {
13632 resultobj = wxPyMake_wxObject(result);
13633 }
13634 {
13635 if (temp3)
13636 delete arg3;
13637 }
13638 {
13639 if (temp7)
13640 delete arg7;
13641 }
13642 {
13643 if (temp8)
13644 delete arg8;
13645 }
13646 return resultobj;
13647 fail:
13648 {
13649 if (temp3)
13650 delete arg3;
13651 }
13652 {
13653 if (temp7)
13654 delete arg7;
13655 }
13656 {
13657 if (temp8)
13658 delete arg8;
13659 }
13660 return NULL;
13661 }
13662
13663
13664 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj;
13666 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13667 size_t arg2 ;
13668 int arg3 ;
13669 wxString *arg4 = 0 ;
13670 wxBitmap *arg5 = 0 ;
13671 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13672 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13673 int arg7 = (int) wxITEM_NORMAL ;
13674 wxString const &arg8_defvalue = wxPyEmptyString ;
13675 wxString *arg8 = (wxString *) &arg8_defvalue ;
13676 wxString const &arg9_defvalue = wxPyEmptyString ;
13677 wxString *arg9 = (wxString *) &arg9_defvalue ;
13678 PyObject *arg10 = (PyObject *) NULL ;
13679 wxToolBarToolBase *result;
13680 bool temp4 = False ;
13681 bool temp8 = False ;
13682 bool temp9 = False ;
13683 PyObject * obj0 = 0 ;
13684 PyObject * obj1 = 0 ;
13685 PyObject * obj3 = 0 ;
13686 PyObject * obj4 = 0 ;
13687 PyObject * obj5 = 0 ;
13688 PyObject * obj7 = 0 ;
13689 PyObject * obj8 = 0 ;
13690 PyObject * obj9 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13697 arg2 = (size_t) PyInt_AsLong(obj1);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 {
13700 arg4 = wxString_in_helper(obj3);
13701 if (arg4 == NULL) SWIG_fail;
13702 temp4 = True;
13703 }
13704 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 if (arg5 == NULL) {
13706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13707 }
13708 if (obj5) {
13709 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13710 if (arg6 == NULL) {
13711 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13712 }
13713 }
13714 if (obj7) {
13715 {
13716 arg8 = wxString_in_helper(obj7);
13717 if (arg8 == NULL) SWIG_fail;
13718 temp8 = True;
13719 }
13720 }
13721 if (obj8) {
13722 {
13723 arg9 = wxString_in_helper(obj8);
13724 if (arg9 == NULL) SWIG_fail;
13725 temp9 = True;
13726 }
13727 }
13728 if (obj9) {
13729 arg10 = obj9;
13730 }
13731 {
13732 PyThreadState* __tstate = wxPyBeginAllowThreads();
13733 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);
13734
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 {
13739 resultobj = wxPyMake_wxObject(result);
13740 }
13741 {
13742 if (temp4)
13743 delete arg4;
13744 }
13745 {
13746 if (temp8)
13747 delete arg8;
13748 }
13749 {
13750 if (temp9)
13751 delete arg9;
13752 }
13753 return resultobj;
13754 fail:
13755 {
13756 if (temp4)
13757 delete arg4;
13758 }
13759 {
13760 if (temp8)
13761 delete arg8;
13762 }
13763 {
13764 if (temp9)
13765 delete arg9;
13766 }
13767 return NULL;
13768 }
13769
13770
13771 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13772 PyObject *resultobj;
13773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13774 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
13775 wxToolBarToolBase *result;
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self",(char *) "tool", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
13783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 {
13793 resultobj = wxPyMake_wxObject(result);
13794 }
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13804 size_t arg2 ;
13805 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
13806 wxToolBarToolBase *result;
13807 PyObject * obj0 = 0 ;
13808 PyObject * obj1 = 0 ;
13809 PyObject * obj2 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self",(char *) "pos",(char *) "tool", NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
13815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13816 arg2 = (size_t) PyInt_AsLong(obj1);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 {
13827 resultobj = wxPyMake_wxObject(result);
13828 }
13829 return resultobj;
13830 fail:
13831 return NULL;
13832 }
13833
13834
13835 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13836 PyObject *resultobj;
13837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13838 wxControl *arg2 = (wxControl *) 0 ;
13839 wxToolBarToolBase *result;
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "self",(char *) "control", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13852
13853 wxPyEndAllowThreads(__tstate);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
13856 {
13857 resultobj = wxPyMake_wxObject(result);
13858 }
13859 return resultobj;
13860 fail:
13861 return NULL;
13862 }
13863
13864
13865 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13866 PyObject *resultobj;
13867 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13868 size_t arg2 ;
13869 wxControl *arg3 = (wxControl *) 0 ;
13870 wxToolBarToolBase *result;
13871 PyObject * obj0 = 0 ;
13872 PyObject * obj1 = 0 ;
13873 PyObject * obj2 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self",(char *) "pos",(char *) "control", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13880 arg2 = (size_t) PyInt_AsLong(obj1);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 {
13891 resultobj = wxPyMake_wxObject(result);
13892 }
13893 return resultobj;
13894 fail:
13895 return NULL;
13896 }
13897
13898
13899 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13900 PyObject *resultobj;
13901 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13902 int arg2 ;
13903 wxControl *result;
13904 PyObject * obj0 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self",(char *) "id", NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (wxControl *)(arg1)->FindControl(arg2);
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 {
13919 resultobj = wxPyMake_wxObject(result);
13920 }
13921 return resultobj;
13922 fail:
13923 return NULL;
13924 }
13925
13926
13927 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13930 wxToolBarToolBase *result;
13931 PyObject * obj0 = 0 ;
13932 char *kwnames[] = {
13933 (char *) "self", NULL
13934 };
13935
13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 {
13946 resultobj = wxPyMake_wxObject(result);
13947 }
13948 return resultobj;
13949 fail:
13950 return NULL;
13951 }
13952
13953
13954 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13957 size_t arg2 ;
13958 wxToolBarToolBase *result;
13959 PyObject * obj0 = 0 ;
13960 PyObject * obj1 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self",(char *) "pos", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13967 arg2 = (size_t) PyInt_AsLong(obj1);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13972
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 {
13977 resultobj = wxPyMake_wxObject(result);
13978 }
13979 return resultobj;
13980 fail:
13981 return NULL;
13982 }
13983
13984
13985 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13988 int arg2 ;
13989 wxToolBarToolBase *result;
13990 PyObject * obj0 = 0 ;
13991 char *kwnames[] = {
13992 (char *) "self",(char *) "id", NULL
13993 };
13994
13995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13997 {
13998 PyThreadState* __tstate = wxPyBeginAllowThreads();
13999 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14000
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 {
14005 resultobj = wxPyMake_wxObject(result);
14006 }
14007 return resultobj;
14008 fail:
14009 return NULL;
14010 }
14011
14012
14013 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14014 PyObject *resultobj;
14015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14016 size_t arg2 ;
14017 bool result;
14018 PyObject * obj0 = 0 ;
14019 PyObject * obj1 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self",(char *) "pos", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14026 arg2 = (size_t) PyInt_AsLong(obj1);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 {
14029 PyThreadState* __tstate = wxPyBeginAllowThreads();
14030 result = (bool)(arg1)->DeleteToolByPos(arg2);
14031
14032 wxPyEndAllowThreads(__tstate);
14033 if (PyErr_Occurred()) SWIG_fail;
14034 }
14035 resultobj = PyInt_FromLong((long)result);
14036 return resultobj;
14037 fail:
14038 return NULL;
14039 }
14040
14041
14042 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14043 PyObject *resultobj;
14044 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14045 int arg2 ;
14046 bool result;
14047 PyObject * obj0 = 0 ;
14048 char *kwnames[] = {
14049 (char *) "self",(char *) "id", NULL
14050 };
14051
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 result = (bool)(arg1)->DeleteTool(arg2);
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 resultobj = PyInt_FromLong((long)result);
14062 return resultobj;
14063 fail:
14064 return NULL;
14065 }
14066
14067
14068 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14071 PyObject * obj0 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 (arg1)->ClearTools();
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 Py_INCREF(Py_None); resultobj = Py_None;
14086 return resultobj;
14087 fail:
14088 return NULL;
14089 }
14090
14091
14092 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14095 bool result;
14096 PyObject * obj0 = 0 ;
14097 char *kwnames[] = {
14098 (char *) "self", NULL
14099 };
14100
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 result = (bool)(arg1)->Realize();
14106
14107 wxPyEndAllowThreads(__tstate);
14108 if (PyErr_Occurred()) SWIG_fail;
14109 }
14110 resultobj = PyInt_FromLong((long)result);
14111 return resultobj;
14112 fail:
14113 return NULL;
14114 }
14115
14116
14117 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj;
14119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14120 int arg2 ;
14121 bool arg3 ;
14122 PyObject * obj0 = 0 ;
14123 PyObject * obj2 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self",(char *) "id",(char *) "enable", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14130 arg3 = PyInt_AsLong(obj2) ? true : false;
14131 if (PyErr_Occurred()) SWIG_fail;
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 (arg1)->EnableTool(arg2,arg3);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 Py_INCREF(Py_None); resultobj = Py_None;
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14149 int arg2 ;
14150 bool arg3 ;
14151 PyObject * obj0 = 0 ;
14152 PyObject * obj2 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "id",(char *) "toggle", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14159 arg3 = PyInt_AsLong(obj2) ? true : false;
14160 if (PyErr_Occurred()) SWIG_fail;
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 (arg1)->ToggleTool(arg2,arg3);
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 Py_INCREF(Py_None); resultobj = Py_None;
14169 return resultobj;
14170 fail:
14171 return NULL;
14172 }
14173
14174
14175 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14176 PyObject *resultobj;
14177 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14178 int arg2 ;
14179 bool arg3 ;
14180 PyObject * obj0 = 0 ;
14181 PyObject * obj2 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self",(char *) "id",(char *) "toggle", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14188 arg3 = PyInt_AsLong(obj2) ? true : false;
14189 if (PyErr_Occurred()) SWIG_fail;
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 (arg1)->SetToggle(arg2,arg3);
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 Py_INCREF(Py_None); resultobj = Py_None;
14198 return resultobj;
14199 fail:
14200 return NULL;
14201 }
14202
14203
14204 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14207 int arg2 ;
14208 PyObject *result;
14209 PyObject * obj0 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self",(char *) "id", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 resultobj = result;
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14233 int arg2 ;
14234 PyObject *arg3 = (PyObject *) 0 ;
14235 PyObject * obj0 = 0 ;
14236 PyObject * obj2 = 0 ;
14237 char *kwnames[] = {
14238 (char *) "self",(char *) "id",(char *) "clientData", NULL
14239 };
14240
14241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14243 arg3 = obj2;
14244 {
14245 PyThreadState* __tstate = wxPyBeginAllowThreads();
14246 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14247
14248 wxPyEndAllowThreads(__tstate);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 Py_INCREF(Py_None); resultobj = Py_None;
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14261 int arg2 ;
14262 int result;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self",(char *) "id", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
14277 resultobj = PyInt_FromLong((long)result);
14278 return resultobj;
14279 fail:
14280 return NULL;
14281 }
14282
14283
14284 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14287 int arg2 ;
14288 bool result;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self",(char *) "id", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) 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 = (bool)(arg1)->GetToolState(arg2);
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 resultobj = PyInt_FromLong((long)result);
14304 return resultobj;
14305 fail:
14306 return NULL;
14307 }
14308
14309
14310 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14311 PyObject *resultobj;
14312 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14313 int arg2 ;
14314 bool result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "id", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 result = (bool)(arg1)->GetToolEnabled(arg2);
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 resultobj = PyInt_FromLong((long)result);
14330 return resultobj;
14331 fail:
14332 return NULL;
14333 }
14334
14335
14336 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14339 int arg2 ;
14340 wxString *arg3 = 0 ;
14341 bool temp3 = False ;
14342 PyObject * obj0 = 0 ;
14343 PyObject * obj2 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "self",(char *) "id",(char *) "helpString", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14350 {
14351 arg3 = wxString_in_helper(obj2);
14352 if (arg3 == NULL) SWIG_fail;
14353 temp3 = True;
14354 }
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 Py_INCREF(Py_None); resultobj = Py_None;
14363 {
14364 if (temp3)
14365 delete arg3;
14366 }
14367 return resultobj;
14368 fail:
14369 {
14370 if (temp3)
14371 delete arg3;
14372 }
14373 return NULL;
14374 }
14375
14376
14377 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14380 int arg2 ;
14381 wxString result;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self",(char *) "id", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (arg1)->GetToolShortHelp(arg2);
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 {
14397 #if wxUSE_UNICODE
14398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14399 #else
14400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14401 #endif
14402 }
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14412 int arg2 ;
14413 wxString *arg3 = 0 ;
14414 bool temp3 = False ;
14415 PyObject * obj0 = 0 ;
14416 PyObject * obj2 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self",(char *) "id",(char *) "helpString", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14423 {
14424 arg3 = wxString_in_helper(obj2);
14425 if (arg3 == NULL) SWIG_fail;
14426 temp3 = True;
14427 }
14428 {
14429 PyThreadState* __tstate = wxPyBeginAllowThreads();
14430 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14431
14432 wxPyEndAllowThreads(__tstate);
14433 if (PyErr_Occurred()) SWIG_fail;
14434 }
14435 Py_INCREF(Py_None); resultobj = Py_None;
14436 {
14437 if (temp3)
14438 delete arg3;
14439 }
14440 return resultobj;
14441 fail:
14442 {
14443 if (temp3)
14444 delete arg3;
14445 }
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14453 int arg2 ;
14454 wxString result;
14455 PyObject * obj0 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "id", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (arg1)->GetToolLongHelp(arg2);
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 {
14470 #if wxUSE_UNICODE
14471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14472 #else
14473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14474 #endif
14475 }
14476 return resultobj;
14477 fail:
14478 return NULL;
14479 }
14480
14481
14482 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14483 PyObject *resultobj;
14484 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14485 int arg2 ;
14486 int arg3 ;
14487 PyObject * obj0 = 0 ;
14488 char *kwnames[] = {
14489 (char *) "self",(char *) "x",(char *) "y", NULL
14490 };
14491
14492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 (arg1)->SetMargins(arg2,arg3);
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 Py_INCREF(Py_None); resultobj = Py_None;
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14511 wxSize *arg2 = 0 ;
14512 wxSize temp2 ;
14513 PyObject * obj0 = 0 ;
14514 PyObject * obj1 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "size", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 {
14522 arg2 = &temp2;
14523 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14524 }
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 (arg1)->SetMargins((wxSize const &)*arg2);
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 Py_INCREF(Py_None); resultobj = Py_None;
14533 return resultobj;
14534 fail:
14535 return NULL;
14536 }
14537
14538
14539 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14542 int arg2 ;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self",(char *) "packing", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 (arg1)->SetToolPacking(arg2);
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 Py_INCREF(Py_None); resultobj = Py_None;
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14567 int arg2 ;
14568 PyObject * obj0 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self",(char *) "separation", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 (arg1)->SetToolSeparation(arg2);
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 Py_INCREF(Py_None); resultobj = Py_None;
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14592 wxSize result;
14593 PyObject * obj0 = 0 ;
14594 char *kwnames[] = {
14595 (char *) "self", NULL
14596 };
14597
14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 result = (arg1)->GetToolMargins();
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 {
14608 wxSize * resultptr;
14609 resultptr = new wxSize((wxSize &) result);
14610 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14611 }
14612 return resultobj;
14613 fail:
14614 return NULL;
14615 }
14616
14617
14618 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14621 wxSize result;
14622 PyObject * obj0 = 0 ;
14623 char *kwnames[] = {
14624 (char *) "self", NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 result = (arg1)->GetMargins();
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 {
14637 wxSize * resultptr;
14638 resultptr = new wxSize((wxSize &) result);
14639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14640 }
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14650 int result;
14651 PyObject * obj0 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (int)(arg1)->GetToolPacking();
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 resultobj = PyInt_FromLong((long)result);
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14675 int result;
14676 PyObject * obj0 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (int)(arg1)->GetToolSeparation();
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 resultobj = PyInt_FromLong((long)result);
14691 return resultobj;
14692 fail:
14693 return NULL;
14694 }
14695
14696
14697 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj;
14699 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14700 int arg2 ;
14701 PyObject * obj0 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "self",(char *) "nRows", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 (arg1)->SetRows(arg2);
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 Py_INCREF(Py_None); resultobj = Py_None;
14716 return resultobj;
14717 fail:
14718 return NULL;
14719 }
14720
14721
14722 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj;
14724 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14725 int arg2 ;
14726 int arg3 ;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self",(char *) "rows",(char *) "cols", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14734 {
14735 PyThreadState* __tstate = wxPyBeginAllowThreads();
14736 (arg1)->SetMaxRowsCols(arg2,arg3);
14737
14738 wxPyEndAllowThreads(__tstate);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 Py_INCREF(Py_None); resultobj = Py_None;
14742 return resultobj;
14743 fail:
14744 return NULL;
14745 }
14746
14747
14748 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14749 PyObject *resultobj;
14750 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14751 int result;
14752 PyObject * obj0 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (int)(arg1)->GetMaxRows();
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 resultobj = PyInt_FromLong((long)result);
14767 return resultobj;
14768 fail:
14769 return NULL;
14770 }
14771
14772
14773 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14774 PyObject *resultobj;
14775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14776 int result;
14777 PyObject * obj0 = 0 ;
14778 char *kwnames[] = {
14779 (char *) "self", NULL
14780 };
14781
14782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 result = (int)(arg1)->GetMaxCols();
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 resultobj = PyInt_FromLong((long)result);
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14799 PyObject *resultobj;
14800 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14801 wxSize *arg2 = 0 ;
14802 wxSize temp2 ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "self",(char *) "size", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14811 {
14812 arg2 = &temp2;
14813 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14814 }
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14818
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 Py_INCREF(Py_None); resultobj = Py_None;
14823 return resultobj;
14824 fail:
14825 return NULL;
14826 }
14827
14828
14829 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14830 PyObject *resultobj;
14831 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14832 wxSize result;
14833 PyObject * obj0 = 0 ;
14834 char *kwnames[] = {
14835 (char *) "self", NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 result = (arg1)->GetToolBitmapSize();
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 {
14848 wxSize * resultptr;
14849 resultptr = new wxSize((wxSize &) result);
14850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14851 }
14852 return resultobj;
14853 fail:
14854 return NULL;
14855 }
14856
14857
14858 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14859 PyObject *resultobj;
14860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14861 wxSize result;
14862 PyObject * obj0 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "self", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (arg1)->GetToolSize();
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 wxSize * resultptr;
14878 resultptr = new wxSize((wxSize &) result);
14879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14880 }
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14890 int arg2 ;
14891 int arg3 ;
14892 wxToolBarToolBase *result;
14893 PyObject * obj0 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self",(char *) "x",(char *) "y", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 {
14908 resultobj = wxPyMake_wxObject(result);
14909 }
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14919 int arg2 ;
14920 wxToolBarToolBase *result;
14921 PyObject * obj0 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self",(char *) "toolid", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
14931
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 {
14936 resultobj = wxPyMake_wxObject(result);
14937 }
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj;
14946 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14947 bool result;
14948 PyObject * obj0 = 0 ;
14949 char *kwnames[] = {
14950 (char *) "self", NULL
14951 };
14952
14953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14955 {
14956 PyThreadState* __tstate = wxPyBeginAllowThreads();
14957 result = (bool)(arg1)->IsVertical();
14958
14959 wxPyEndAllowThreads(__tstate);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 }
14962 resultobj = PyInt_FromLong((long)result);
14963 return resultobj;
14964 fail:
14965 return NULL;
14966 }
14967
14968
14969 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14970 PyObject *obj;
14971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14972 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14973 Py_INCREF(obj);
14974 return Py_BuildValue((char *)"");
14975 }
14976 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj;
14978 wxWindow *arg1 = (wxWindow *) 0 ;
14979 int arg2 ;
14980 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14981 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14982 wxSize const &arg4_defvalue = wxDefaultSize ;
14983 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14984 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14985 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14986 wxString *arg6 = (wxString *) &arg6_defvalue ;
14987 wxToolBar *result;
14988 wxPoint temp3 ;
14989 wxSize temp4 ;
14990 bool temp6 = False ;
14991 PyObject * obj0 = 0 ;
14992 PyObject * obj2 = 0 ;
14993 PyObject * obj3 = 0 ;
14994 PyObject * obj5 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15001 if (obj2) {
15002 {
15003 arg3 = &temp3;
15004 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15005 }
15006 }
15007 if (obj3) {
15008 {
15009 arg4 = &temp4;
15010 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15011 }
15012 }
15013 if (obj5) {
15014 {
15015 arg6 = wxString_in_helper(obj5);
15016 if (arg6 == NULL) SWIG_fail;
15017 temp6 = True;
15018 }
15019 }
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 {
15028 resultobj = wxPyMake_wxObject(result);
15029 }
15030 {
15031 if (temp6)
15032 delete arg6;
15033 }
15034 return resultobj;
15035 fail:
15036 {
15037 if (temp6)
15038 delete arg6;
15039 }
15040 return NULL;
15041 }
15042
15043
15044 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj;
15046 wxToolBar *result;
15047 char *kwnames[] = {
15048 NULL
15049 };
15050
15051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 result = (wxToolBar *)new wxToolBar();
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 {
15060 resultobj = wxPyMake_wxObject(result);
15061 }
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15069 PyObject *resultobj;
15070 wxToolBar *arg1 = (wxToolBar *) 0 ;
15071 wxWindow *arg2 = (wxWindow *) 0 ;
15072 int arg3 ;
15073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15075 wxSize const &arg5_defvalue = wxDefaultSize ;
15076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15077 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15078 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15079 wxString *arg7 = (wxString *) &arg7_defvalue ;
15080 bool result;
15081 wxPoint temp4 ;
15082 wxSize temp5 ;
15083 bool temp7 = False ;
15084 PyObject * obj0 = 0 ;
15085 PyObject * obj1 = 0 ;
15086 PyObject * obj3 = 0 ;
15087 PyObject * obj4 = 0 ;
15088 PyObject * obj6 = 0 ;
15089 char *kwnames[] = {
15090 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15091 };
15092
15093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15096 if (obj3) {
15097 {
15098 arg4 = &temp4;
15099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15100 }
15101 }
15102 if (obj4) {
15103 {
15104 arg5 = &temp5;
15105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15106 }
15107 }
15108 if (obj6) {
15109 {
15110 arg7 = wxString_in_helper(obj6);
15111 if (arg7 == NULL) SWIG_fail;
15112 temp7 = True;
15113 }
15114 }
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 resultobj = PyInt_FromLong((long)result);
15123 {
15124 if (temp7)
15125 delete arg7;
15126 }
15127 return resultobj;
15128 fail:
15129 {
15130 if (temp7)
15131 delete arg7;
15132 }
15133 return NULL;
15134 }
15135
15136
15137 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxToolBar *arg1 = (wxToolBar *) 0 ;
15140 int arg2 ;
15141 int arg3 ;
15142 wxToolBarToolBase *result;
15143 PyObject * obj0 = 0 ;
15144 char *kwnames[] = {
15145 (char *) "self",(char *) "x",(char *) "y", NULL
15146 };
15147
15148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 {
15158 resultobj = wxPyMake_wxObject(result);
15159 }
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15167 PyObject *obj;
15168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15169 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15170 Py_INCREF(obj);
15171 return Py_BuildValue((char *)"");
15172 }
15173 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15174 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15175 return 1;
15176 }
15177
15178
15179 static PyObject *_wrap_ListCtrlNameStr_get() {
15180 PyObject *pyobj;
15181
15182 {
15183 #if wxUSE_UNICODE
15184 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15185 #else
15186 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15187 #endif
15188 }
15189 return pyobj;
15190 }
15191
15192
15193 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxColour const &arg1_defvalue = wxNullColour ;
15196 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15197 wxColour const &arg2_defvalue = wxNullColour ;
15198 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15199 wxFont const &arg3_defvalue = wxNullFont ;
15200 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15201 wxListItemAttr *result;
15202 wxColour temp1 ;
15203 wxColour temp2 ;
15204 PyObject * obj0 = 0 ;
15205 PyObject * obj1 = 0 ;
15206 PyObject * obj2 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15212 if (obj0) {
15213 {
15214 arg1 = &temp1;
15215 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15216 }
15217 }
15218 if (obj1) {
15219 {
15220 arg2 = &temp2;
15221 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15222 }
15223 }
15224 if (obj2) {
15225 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15226 if (arg3 == NULL) {
15227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15228 }
15229 }
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15238 return resultobj;
15239 fail:
15240 return NULL;
15241 }
15242
15243
15244 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj;
15246 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15247 wxColour *arg2 = 0 ;
15248 wxColour temp2 ;
15249 PyObject * obj0 = 0 ;
15250 PyObject * obj1 = 0 ;
15251 char *kwnames[] = {
15252 (char *) "self",(char *) "colText", NULL
15253 };
15254
15255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15257 {
15258 arg2 = &temp2;
15259 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15260 }
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 (arg1)->SetTextColour((wxColour const &)*arg2);
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 Py_INCREF(Py_None); resultobj = Py_None;
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15278 wxColour *arg2 = 0 ;
15279 wxColour temp2 ;
15280 PyObject * obj0 = 0 ;
15281 PyObject * obj1 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self",(char *) "colBack", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15288 {
15289 arg2 = &temp2;
15290 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15291 }
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 Py_INCREF(Py_None); resultobj = Py_None;
15300 return resultobj;
15301 fail:
15302 return NULL;
15303 }
15304
15305
15306 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15309 wxFont *arg2 = 0 ;
15310 PyObject * obj0 = 0 ;
15311 PyObject * obj1 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self",(char *) "font", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15319 if (arg2 == NULL) {
15320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15321 }
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->SetFont((wxFont const &)*arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15339 bool result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 result = (bool)(arg1)->HasTextColour();
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 resultobj = PyInt_FromLong((long)result);
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15364 bool result;
15365 PyObject * obj0 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (bool)(arg1)->HasBackgroundColour();
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 resultobj = PyInt_FromLong((long)result);
15380 return resultobj;
15381 fail:
15382 return NULL;
15383 }
15384
15385
15386 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15387 PyObject *resultobj;
15388 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15389 bool result;
15390 PyObject * obj0 = 0 ;
15391 char *kwnames[] = {
15392 (char *) "self", NULL
15393 };
15394
15395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (bool)(arg1)->HasFont();
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 resultobj = PyInt_FromLong((long)result);
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj;
15413 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15414 wxColour result;
15415 PyObject * obj0 = 0 ;
15416 char *kwnames[] = {
15417 (char *) "self", NULL
15418 };
15419
15420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 result = (arg1)->GetTextColour();
15425
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 {
15430 wxColour * resultptr;
15431 resultptr = new wxColour((wxColour &) result);
15432 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15433 }
15434 return resultobj;
15435 fail:
15436 return NULL;
15437 }
15438
15439
15440 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15443 wxColour result;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (arg1)->GetBackgroundColour();
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 {
15459 wxColour * resultptr;
15460 resultptr = new wxColour((wxColour &) result);
15461 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15462 }
15463 return resultobj;
15464 fail:
15465 return NULL;
15466 }
15467
15468
15469 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15470 PyObject *resultobj;
15471 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15472 wxFont result;
15473 PyObject * obj0 = 0 ;
15474 char *kwnames[] = {
15475 (char *) "self", NULL
15476 };
15477
15478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 result = (arg1)->GetFont();
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 {
15488 wxFont * resultptr;
15489 resultptr = new wxFont((wxFont &) result);
15490 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15491 }
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15501 PyObject * obj0 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 wxListItemAttr_Destroy(arg1);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15523 PyObject *obj;
15524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15525 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15526 Py_INCREF(obj);
15527 return Py_BuildValue((char *)"");
15528 }
15529 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxListItem *result;
15532 char *kwnames[] = {
15533 NULL
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 result = (wxListItem *)new wxListItem();
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 {
15545 resultobj = wxPyMake_wxObject(result);
15546 }
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxListItem *arg1 = (wxListItem *) 0 ;
15556 PyObject * obj0 = 0 ;
15557 char *kwnames[] = {
15558 (char *) "self", NULL
15559 };
15560
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 delete arg1;
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 return resultobj;
15572 fail:
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxListItem *arg1 = (wxListItem *) 0 ;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 (arg1)->Clear();
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 Py_INCREF(Py_None); resultobj = Py_None;
15595 return resultobj;
15596 fail:
15597 return NULL;
15598 }
15599
15600
15601 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxListItem *arg1 = (wxListItem *) 0 ;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 (arg1)->ClearAttributes();
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 Py_INCREF(Py_None); resultobj = Py_None;
15619 return resultobj;
15620 fail:
15621 return NULL;
15622 }
15623
15624
15625 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15626 PyObject *resultobj;
15627 wxListItem *arg1 = (wxListItem *) 0 ;
15628 long arg2 ;
15629 PyObject * obj0 = 0 ;
15630 char *kwnames[] = {
15631 (char *) "self",(char *) "mask", NULL
15632 };
15633
15634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->SetMask(arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647 }
15648
15649
15650 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj;
15652 wxListItem *arg1 = (wxListItem *) 0 ;
15653 long arg2 ;
15654 PyObject * obj0 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self",(char *) "id", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
15663 (arg1)->SetId(arg2);
15664
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 Py_INCREF(Py_None); resultobj = Py_None;
15669 return resultobj;
15670 fail:
15671 return NULL;
15672 }
15673
15674
15675 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj;
15677 wxListItem *arg1 = (wxListItem *) 0 ;
15678 int arg2 ;
15679 PyObject * obj0 = 0 ;
15680 char *kwnames[] = {
15681 (char *) "self",(char *) "col", NULL
15682 };
15683
15684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 (arg1)->SetColumn(arg2);
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 Py_INCREF(Py_None); resultobj = Py_None;
15694 return resultobj;
15695 fail:
15696 return NULL;
15697 }
15698
15699
15700 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15701 PyObject *resultobj;
15702 wxListItem *arg1 = (wxListItem *) 0 ;
15703 long arg2 ;
15704 PyObject * obj0 = 0 ;
15705 char *kwnames[] = {
15706 (char *) "self",(char *) "state", NULL
15707 };
15708
15709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 (arg1)->SetState(arg2);
15714
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 Py_INCREF(Py_None); resultobj = Py_None;
15719 return resultobj;
15720 fail:
15721 return NULL;
15722 }
15723
15724
15725 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxListItem *arg1 = (wxListItem *) 0 ;
15728 long arg2 ;
15729 PyObject * obj0 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self",(char *) "stateMask", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 (arg1)->SetStateMask(arg2);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 Py_INCREF(Py_None); resultobj = Py_None;
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxListItem *arg1 = (wxListItem *) 0 ;
15753 wxString *arg2 = 0 ;
15754 bool temp2 = False ;
15755 PyObject * obj0 = 0 ;
15756 PyObject * obj1 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "self",(char *) "text", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15763 {
15764 arg2 = wxString_in_helper(obj1);
15765 if (arg2 == NULL) SWIG_fail;
15766 temp2 = True;
15767 }
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 (arg1)->SetText((wxString const &)*arg2);
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 Py_INCREF(Py_None); resultobj = Py_None;
15776 {
15777 if (temp2)
15778 delete arg2;
15779 }
15780 return resultobj;
15781 fail:
15782 {
15783 if (temp2)
15784 delete arg2;
15785 }
15786 return NULL;
15787 }
15788
15789
15790 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxListItem *arg1 = (wxListItem *) 0 ;
15793 int arg2 ;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "image", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 (arg1)->SetImage(arg2);
15804
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 Py_INCREF(Py_None); resultobj = Py_None;
15809 return resultobj;
15810 fail:
15811 return NULL;
15812 }
15813
15814
15815 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15816 PyObject *resultobj;
15817 wxListItem *arg1 = (wxListItem *) 0 ;
15818 long arg2 ;
15819 PyObject * obj0 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self",(char *) "data", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 (arg1)->SetData(arg2);
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 Py_INCREF(Py_None); resultobj = Py_None;
15834 return resultobj;
15835 fail:
15836 return NULL;
15837 }
15838
15839
15840 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj;
15842 wxListItem *arg1 = (wxListItem *) 0 ;
15843 int arg2 ;
15844 PyObject * obj0 = 0 ;
15845 char *kwnames[] = {
15846 (char *) "self",(char *) "width", NULL
15847 };
15848
15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 (arg1)->SetWidth(arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 Py_INCREF(Py_None); resultobj = Py_None;
15859 return resultobj;
15860 fail:
15861 return NULL;
15862 }
15863
15864
15865 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxListItem *arg1 = (wxListItem *) 0 ;
15868 int arg2 ;
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self",(char *) "align", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 (arg1)->SetAlign((wxListColumnFormat )arg2);
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 Py_INCREF(Py_None); resultobj = Py_None;
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj;
15892 wxListItem *arg1 = (wxListItem *) 0 ;
15893 wxColour *arg2 = 0 ;
15894 wxColour temp2 ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "colText", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15903 {
15904 arg2 = &temp2;
15905 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15906 }
15907 {
15908 PyThreadState* __tstate = wxPyBeginAllowThreads();
15909 (arg1)->SetTextColour((wxColour const &)*arg2);
15910
15911 wxPyEndAllowThreads(__tstate);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 Py_INCREF(Py_None); resultobj = Py_None;
15915 return resultobj;
15916 fail:
15917 return NULL;
15918 }
15919
15920
15921 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxListItem *arg1 = (wxListItem *) 0 ;
15924 wxColour *arg2 = 0 ;
15925 wxColour temp2 ;
15926 PyObject * obj0 = 0 ;
15927 PyObject * obj1 = 0 ;
15928 char *kwnames[] = {
15929 (char *) "self",(char *) "colBack", NULL
15930 };
15931
15932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15934 {
15935 arg2 = &temp2;
15936 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15937 }
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 Py_INCREF(Py_None); resultobj = Py_None;
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxListItem *arg1 = (wxListItem *) 0 ;
15955 wxFont *arg2 = 0 ;
15956 PyObject * obj0 = 0 ;
15957 PyObject * obj1 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "font", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15965 if (arg2 == NULL) {
15966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15967 }
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 (arg1)->SetFont((wxFont const &)*arg2);
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 Py_INCREF(Py_None); resultobj = Py_None;
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxListItem *arg1 = (wxListItem *) 0 ;
15985 long result;
15986 PyObject * obj0 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 result = (long)(arg1)->GetMask();
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
16000 resultobj = PyInt_FromLong((long)result);
16001 return resultobj;
16002 fail:
16003 return NULL;
16004 }
16005
16006
16007 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxListItem *arg1 = (wxListItem *) 0 ;
16010 long result;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = (long)(arg1)->GetId();
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 resultobj = PyInt_FromLong((long)result);
16026 return resultobj;
16027 fail:
16028 return NULL;
16029 }
16030
16031
16032 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 wxListItem *arg1 = (wxListItem *) 0 ;
16035 int result;
16036 PyObject * obj0 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = (int)(arg1)->GetColumn();
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 resultobj = PyInt_FromLong((long)result);
16051 return resultobj;
16052 fail:
16053 return NULL;
16054 }
16055
16056
16057 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16058 PyObject *resultobj;
16059 wxListItem *arg1 = (wxListItem *) 0 ;
16060 long result;
16061 PyObject * obj0 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "self", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16068 {
16069 PyThreadState* __tstate = wxPyBeginAllowThreads();
16070 result = (long)(arg1)->GetState();
16071
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 resultobj = PyInt_FromLong((long)result);
16076 return resultobj;
16077 fail:
16078 return NULL;
16079 }
16080
16081
16082 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj;
16084 wxListItem *arg1 = (wxListItem *) 0 ;
16085 wxString *result;
16086 PyObject * obj0 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 {
16096 wxString const &_result_ref = (arg1)->GetText();
16097 result = (wxString *) &_result_ref;
16098 }
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 {
16104 #if wxUSE_UNICODE
16105 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16106 #else
16107 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16108 #endif
16109 }
16110 return resultobj;
16111 fail:
16112 return NULL;
16113 }
16114
16115
16116 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxListItem *arg1 = (wxListItem *) 0 ;
16119 int result;
16120 PyObject * obj0 = 0 ;
16121 char *kwnames[] = {
16122 (char *) "self", NULL
16123 };
16124
16125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (int)(arg1)->GetImage();
16130
16131 wxPyEndAllowThreads(__tstate);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
16134 resultobj = PyInt_FromLong((long)result);
16135 return resultobj;
16136 fail:
16137 return NULL;
16138 }
16139
16140
16141 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj;
16143 wxListItem *arg1 = (wxListItem *) 0 ;
16144 long result;
16145 PyObject * obj0 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 result = (long)(arg1)->GetData();
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 resultobj = PyInt_FromLong((long)result);
16160 return resultobj;
16161 fail:
16162 return NULL;
16163 }
16164
16165
16166 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxListItem *arg1 = (wxListItem *) 0 ;
16169 int result;
16170 PyObject * obj0 = 0 ;
16171 char *kwnames[] = {
16172 (char *) "self", NULL
16173 };
16174
16175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 result = (int)(arg1)->GetWidth();
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 resultobj = PyInt_FromLong((long)result);
16185 return resultobj;
16186 fail:
16187 return NULL;
16188 }
16189
16190
16191 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16192 PyObject *resultobj;
16193 wxListItem *arg1 = (wxListItem *) 0 ;
16194 int result;
16195 PyObject * obj0 = 0 ;
16196 char *kwnames[] = {
16197 (char *) "self", NULL
16198 };
16199
16200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = (int)(arg1)->GetAlign();
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 resultobj = PyInt_FromLong((long)result);
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxListItem *arg1 = (wxListItem *) 0 ;
16219 wxListItemAttr *result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (wxListItemAttr *)(arg1)->GetAttributes();
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxListItem *arg1 = (wxListItem *) 0 ;
16244 bool result;
16245 PyObject * obj0 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (bool)(arg1)->HasAttributes();
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
16259 resultobj = PyInt_FromLong((long)result);
16260 return resultobj;
16261 fail:
16262 return NULL;
16263 }
16264
16265
16266 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16267 PyObject *resultobj;
16268 wxListItem *arg1 = (wxListItem *) 0 ;
16269 wxColour result;
16270 PyObject * obj0 = 0 ;
16271 char *kwnames[] = {
16272 (char *) "self", NULL
16273 };
16274
16275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16277 {
16278 PyThreadState* __tstate = wxPyBeginAllowThreads();
16279 result = ((wxListItem const *)arg1)->GetTextColour();
16280
16281 wxPyEndAllowThreads(__tstate);
16282 if (PyErr_Occurred()) SWIG_fail;
16283 }
16284 {
16285 wxColour * resultptr;
16286 resultptr = new wxColour((wxColour &) result);
16287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16288 }
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj;
16297 wxListItem *arg1 = (wxListItem *) 0 ;
16298 wxColour result;
16299 PyObject * obj0 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16306 {
16307 PyThreadState* __tstate = wxPyBeginAllowThreads();
16308 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16309
16310 wxPyEndAllowThreads(__tstate);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 {
16314 wxColour * resultptr;
16315 resultptr = new wxColour((wxColour &) result);
16316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16317 }
16318 return resultobj;
16319 fail:
16320 return NULL;
16321 }
16322
16323
16324 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxListItem *arg1 = (wxListItem *) 0 ;
16327 wxFont result;
16328 PyObject * obj0 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "self", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = ((wxListItem const *)arg1)->GetFont();
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 wxFont * resultptr;
16344 resultptr = new wxFont((wxFont &) result);
16345 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16346 }
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16354 PyObject *resultobj;
16355 wxListItem *arg1 = (wxListItem *) 0 ;
16356 long arg2 ;
16357 PyObject * obj0 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self",(char *) "m_mask", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16364 if (arg1) (arg1)->m_mask = arg2;
16365
16366 Py_INCREF(Py_None); resultobj = Py_None;
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxListItem *arg1 = (wxListItem *) 0 ;
16376 long result;
16377 PyObject * obj0 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16384 result = (long) ((arg1)->m_mask);
16385
16386 resultobj = PyInt_FromLong((long)result);
16387 return resultobj;
16388 fail:
16389 return NULL;
16390 }
16391
16392
16393 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16394 PyObject *resultobj;
16395 wxListItem *arg1 = (wxListItem *) 0 ;
16396 long arg2 ;
16397 PyObject * obj0 = 0 ;
16398 char *kwnames[] = {
16399 (char *) "self",(char *) "m_itemId", NULL
16400 };
16401
16402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16404 if (arg1) (arg1)->m_itemId = arg2;
16405
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxListItem *arg1 = (wxListItem *) 0 ;
16416 long result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16424 result = (long) ((arg1)->m_itemId);
16425
16426 resultobj = PyInt_FromLong((long)result);
16427 return resultobj;
16428 fail:
16429 return NULL;
16430 }
16431
16432
16433 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxListItem *arg1 = (wxListItem *) 0 ;
16436 int arg2 ;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self",(char *) "m_col", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16444 if (arg1) (arg1)->m_col = arg2;
16445
16446 Py_INCREF(Py_None); resultobj = Py_None;
16447 return resultobj;
16448 fail:
16449 return NULL;
16450 }
16451
16452
16453 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16454 PyObject *resultobj;
16455 wxListItem *arg1 = (wxListItem *) 0 ;
16456 int result;
16457 PyObject * obj0 = 0 ;
16458 char *kwnames[] = {
16459 (char *) "self", NULL
16460 };
16461
16462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16464 result = (int) ((arg1)->m_col);
16465
16466 resultobj = PyInt_FromLong((long)result);
16467 return resultobj;
16468 fail:
16469 return NULL;
16470 }
16471
16472
16473 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxListItem *arg1 = (wxListItem *) 0 ;
16476 long arg2 ;
16477 PyObject * obj0 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self",(char *) "m_state", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16484 if (arg1) (arg1)->m_state = arg2;
16485
16486 Py_INCREF(Py_None); resultobj = Py_None;
16487 return resultobj;
16488 fail:
16489 return NULL;
16490 }
16491
16492
16493 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxListItem *arg1 = (wxListItem *) 0 ;
16496 long result;
16497 PyObject * obj0 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16504 result = (long) ((arg1)->m_state);
16505
16506 resultobj = PyInt_FromLong((long)result);
16507 return resultobj;
16508 fail:
16509 return NULL;
16510 }
16511
16512
16513 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxListItem *arg1 = (wxListItem *) 0 ;
16516 long arg2 ;
16517 PyObject * obj0 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self",(char *) "m_stateMask", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16524 if (arg1) (arg1)->m_stateMask = arg2;
16525
16526 Py_INCREF(Py_None); resultobj = Py_None;
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxListItem *arg1 = (wxListItem *) 0 ;
16536 long result;
16537 PyObject * obj0 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16544 result = (long) ((arg1)->m_stateMask);
16545
16546 resultobj = PyInt_FromLong((long)result);
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxListItem *arg1 = (wxListItem *) 0 ;
16556 wxString *arg2 = (wxString *) 0 ;
16557 PyObject * obj0 = 0 ;
16558 PyObject * obj1 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self",(char *) "m_text", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16566 if (arg1) (arg1)->m_text = *arg2;
16567
16568 Py_INCREF(Py_None); resultobj = Py_None;
16569 return resultobj;
16570 fail:
16571 return NULL;
16572 }
16573
16574
16575 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj;
16577 wxListItem *arg1 = (wxListItem *) 0 ;
16578 wxString *result;
16579 PyObject * obj0 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16586 result = (wxString *)& ((arg1)->m_text);
16587
16588 {
16589 #if wxUSE_UNICODE
16590 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16591 #else
16592 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16593 #endif
16594 }
16595 return resultobj;
16596 fail:
16597 return NULL;
16598 }
16599
16600
16601 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxListItem *arg1 = (wxListItem *) 0 ;
16604 int arg2 ;
16605 PyObject * obj0 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self",(char *) "m_image", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16612 if (arg1) (arg1)->m_image = arg2;
16613
16614 Py_INCREF(Py_None); resultobj = Py_None;
16615 return resultobj;
16616 fail:
16617 return NULL;
16618 }
16619
16620
16621 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj;
16623 wxListItem *arg1 = (wxListItem *) 0 ;
16624 int result;
16625 PyObject * obj0 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16632 result = (int) ((arg1)->m_image);
16633
16634 resultobj = PyInt_FromLong((long)result);
16635 return resultobj;
16636 fail:
16637 return NULL;
16638 }
16639
16640
16641 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj;
16643 wxListItem *arg1 = (wxListItem *) 0 ;
16644 long arg2 ;
16645 PyObject * obj0 = 0 ;
16646 char *kwnames[] = {
16647 (char *) "self",(char *) "m_data", NULL
16648 };
16649
16650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16652 if (arg1) (arg1)->m_data = arg2;
16653
16654 Py_INCREF(Py_None); resultobj = Py_None;
16655 return resultobj;
16656 fail:
16657 return NULL;
16658 }
16659
16660
16661 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16662 PyObject *resultobj;
16663 wxListItem *arg1 = (wxListItem *) 0 ;
16664 long result;
16665 PyObject * obj0 = 0 ;
16666 char *kwnames[] = {
16667 (char *) "self", NULL
16668 };
16669
16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16672 result = (long) ((arg1)->m_data);
16673
16674 resultobj = PyInt_FromLong((long)result);
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxListItem *arg1 = (wxListItem *) 0 ;
16684 int arg2 ;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self",(char *) "m_format", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16692 if (arg1) (arg1)->m_format = arg2;
16693
16694 Py_INCREF(Py_None); resultobj = Py_None;
16695 return resultobj;
16696 fail:
16697 return NULL;
16698 }
16699
16700
16701 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16702 PyObject *resultobj;
16703 wxListItem *arg1 = (wxListItem *) 0 ;
16704 int result;
16705 PyObject * obj0 = 0 ;
16706 char *kwnames[] = {
16707 (char *) "self", NULL
16708 };
16709
16710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16712 result = (int) ((arg1)->m_format);
16713
16714 resultobj = PyInt_FromLong((long)result);
16715 return resultobj;
16716 fail:
16717 return NULL;
16718 }
16719
16720
16721 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16722 PyObject *resultobj;
16723 wxListItem *arg1 = (wxListItem *) 0 ;
16724 int arg2 ;
16725 PyObject * obj0 = 0 ;
16726 char *kwnames[] = {
16727 (char *) "self",(char *) "m_width", NULL
16728 };
16729
16730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16732 if (arg1) (arg1)->m_width = arg2;
16733
16734 Py_INCREF(Py_None); resultobj = Py_None;
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxListItem *arg1 = (wxListItem *) 0 ;
16744 int result;
16745 PyObject * obj0 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "self", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16752 result = (int) ((arg1)->m_width);
16753
16754 resultobj = PyInt_FromLong((long)result);
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16762 PyObject *obj;
16763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16764 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16765 Py_INCREF(obj);
16766 return Py_BuildValue((char *)"");
16767 }
16768 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16769 PyObject *resultobj;
16770 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16771 int arg2 = (int) 0 ;
16772 wxListEvent *result;
16773 char *kwnames[] = {
16774 (char *) "commandType",(char *) "id", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16786 return resultobj;
16787 fail:
16788 return NULL;
16789 }
16790
16791
16792 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj;
16794 wxListEvent *arg1 = (wxListEvent *) 0 ;
16795 int arg2 ;
16796 PyObject * obj0 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "m_code", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16803 if (arg1) (arg1)->m_code = arg2;
16804
16805 Py_INCREF(Py_None); resultobj = Py_None;
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxListEvent *arg1 = (wxListEvent *) 0 ;
16815 int result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16823 result = (int) ((arg1)->m_code);
16824
16825 resultobj = PyInt_FromLong((long)result);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxListEvent *arg1 = (wxListEvent *) 0 ;
16835 long arg2 ;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self",(char *) "m_oldItemIndex", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16843 if (arg1) (arg1)->m_oldItemIndex = arg2;
16844
16845 Py_INCREF(Py_None); resultobj = Py_None;
16846 return resultobj;
16847 fail:
16848 return NULL;
16849 }
16850
16851
16852 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxListEvent *arg1 = (wxListEvent *) 0 ;
16855 long result;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16863 result = (long) ((arg1)->m_oldItemIndex);
16864
16865 resultobj = PyInt_FromLong((long)result);
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxListEvent *arg1 = (wxListEvent *) 0 ;
16875 long arg2 ;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self",(char *) "m_itemIndex", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16883 if (arg1) (arg1)->m_itemIndex = arg2;
16884
16885 Py_INCREF(Py_None); resultobj = Py_None;
16886 return resultobj;
16887 fail:
16888 return NULL;
16889 }
16890
16891
16892 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj;
16894 wxListEvent *arg1 = (wxListEvent *) 0 ;
16895 long result;
16896 PyObject * obj0 = 0 ;
16897 char *kwnames[] = {
16898 (char *) "self", NULL
16899 };
16900
16901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16903 result = (long) ((arg1)->m_itemIndex);
16904
16905 resultobj = PyInt_FromLong((long)result);
16906 return resultobj;
16907 fail:
16908 return NULL;
16909 }
16910
16911
16912 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj;
16914 wxListEvent *arg1 = (wxListEvent *) 0 ;
16915 int arg2 ;
16916 PyObject * obj0 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self",(char *) "m_col", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16923 if (arg1) (arg1)->m_col = arg2;
16924
16925 Py_INCREF(Py_None); resultobj = Py_None;
16926 return resultobj;
16927 fail:
16928 return NULL;
16929 }
16930
16931
16932 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxListEvent *arg1 = (wxListEvent *) 0 ;
16935 int result;
16936 PyObject * obj0 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self", NULL
16939 };
16940
16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16943 result = (int) ((arg1)->m_col);
16944
16945 resultobj = PyInt_FromLong((long)result);
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxListEvent *arg1 = (wxListEvent *) 0 ;
16955 wxPoint *arg2 = (wxPoint *) 0 ;
16956 PyObject * obj0 = 0 ;
16957 PyObject * obj1 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self",(char *) "m_pointDrag", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16965 if (arg1) (arg1)->m_pointDrag = *arg2;
16966
16967 Py_INCREF(Py_None); resultobj = Py_None;
16968 return resultobj;
16969 fail:
16970 return NULL;
16971 }
16972
16973
16974 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16975 PyObject *resultobj;
16976 wxListEvent *arg1 = (wxListEvent *) 0 ;
16977 wxPoint *result;
16978 PyObject * obj0 = 0 ;
16979 char *kwnames[] = {
16980 (char *) "self", NULL
16981 };
16982
16983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16985 result = (wxPoint *)& ((arg1)->m_pointDrag);
16986
16987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16988 return resultobj;
16989 fail:
16990 return NULL;
16991 }
16992
16993
16994 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj;
16996 wxListEvent *arg1 = (wxListEvent *) 0 ;
16997 wxListItem *result;
16998 PyObject * obj0 = 0 ;
16999 char *kwnames[] = {
17000 (char *) "self", NULL
17001 };
17002
17003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17005 result = (wxListItem *)& ((arg1)->m_item);
17006
17007 {
17008 resultobj = wxPyMake_wxObject(result);
17009 }
17010 return resultobj;
17011 fail:
17012 return NULL;
17013 }
17014
17015
17016 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17017 PyObject *resultobj;
17018 wxListEvent *arg1 = (wxListEvent *) 0 ;
17019 int result;
17020 PyObject * obj0 = 0 ;
17021 char *kwnames[] = {
17022 (char *) "self", NULL
17023 };
17024
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (int)(arg1)->GetKeyCode();
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 resultobj = PyInt_FromLong((long)result);
17035 return resultobj;
17036 fail:
17037 return NULL;
17038 }
17039
17040
17041 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17042 PyObject *resultobj;
17043 wxListEvent *arg1 = (wxListEvent *) 0 ;
17044 long result;
17045 PyObject * obj0 = 0 ;
17046 char *kwnames[] = {
17047 (char *) "self", NULL
17048 };
17049
17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 result = (long)(arg1)->GetIndex();
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 resultobj = PyInt_FromLong((long)result);
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxListEvent *arg1 = (wxListEvent *) 0 ;
17069 int result;
17070 PyObject * obj0 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "self", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (int)(arg1)->GetColumn();
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 resultobj = PyInt_FromLong((long)result);
17085 return resultobj;
17086 fail:
17087 return NULL;
17088 }
17089
17090
17091 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17092 PyObject *resultobj;
17093 wxListEvent *arg1 = (wxListEvent *) 0 ;
17094 wxPoint result;
17095 PyObject * obj0 = 0 ;
17096 char *kwnames[] = {
17097 (char *) "self", NULL
17098 };
17099
17100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17102 {
17103 PyThreadState* __tstate = wxPyBeginAllowThreads();
17104 result = (arg1)->GetPoint();
17105
17106 wxPyEndAllowThreads(__tstate);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 }
17109 {
17110 wxPoint * resultptr;
17111 resultptr = new wxPoint((wxPoint &) result);
17112 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17113 }
17114 return resultobj;
17115 fail:
17116 return NULL;
17117 }
17118
17119
17120 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj;
17122 wxListEvent *arg1 = (wxListEvent *) 0 ;
17123 wxString *result;
17124 PyObject * obj0 = 0 ;
17125 char *kwnames[] = {
17126 (char *) "self", NULL
17127 };
17128
17129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 {
17134 wxString const &_result_ref = (arg1)->GetLabel();
17135 result = (wxString *) &_result_ref;
17136 }
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 {
17142 #if wxUSE_UNICODE
17143 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17144 #else
17145 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17146 #endif
17147 }
17148 return resultobj;
17149 fail:
17150 return NULL;
17151 }
17152
17153
17154 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17155 PyObject *resultobj;
17156 wxListEvent *arg1 = (wxListEvent *) 0 ;
17157 wxString *result;
17158 PyObject * obj0 = 0 ;
17159 char *kwnames[] = {
17160 (char *) "self", NULL
17161 };
17162
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 {
17168 wxString const &_result_ref = (arg1)->GetText();
17169 result = (wxString *) &_result_ref;
17170 }
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 {
17176 #if wxUSE_UNICODE
17177 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17178 #else
17179 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17180 #endif
17181 }
17182 return resultobj;
17183 fail:
17184 return NULL;
17185 }
17186
17187
17188 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxListEvent *arg1 = (wxListEvent *) 0 ;
17191 int result;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 result = (int)(arg1)->GetImage();
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 resultobj = PyInt_FromLong((long)result);
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxListEvent *arg1 = (wxListEvent *) 0 ;
17216 long result;
17217 PyObject * obj0 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = (long)(arg1)->GetData();
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 resultobj = PyInt_FromLong((long)result);
17232 return resultobj;
17233 fail:
17234 return NULL;
17235 }
17236
17237
17238 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxListEvent *arg1 = (wxListEvent *) 0 ;
17241 long result;
17242 PyObject * obj0 = 0 ;
17243 char *kwnames[] = {
17244 (char *) "self", NULL
17245 };
17246
17247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17249 {
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 result = (long)(arg1)->GetMask();
17252
17253 wxPyEndAllowThreads(__tstate);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
17256 resultobj = PyInt_FromLong((long)result);
17257 return resultobj;
17258 fail:
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxListEvent *arg1 = (wxListEvent *) 0 ;
17266 wxListItem *result;
17267 PyObject * obj0 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 {
17277 wxListItem const &_result_ref = (arg1)->GetItem();
17278 result = (wxListItem *) &_result_ref;
17279 }
17280
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17285 return resultobj;
17286 fail:
17287 return NULL;
17288 }
17289
17290
17291 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj;
17293 wxListEvent *arg1 = (wxListEvent *) 0 ;
17294 long result;
17295 PyObject * obj0 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = (long)(arg1)->GetCacheFrom();
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 resultobj = PyInt_FromLong((long)result);
17310 return resultobj;
17311 fail:
17312 return NULL;
17313 }
17314
17315
17316 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxListEvent *arg1 = (wxListEvent *) 0 ;
17319 long result;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self", NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (long)(arg1)->GetCacheTo();
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 resultobj = PyInt_FromLong((long)result);
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxListEvent *arg1 = (wxListEvent *) 0 ;
17344 bool result;
17345 PyObject * obj0 = 0 ;
17346 char *kwnames[] = {
17347 (char *) "self", NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 resultobj = PyInt_FromLong((long)result);
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxListEvent *arg1 = (wxListEvent *) 0 ;
17369 bool arg2 ;
17370 PyObject * obj0 = 0 ;
17371 PyObject * obj1 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self",(char *) "editCancelled", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17378 arg2 = PyInt_AsLong(obj1) ? true : false;
17379 if (PyErr_Occurred()) SWIG_fail;
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 (arg1)->SetEditCanceled(arg2);
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 Py_INCREF(Py_None); resultobj = Py_None;
17388 return resultobj;
17389 fail:
17390 return NULL;
17391 }
17392
17393
17394 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17395 PyObject *obj;
17396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17397 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17398 Py_INCREF(obj);
17399 return Py_BuildValue((char *)"");
17400 }
17401 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17402 PyObject *resultobj;
17403 wxWindow *arg1 = (wxWindow *) 0 ;
17404 int arg2 = (int) -1 ;
17405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17407 wxSize const &arg4_defvalue = wxDefaultSize ;
17408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17409 long arg5 = (long) wxLC_ICON ;
17410 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17411 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17412 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17413 wxString *arg7 = (wxString *) &arg7_defvalue ;
17414 wxPyListCtrl *result;
17415 wxPoint temp3 ;
17416 wxSize temp4 ;
17417 bool temp7 = False ;
17418 PyObject * obj0 = 0 ;
17419 PyObject * obj2 = 0 ;
17420 PyObject * obj3 = 0 ;
17421 PyObject * obj5 = 0 ;
17422 PyObject * obj6 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17429 if (obj2) {
17430 {
17431 arg3 = &temp3;
17432 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17433 }
17434 }
17435 if (obj3) {
17436 {
17437 arg4 = &temp4;
17438 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17439 }
17440 }
17441 if (obj5) {
17442 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17443 if (arg6 == NULL) {
17444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17445 }
17446 }
17447 if (obj6) {
17448 {
17449 arg7 = wxString_in_helper(obj6);
17450 if (arg7 == NULL) SWIG_fail;
17451 temp7 = True;
17452 }
17453 }
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17462 {
17463 if (temp7)
17464 delete arg7;
17465 }
17466 return resultobj;
17467 fail:
17468 {
17469 if (temp7)
17470 delete arg7;
17471 }
17472 return NULL;
17473 }
17474
17475
17476 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17477 PyObject *resultobj;
17478 wxPyListCtrl *result;
17479 char *kwnames[] = {
17480 NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = (wxPyListCtrl *)new wxPyListCtrl();
17487
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17492 return resultobj;
17493 fail:
17494 return NULL;
17495 }
17496
17497
17498 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17501 wxWindow *arg2 = (wxWindow *) 0 ;
17502 int arg3 = (int) -1 ;
17503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17505 wxSize const &arg5_defvalue = wxDefaultSize ;
17506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17507 long arg6 = (long) wxLC_ICON ;
17508 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17509 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17510 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17511 wxString *arg8 = (wxString *) &arg8_defvalue ;
17512 bool result;
17513 wxPoint temp4 ;
17514 wxSize temp5 ;
17515 bool temp8 = False ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 PyObject * obj3 = 0 ;
17519 PyObject * obj4 = 0 ;
17520 PyObject * obj6 = 0 ;
17521 PyObject * obj7 = 0 ;
17522 char *kwnames[] = {
17523 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17524 };
17525
17526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17529 if (obj3) {
17530 {
17531 arg4 = &temp4;
17532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17533 }
17534 }
17535 if (obj4) {
17536 {
17537 arg5 = &temp5;
17538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17539 }
17540 }
17541 if (obj6) {
17542 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 if (arg7 == NULL) {
17544 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17545 }
17546 }
17547 if (obj7) {
17548 {
17549 arg8 = wxString_in_helper(obj7);
17550 if (arg8 == NULL) SWIG_fail;
17551 temp8 = True;
17552 }
17553 }
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 resultobj = PyInt_FromLong((long)result);
17562 {
17563 if (temp8)
17564 delete arg8;
17565 }
17566 return resultobj;
17567 fail:
17568 {
17569 if (temp8)
17570 delete arg8;
17571 }
17572 return NULL;
17573 }
17574
17575
17576 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17579 PyObject *arg2 = (PyObject *) 0 ;
17580 PyObject *arg3 = (PyObject *) 0 ;
17581 PyObject * obj0 = 0 ;
17582 PyObject * obj1 = 0 ;
17583 PyObject * obj2 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self",(char *) "self",(char *) "_class", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 arg2 = obj1;
17591 arg3 = obj2;
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 (arg1)->_setCallbackInfo(arg2,arg3);
17595
17596 wxPyEndAllowThreads(__tstate);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 Py_INCREF(Py_None); resultobj = Py_None;
17600 return resultobj;
17601 fail:
17602 return NULL;
17603 }
17604
17605
17606 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17609 wxColour *arg2 = 0 ;
17610 bool result;
17611 wxColour temp2 ;
17612 PyObject * obj0 = 0 ;
17613 PyObject * obj1 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self",(char *) "col", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 {
17621 arg2 = &temp2;
17622 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17623 }
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 resultobj = PyInt_FromLong((long)result);
17632 return resultobj;
17633 fail:
17634 return NULL;
17635 }
17636
17637
17638 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17641 wxColour *arg2 = 0 ;
17642 bool result;
17643 wxColour temp2 ;
17644 PyObject * obj0 = 0 ;
17645 PyObject * obj1 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self",(char *) "col", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 {
17653 arg2 = &temp2;
17654 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17655 }
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 resultobj = PyInt_FromLong((long)result);
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17673 int arg2 ;
17674 wxListItem *result;
17675 PyObject * obj0 = 0 ;
17676 char *kwnames[] = {
17677 (char *) "self",(char *) "col", NULL
17678 };
17679
17680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17685
17686 wxPyEndAllowThreads(__tstate);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 }
17689 {
17690 resultobj = wxPyMake_wxObject(result);
17691 }
17692 return resultobj;
17693 fail:
17694 return NULL;
17695 }
17696
17697
17698 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17699 PyObject *resultobj;
17700 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17701 int arg2 ;
17702 wxListItem *arg3 = 0 ;
17703 bool result;
17704 PyObject * obj0 = 0 ;
17705 PyObject * obj2 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self",(char *) "col",(char *) "item", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17712 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17713 if (arg3 == NULL) {
17714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17715 }
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 resultobj = PyInt_FromLong((long)result);
17724 return resultobj;
17725 fail:
17726 return NULL;
17727 }
17728
17729
17730 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17733 int arg2 ;
17734 int result;
17735 PyObject * obj0 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self",(char *) "col", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 resultobj = PyInt_FromLong((long)result);
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17759 int arg2 ;
17760 int arg3 ;
17761 bool result;
17762 PyObject * obj0 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self",(char *) "col",(char *) "width", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = PyInt_FromLong((long)result);
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17786 int result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = PyInt_FromLong((long)result);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17811 wxRect result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 {
17827 wxRect * resultptr;
17828 resultptr = new wxRect((wxRect &) result);
17829 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17830 }
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17840 long arg2 ;
17841 int arg3 = (int) 0 ;
17842 wxListItem *result;
17843 PyObject * obj0 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self",(char *) "itemId",(char *) "col", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 {
17858 resultobj = wxPyMake_wxObject(result);
17859 }
17860 return resultobj;
17861 fail:
17862 return NULL;
17863 }
17864
17865
17866 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj;
17868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17869 wxListItem *arg2 = 0 ;
17870 bool result;
17871 PyObject * obj0 = 0 ;
17872 PyObject * obj1 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self",(char *) "info", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17880 if (arg2 == NULL) {
17881 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17882 }
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 result = (bool)(arg1)->SetItem(*arg2);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 resultobj = PyInt_FromLong((long)result);
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17900 long arg2 ;
17901 int arg3 ;
17902 wxString *arg4 = 0 ;
17903 int arg5 = (int) -1 ;
17904 long result;
17905 bool temp4 = False ;
17906 PyObject * obj0 = 0 ;
17907 PyObject * obj3 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17914 {
17915 arg4 = wxString_in_helper(obj3);
17916 if (arg4 == NULL) SWIG_fail;
17917 temp4 = True;
17918 }
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 resultobj = PyInt_FromLong((long)result);
17927 {
17928 if (temp4)
17929 delete arg4;
17930 }
17931 return resultobj;
17932 fail:
17933 {
17934 if (temp4)
17935 delete arg4;
17936 }
17937 return NULL;
17938 }
17939
17940
17941 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17942 PyObject *resultobj;
17943 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17944 long arg2 ;
17945 long arg3 ;
17946 int result;
17947 PyObject * obj0 = 0 ;
17948 char *kwnames[] = {
17949 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17950 };
17951
17952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = PyInt_FromLong((long)result);
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17971 long arg2 ;
17972 long arg3 ;
17973 long arg4 ;
17974 bool result;
17975 PyObject * obj0 = 0 ;
17976 char *kwnames[] = {
17977 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17978 };
17979
17980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17985
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 resultobj = PyInt_FromLong((long)result);
17990 return resultobj;
17991 fail:
17992 return NULL;
17993 }
17994
17995
17996 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17997 PyObject *resultobj;
17998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17999 long arg2 ;
18000 int arg3 ;
18001 int arg4 ;
18002 bool result;
18003 PyObject * obj0 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = PyInt_FromLong((long)result);
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18027 long arg2 ;
18028 wxString result;
18029 PyObject * obj0 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self",(char *) "item", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 {
18044 #if wxUSE_UNICODE
18045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18046 #else
18047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18048 #endif
18049 }
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18059 long arg2 ;
18060 wxString *arg3 = 0 ;
18061 bool temp3 = False ;
18062 PyObject * obj0 = 0 ;
18063 PyObject * obj2 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "item",(char *) "str", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 {
18071 arg3 = wxString_in_helper(obj2);
18072 if (arg3 == NULL) SWIG_fail;
18073 temp3 = True;
18074 }
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 Py_INCREF(Py_None); resultobj = Py_None;
18083 {
18084 if (temp3)
18085 delete arg3;
18086 }
18087 return resultobj;
18088 fail:
18089 {
18090 if (temp3)
18091 delete arg3;
18092 }
18093 return NULL;
18094 }
18095
18096
18097 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj;
18099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18100 long arg2 ;
18101 long result;
18102 PyObject * obj0 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self",(char *) "item", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18112
18113 wxPyEndAllowThreads(__tstate);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 resultobj = PyInt_FromLong((long)result);
18117 return resultobj;
18118 fail:
18119 return NULL;
18120 }
18121
18122
18123 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18126 long arg2 ;
18127 long arg3 ;
18128 bool result;
18129 PyObject * obj0 = 0 ;
18130 char *kwnames[] = {
18131 (char *) "self",(char *) "item",(char *) "data", NULL
18132 };
18133
18134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (bool)(arg1)->SetItemData(arg2,arg3);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 resultobj = PyInt_FromLong((long)result);
18144 return resultobj;
18145 fail:
18146 return NULL;
18147 }
18148
18149
18150 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18153 long arg2 ;
18154 wxPoint result;
18155 PyObject * obj0 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self",(char *) "item", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 {
18170 wxPoint * resultptr;
18171 resultptr = new wxPoint((wxPoint &) result);
18172 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18173 }
18174 return resultobj;
18175 fail:
18176 return NULL;
18177 }
18178
18179
18180 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj;
18182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18183 long arg2 ;
18184 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18185 wxRect result;
18186 PyObject * obj0 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "self",(char *) "item",(char *) "code", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18193 {
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 {
18201 wxRect * resultptr;
18202 resultptr = new wxRect((wxRect &) result);
18203 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18204 }
18205 return resultobj;
18206 fail:
18207 return NULL;
18208 }
18209
18210
18211 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18212 PyObject *resultobj;
18213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18214 long arg2 ;
18215 wxPoint *arg3 = 0 ;
18216 bool result;
18217 wxPoint temp3 ;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj2 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self",(char *) "item",(char *) "pos", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18226 {
18227 arg3 = &temp3;
18228 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18229 }
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 resultobj = PyInt_FromLong((long)result);
18238 return resultobj;
18239 fail:
18240 return NULL;
18241 }
18242
18243
18244 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18247 int result;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = PyInt_FromLong((long)result);
18263 return resultobj;
18264 fail:
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18272 int result;
18273 PyObject * obj0 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 resultobj = PyInt_FromLong((long)result);
18288 return resultobj;
18289 fail:
18290 return NULL;
18291 }
18292
18293
18294 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18297 wxSize result;
18298 PyObject * obj0 = 0 ;
18299 char *kwnames[] = {
18300 (char *) "self", NULL
18301 };
18302
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18308
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 {
18313 wxSize * resultptr;
18314 resultptr = new wxSize((wxSize &) result);
18315 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18316 }
18317 return resultobj;
18318 fail:
18319 return NULL;
18320 }
18321
18322
18323 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18326 int arg2 ;
18327 bool arg3 = (bool) False ;
18328 PyObject * obj0 = 0 ;
18329 PyObject * obj2 = 0 ;
18330 char *kwnames[] = {
18331 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18332 };
18333
18334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18336 if (obj2) {
18337 arg3 = PyInt_AsLong(obj2) ? true : false;
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 (arg1)->SetItemSpacing(arg2,arg3);
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 Py_INCREF(Py_None); resultobj = Py_None;
18348 return resultobj;
18349 fail:
18350 return NULL;
18351 }
18352
18353
18354 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18357 int result;
18358 PyObject * obj0 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 resultobj = PyInt_FromLong((long)result);
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj;
18381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18382 wxColour result;
18383 PyObject * obj0 = 0 ;
18384 char *kwnames[] = {
18385 (char *) "self", NULL
18386 };
18387
18388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 {
18398 wxColour * resultptr;
18399 resultptr = new wxColour((wxColour &) result);
18400 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18401 }
18402 return resultobj;
18403 fail:
18404 return NULL;
18405 }
18406
18407
18408 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18411 wxColour *arg2 = 0 ;
18412 wxColour temp2 ;
18413 PyObject * obj0 = 0 ;
18414 PyObject * obj1 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "col", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 {
18422 arg2 = &temp2;
18423 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18424 }
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
18427 (arg1)->SetTextColour((wxColour const &)*arg2);
18428
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
18432 Py_INCREF(Py_None); resultobj = Py_None;
18433 return resultobj;
18434 fail:
18435 return NULL;
18436 }
18437
18438
18439 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18440 PyObject *resultobj;
18441 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18442 long result;
18443 PyObject * obj0 = 0 ;
18444 char *kwnames[] = {
18445 (char *) "self", NULL
18446 };
18447
18448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18453
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 resultobj = PyInt_FromLong((long)result);
18458 return resultobj;
18459 fail:
18460 return NULL;
18461 }
18462
18463
18464 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18465 PyObject *resultobj;
18466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18467 long arg2 ;
18468 bool arg3 = (bool) True ;
18469 PyObject * obj0 = 0 ;
18470 PyObject * obj2 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self",(char *) "style",(char *) "add", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18477 if (obj2) {
18478 arg3 = PyInt_AsLong(obj2) ? true : false;
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 (arg1)->SetSingleStyle(arg2,arg3);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18498 long arg2 ;
18499 PyObject * obj0 = 0 ;
18500 char *kwnames[] = {
18501 (char *) "self",(char *) "style", NULL
18502 };
18503
18504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 (arg1)->SetWindowStyleFlag(arg2);
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 Py_INCREF(Py_None); resultobj = Py_None;
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18523 long arg2 ;
18524 int arg3 = (int) wxLIST_NEXT_ALL ;
18525 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18526 long result;
18527 PyObject * obj0 = 0 ;
18528 char *kwnames[] = {
18529 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) 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 = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
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_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj;
18550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18551 int arg2 ;
18552 wxImageList *result;
18553 PyObject * obj0 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "self",(char *) "which", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",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 = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 {
18568 resultobj = wxPyMake_wxObject(result);
18569 }
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18579 wxImageList *arg2 = (wxImageList *) 0 ;
18580 int arg3 ;
18581 PyObject * obj0 = 0 ;
18582 PyObject * obj1 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "imageList",(char *) "which", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18590 {
18591 PyThreadState* __tstate = wxPyBeginAllowThreads();
18592 (arg1)->SetImageList(arg2,arg3);
18593
18594 wxPyEndAllowThreads(__tstate);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 Py_INCREF(Py_None); resultobj = Py_None;
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18607 wxImageList *arg2 = (wxImageList *) 0 ;
18608 int arg3 ;
18609 PyObject * obj0 = 0 ;
18610 PyObject * obj1 = 0 ;
18611 char *kwnames[] = {
18612 (char *) "self",(char *) "imageList",(char *) "which", NULL
18613 };
18614
18615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 (arg1)->AssignImageList(arg2,arg3);
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 Py_INCREF(Py_None); resultobj = Py_None;
18626 return resultobj;
18627 fail:
18628 return NULL;
18629 }
18630
18631
18632 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18635 bool result;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 resultobj = PyInt_FromLong((long)result);
18651 return resultobj;
18652 fail:
18653 return NULL;
18654 }
18655
18656
18657 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18660 long arg2 ;
18661 PyObject * obj0 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "item", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 (arg1)->RefreshItem(arg2);
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 Py_INCREF(Py_None); resultobj = Py_None;
18676 return resultobj;
18677 fail:
18678 return NULL;
18679 }
18680
18681
18682 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18683 PyObject *resultobj;
18684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18685 long arg2 ;
18686 long arg3 ;
18687 PyObject * obj0 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 (arg1)->RefreshItems(arg2,arg3);
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 Py_INCREF(Py_None); resultobj = Py_None;
18702 return resultobj;
18703 fail:
18704 return NULL;
18705 }
18706
18707
18708 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18711 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18712 bool result;
18713 PyObject * obj0 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self",(char *) "flag", NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = (bool)(arg1)->Arrange(arg2);
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 resultobj = PyInt_FromLong((long)result);
18728 return resultobj;
18729 fail:
18730 return NULL;
18731 }
18732
18733
18734 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18735 PyObject *resultobj;
18736 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18737 long arg2 ;
18738 bool result;
18739 PyObject * obj0 = 0 ;
18740 char *kwnames[] = {
18741 (char *) "self",(char *) "item", NULL
18742 };
18743
18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 result = (bool)(arg1)->DeleteItem(arg2);
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
18753 resultobj = PyInt_FromLong((long)result);
18754 return resultobj;
18755 fail:
18756 return NULL;
18757 }
18758
18759
18760 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18761 PyObject *resultobj;
18762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18763 bool result;
18764 PyObject * obj0 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (bool)(arg1)->DeleteAllItems();
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 resultobj = PyInt_FromLong((long)result);
18779 return resultobj;
18780 fail:
18781 return NULL;
18782 }
18783
18784
18785 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18786 PyObject *resultobj;
18787 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18788 int arg2 ;
18789 bool result;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "col", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 result = (bool)(arg1)->DeleteColumn(arg2);
18800
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 resultobj = PyInt_FromLong((long)result);
18805 return resultobj;
18806 fail:
18807 return NULL;
18808 }
18809
18810
18811 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj;
18813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18814 bool result;
18815 PyObject * obj0 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 result = (bool)(arg1)->DeleteAllColumns();
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 resultobj = PyInt_FromLong((long)result);
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18839 PyObject * obj0 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 (arg1)->ClearAll();
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 Py_INCREF(Py_None); resultobj = Py_None;
18854 return resultobj;
18855 fail:
18856 return NULL;
18857 }
18858
18859
18860 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18863 long arg2 ;
18864 PyObject * obj0 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self",(char *) "item", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 (arg1)->EditLabel(arg2);
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 Py_INCREF(Py_None); resultobj = Py_None;
18879 return resultobj;
18880 fail:
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18888 long arg2 ;
18889 bool result;
18890 PyObject * obj0 = 0 ;
18891 char *kwnames[] = {
18892 (char *) "self",(char *) "item", NULL
18893 };
18894
18895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 result = (bool)(arg1)->EnsureVisible(arg2);
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 resultobj = PyInt_FromLong((long)result);
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj;
18913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18914 long arg2 ;
18915 wxString *arg3 = 0 ;
18916 bool arg4 = (bool) False ;
18917 long result;
18918 bool temp3 = False ;
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj2 = 0 ;
18921 PyObject * obj3 = 0 ;
18922 char *kwnames[] = {
18923 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18924 };
18925
18926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18928 {
18929 arg3 = wxString_in_helper(obj2);
18930 if (arg3 == NULL) SWIG_fail;
18931 temp3 = True;
18932 }
18933 if (obj3) {
18934 arg4 = PyInt_AsLong(obj3) ? true : false;
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 resultobj = PyInt_FromLong((long)result);
18945 {
18946 if (temp3)
18947 delete arg3;
18948 }
18949 return resultobj;
18950 fail:
18951 {
18952 if (temp3)
18953 delete arg3;
18954 }
18955 return NULL;
18956 }
18957
18958
18959 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18960 PyObject *resultobj;
18961 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18962 long arg2 ;
18963 long arg3 ;
18964 long result;
18965 PyObject * obj0 = 0 ;
18966 char *kwnames[] = {
18967 (char *) "self",(char *) "start",(char *) "data", NULL
18968 };
18969
18970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 result = (long)(arg1)->FindItem(arg2,arg3);
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 resultobj = PyInt_FromLong((long)result);
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18989 long arg2 ;
18990 wxPoint *arg3 = 0 ;
18991 int arg4 ;
18992 long result;
18993 wxPoint temp3 ;
18994 PyObject * obj0 = 0 ;
18995 PyObject * obj2 = 0 ;
18996 char *kwnames[] = {
18997 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18998 };
18999
19000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19002 {
19003 arg3 = &temp3;
19004 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19005 }
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 resultobj = PyInt_FromLong((long)result);
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19023 wxPoint *arg2 = 0 ;
19024 int *arg3 = 0 ;
19025 long result;
19026 wxPoint temp2 ;
19027 int temp3 ;
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 char *kwnames[] = {
19031 (char *) "self",(char *) "point", NULL
19032 };
19033
19034 arg3 = &temp3;
19035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19037 {
19038 arg2 = &temp2;
19039 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19040 }
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19044
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 resultobj = PyInt_FromLong((long)result);
19049 {
19050 PyObject *o = PyInt_FromLong((long) (*arg3));
19051 resultobj = t_output_helper(resultobj,o);
19052 }
19053 return resultobj;
19054 fail:
19055 return NULL;
19056 }
19057
19058
19059 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj;
19061 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19062 wxListItem *arg2 = 0 ;
19063 long result;
19064 PyObject * obj0 = 0 ;
19065 PyObject * obj1 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self",(char *) "info", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19073 if (arg2 == NULL) {
19074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19075 }
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (long)(arg1)->InsertItem(*arg2);
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 resultobj = PyInt_FromLong((long)result);
19084 return resultobj;
19085 fail:
19086 return NULL;
19087 }
19088
19089
19090 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj;
19092 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19093 long arg2 ;
19094 wxString *arg3 = 0 ;
19095 long result;
19096 bool temp3 = False ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj2 = 0 ;
19099 char *kwnames[] = {
19100 (char *) "self",(char *) "index",(char *) "label", NULL
19101 };
19102
19103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19105 {
19106 arg3 = wxString_in_helper(obj2);
19107 if (arg3 == NULL) SWIG_fail;
19108 temp3 = True;
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 resultobj = PyInt_FromLong((long)result);
19118 {
19119 if (temp3)
19120 delete arg3;
19121 }
19122 return resultobj;
19123 fail:
19124 {
19125 if (temp3)
19126 delete arg3;
19127 }
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19135 long arg2 ;
19136 int arg3 ;
19137 long result;
19138 PyObject * obj0 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 result = (long)(arg1)->InsertItem(arg2,arg3);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 resultobj = PyInt_FromLong((long)result);
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19162 long arg2 ;
19163 wxString *arg3 = 0 ;
19164 int arg4 ;
19165 long result;
19166 bool temp3 = False ;
19167 PyObject * obj0 = 0 ;
19168 PyObject * obj2 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19175 {
19176 arg3 = wxString_in_helper(obj2);
19177 if (arg3 == NULL) SWIG_fail;
19178 temp3 = True;
19179 }
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19183
19184 wxPyEndAllowThreads(__tstate);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 }
19187 resultobj = PyInt_FromLong((long)result);
19188 {
19189 if (temp3)
19190 delete arg3;
19191 }
19192 return resultobj;
19193 fail:
19194 {
19195 if (temp3)
19196 delete arg3;
19197 }
19198 return NULL;
19199 }
19200
19201
19202 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19203 PyObject *resultobj;
19204 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19205 long arg2 ;
19206 wxListItem *arg3 = 0 ;
19207 long result;
19208 PyObject * obj0 = 0 ;
19209 PyObject * obj2 = 0 ;
19210 char *kwnames[] = {
19211 (char *) "self",(char *) "col",(char *) "info", NULL
19212 };
19213
19214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19216 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19217 if (arg3 == NULL) {
19218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19219 }
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 resultobj = PyInt_FromLong((long)result);
19228 return resultobj;
19229 fail:
19230 return NULL;
19231 }
19232
19233
19234 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19235 PyObject *resultobj;
19236 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19237 long arg2 ;
19238 wxString *arg3 = 0 ;
19239 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19240 int arg5 = (int) -1 ;
19241 long result;
19242 bool temp3 = False ;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj2 = 0 ;
19245 char *kwnames[] = {
19246 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19247 };
19248
19249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19251 {
19252 arg3 = wxString_in_helper(obj2);
19253 if (arg3 == NULL) SWIG_fail;
19254 temp3 = True;
19255 }
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19259
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = PyInt_FromLong((long)result);
19264 {
19265 if (temp3)
19266 delete arg3;
19267 }
19268 return resultobj;
19269 fail:
19270 {
19271 if (temp3)
19272 delete arg3;
19273 }
19274 return NULL;
19275 }
19276
19277
19278 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19281 long arg2 ;
19282 PyObject * obj0 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self",(char *) "count", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 (arg1)->SetItemCount(arg2);
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 Py_INCREF(Py_None); resultobj = Py_None;
19297 return resultobj;
19298 fail:
19299 return NULL;
19300 }
19301
19302
19303 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19306 int arg2 ;
19307 int arg3 ;
19308 bool result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self",(char *) "dx",(char *) "dy", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19316 {
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 result = (bool)(arg1)->ScrollList(arg2,arg3);
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 resultobj = PyInt_FromLong((long)result);
19324 return resultobj;
19325 fail:
19326 return NULL;
19327 }
19328
19329
19330 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19331 PyObject *resultobj;
19332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19333 long arg2 ;
19334 wxColour *arg3 = 0 ;
19335 wxColour temp3 ;
19336 PyObject * obj0 = 0 ;
19337 PyObject * obj2 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self",(char *) "item",(char *) "col", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19344 {
19345 arg3 = &temp3;
19346 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19347 }
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 Py_INCREF(Py_None); resultobj = Py_None;
19356 return resultobj;
19357 fail:
19358 return NULL;
19359 }
19360
19361
19362 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19365 long arg2 ;
19366 wxColour result;
19367 PyObject * obj0 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self",(char *) "item", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 {
19382 wxColour * resultptr;
19383 resultptr = new wxColour((wxColour &) result);
19384 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19385 }
19386 return resultobj;
19387 fail:
19388 return NULL;
19389 }
19390
19391
19392 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19395 long arg2 ;
19396 wxColour *arg3 = 0 ;
19397 wxColour temp3 ;
19398 PyObject * obj0 = 0 ;
19399 PyObject * obj2 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "item",(char *) "col", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19406 {
19407 arg3 = &temp3;
19408 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 Py_INCREF(Py_None); resultobj = Py_None;
19418 return resultobj;
19419 fail:
19420 return NULL;
19421 }
19422
19423
19424 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19427 long arg2 ;
19428 wxColour result;
19429 PyObject * obj0 = 0 ;
19430 char *kwnames[] = {
19431 (char *) "self",(char *) "item", NULL
19432 };
19433
19434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 {
19444 wxColour * resultptr;
19445 resultptr = new wxColour((wxColour &) result);
19446 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19447 }
19448 return resultobj;
19449 fail:
19450 return NULL;
19451 }
19452
19453
19454 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19455 PyObject *resultobj;
19456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19457 PyObject *arg2 = (PyObject *) 0 ;
19458 bool result;
19459 PyObject * obj0 = 0 ;
19460 PyObject * obj1 = 0 ;
19461 char *kwnames[] = {
19462 (char *) "self",(char *) "func", NULL
19463 };
19464
19465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19467 arg2 = obj1;
19468 {
19469 PyThreadState* __tstate = wxPyBeginAllowThreads();
19470 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19471
19472 wxPyEndAllowThreads(__tstate);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 }
19475 resultobj = PyInt_FromLong((long)result);
19476 return resultobj;
19477 fail:
19478 return NULL;
19479 }
19480
19481
19482 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19483 PyObject *resultobj;
19484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19485 wxWindow *result;
19486 PyObject * obj0 = 0 ;
19487 char *kwnames[] = {
19488 (char *) "self", NULL
19489 };
19490
19491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 {
19501 resultobj = wxPyMake_wxObject(result);
19502 }
19503 return resultobj;
19504 fail:
19505 return NULL;
19506 }
19507
19508
19509 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19510 PyObject *obj;
19511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19512 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19513 Py_INCREF(obj);
19514 return Py_BuildValue((char *)"");
19515 }
19516 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxWindow *arg1 = (wxWindow *) 0 ;
19519 int arg2 = (int) -1 ;
19520 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19521 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19522 wxSize const &arg4_defvalue = wxDefaultSize ;
19523 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19524 long arg5 = (long) wxLC_REPORT ;
19525 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19526 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19527 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19528 wxString *arg7 = (wxString *) &arg7_defvalue ;
19529 wxListView *result;
19530 wxPoint temp3 ;
19531 wxSize temp4 ;
19532 bool temp7 = False ;
19533 PyObject * obj0 = 0 ;
19534 PyObject * obj2 = 0 ;
19535 PyObject * obj3 = 0 ;
19536 PyObject * obj5 = 0 ;
19537 PyObject * obj6 = 0 ;
19538 char *kwnames[] = {
19539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19540 };
19541
19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19544 if (obj2) {
19545 {
19546 arg3 = &temp3;
19547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19548 }
19549 }
19550 if (obj3) {
19551 {
19552 arg4 = &temp4;
19553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19554 }
19555 }
19556 if (obj5) {
19557 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19558 if (arg6 == NULL) {
19559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19560 }
19561 }
19562 if (obj6) {
19563 {
19564 arg7 = wxString_in_helper(obj6);
19565 if (arg7 == NULL) SWIG_fail;
19566 temp7 = True;
19567 }
19568 }
19569 {
19570 PyThreadState* __tstate = wxPyBeginAllowThreads();
19571 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19572
19573 wxPyEndAllowThreads(__tstate);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19577 {
19578 if (temp7)
19579 delete arg7;
19580 }
19581 return resultobj;
19582 fail:
19583 {
19584 if (temp7)
19585 delete arg7;
19586 }
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxListView *result;
19594 char *kwnames[] = {
19595 NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (wxListView *)new wxListView();
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19607 return resultobj;
19608 fail:
19609 return NULL;
19610 }
19611
19612
19613 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj;
19615 wxListView *arg1 = (wxListView *) 0 ;
19616 wxWindow *arg2 = (wxWindow *) 0 ;
19617 int arg3 = (int) -1 ;
19618 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19619 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19620 wxSize const &arg5_defvalue = wxDefaultSize ;
19621 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19622 long arg6 = (long) wxLC_REPORT ;
19623 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19624 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19625 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19626 wxString *arg8 = (wxString *) &arg8_defvalue ;
19627 bool result;
19628 wxPoint temp4 ;
19629 wxSize temp5 ;
19630 bool temp8 = False ;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 PyObject * obj3 = 0 ;
19634 PyObject * obj4 = 0 ;
19635 PyObject * obj6 = 0 ;
19636 PyObject * obj7 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19644 if (obj3) {
19645 {
19646 arg4 = &temp4;
19647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19648 }
19649 }
19650 if (obj4) {
19651 {
19652 arg5 = &temp5;
19653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19654 }
19655 }
19656 if (obj6) {
19657 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19658 if (arg7 == NULL) {
19659 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19660 }
19661 }
19662 if (obj7) {
19663 {
19664 arg8 = wxString_in_helper(obj7);
19665 if (arg8 == NULL) SWIG_fail;
19666 temp8 = True;
19667 }
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 resultobj = PyInt_FromLong((long)result);
19677 {
19678 if (temp8)
19679 delete arg8;
19680 }
19681 return resultobj;
19682 fail:
19683 {
19684 if (temp8)
19685 delete arg8;
19686 }
19687 return NULL;
19688 }
19689
19690
19691 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxListView *arg1 = (wxListView *) 0 ;
19694 long arg2 ;
19695 bool arg3 = (bool) True ;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj2 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self",(char *) "n",(char *) "on", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19704 if (obj2) {
19705 arg3 = PyInt_AsLong(obj2) ? true : false;
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 (arg1)->Select(arg2,arg3);
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 Py_INCREF(Py_None); resultobj = Py_None;
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxListView *arg1 = (wxListView *) 0 ;
19725 long arg2 ;
19726 PyObject * obj0 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "index", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 (arg1)->Focus(arg2);
19736
19737 wxPyEndAllowThreads(__tstate);
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
19740 Py_INCREF(Py_None); resultobj = Py_None;
19741 return resultobj;
19742 fail:
19743 return NULL;
19744 }
19745
19746
19747 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 wxListView *arg1 = (wxListView *) 0 ;
19750 long result;
19751 PyObject * obj0 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = PyInt_FromLong((long)result);
19766 return resultobj;
19767 fail:
19768 return NULL;
19769 }
19770
19771
19772 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj;
19774 wxListView *arg1 = (wxListView *) 0 ;
19775 long arg2 ;
19776 long result;
19777 PyObject * obj0 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "item", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19787
19788 wxPyEndAllowThreads(__tstate);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 resultobj = PyInt_FromLong((long)result);
19792 return resultobj;
19793 fail:
19794 return NULL;
19795 }
19796
19797
19798 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19799 PyObject *resultobj;
19800 wxListView *arg1 = (wxListView *) 0 ;
19801 long result;
19802 PyObject * obj0 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 resultobj = PyInt_FromLong((long)result);
19817 return resultobj;
19818 fail:
19819 return NULL;
19820 }
19821
19822
19823 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxListView *arg1 = (wxListView *) 0 ;
19826 long arg2 ;
19827 bool result;
19828 PyObject * obj0 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self",(char *) "index", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (bool)(arg1)->IsSelected(arg2);
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = PyInt_FromLong((long)result);
19843 return resultobj;
19844 fail:
19845 return NULL;
19846 }
19847
19848
19849 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxListView *arg1 = (wxListView *) 0 ;
19852 int arg2 ;
19853 int arg3 ;
19854 PyObject * obj0 = 0 ;
19855 char *kwnames[] = {
19856 (char *) "self",(char *) "col",(char *) "image", NULL
19857 };
19858
19859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 (arg1)->SetColumnImage(arg2,arg3);
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 Py_INCREF(Py_None); resultobj = Py_None;
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxListView *arg1 = (wxListView *) 0 ;
19878 int arg2 ;
19879 PyObject * obj0 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self",(char *) "col", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 (arg1)->ClearColumnImage(arg2);
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 Py_INCREF(Py_None); resultobj = Py_None;
19894 return resultobj;
19895 fail:
19896 return NULL;
19897 }
19898
19899
19900 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19901 PyObject *obj;
19902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19903 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19904 Py_INCREF(obj);
19905 return Py_BuildValue((char *)"");
19906 }
19907 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
19908 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
19909 return 1;
19910 }
19911
19912
19913 static PyObject *_wrap_TreeCtrlNameStr_get() {
19914 PyObject *pyobj;
19915
19916 {
19917 #if wxUSE_UNICODE
19918 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
19919 #else
19920 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
19921 #endif
19922 }
19923 return pyobj;
19924 }
19925
19926
19927 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj;
19929 wxTreeItemId *result;
19930 char *kwnames[] = {
19931 NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = (wxTreeItemId *)new wxTreeItemId();
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19943 return resultobj;
19944 fail:
19945 return NULL;
19946 }
19947
19948
19949 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj;
19951 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19952 PyObject * obj0 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19959 {
19960 PyThreadState* __tstate = wxPyBeginAllowThreads();
19961 delete arg1;
19962
19963 wxPyEndAllowThreads(__tstate);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 Py_INCREF(Py_None); resultobj = Py_None;
19967 return resultobj;
19968 fail:
19969 return NULL;
19970 }
19971
19972
19973 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19974 PyObject *resultobj;
19975 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19976 bool result;
19977 PyObject * obj0 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = PyInt_FromLong((long)result);
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20001 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20002 bool result;
20003 PyObject * obj0 = 0 ;
20004 PyObject * obj1 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "other", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 resultobj = PyInt_FromLong((long)result);
20020 return resultobj;
20021 fail:
20022 return NULL;
20023 }
20024
20025
20026 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20029 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20030 bool result;
20031 PyObject * obj0 = 0 ;
20032 PyObject * obj1 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self",(char *) "other", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20040 {
20041 PyThreadState* __tstate = wxPyBeginAllowThreads();
20042 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20043
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 resultobj = PyInt_FromLong((long)result);
20048 return resultobj;
20049 fail:
20050 return NULL;
20051 }
20052
20053
20054 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj;
20056 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20057 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20058 PyObject * obj0 = 0 ;
20059 PyObject * obj1 = 0 ;
20060 char *kwnames[] = {
20061 (char *) "self",(char *) "m_pItem", NULL
20062 };
20063
20064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20067 if (arg1) (arg1)->m_pItem = arg2;
20068
20069 Py_INCREF(Py_None); resultobj = Py_None;
20070 return resultobj;
20071 fail:
20072 return NULL;
20073 }
20074
20075
20076 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj;
20078 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20079 wxTreeItemIdValue result;
20080 PyObject * obj0 = 0 ;
20081 char *kwnames[] = {
20082 (char *) "self", NULL
20083 };
20084
20085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20087 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20088
20089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20090 return resultobj;
20091 fail:
20092 return NULL;
20093 }
20094
20095
20096 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20097 PyObject *obj;
20098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20099 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20100 Py_INCREF(obj);
20101 return Py_BuildValue((char *)"");
20102 }
20103 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj;
20105 PyObject *arg1 = (PyObject *) NULL ;
20106 wxPyTreeItemData *result;
20107 PyObject * obj0 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "obj", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20113 if (obj0) {
20114 arg1 = obj0;
20115 }
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20119
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20124 return resultobj;
20125 fail:
20126 return NULL;
20127 }
20128
20129
20130 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20133 PyObject *result;
20134 PyObject * obj0 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (PyObject *)(arg1)->GetData();
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 resultobj = result;
20149 return resultobj;
20150 fail:
20151 return NULL;
20152 }
20153
20154
20155 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj;
20157 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20158 PyObject *arg2 = (PyObject *) 0 ;
20159 PyObject * obj0 = 0 ;
20160 PyObject * obj1 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self",(char *) "obj", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20167 arg2 = obj1;
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 (arg1)->SetData(arg2);
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 Py_INCREF(Py_None); resultobj = Py_None;
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20185 wxTreeItemId *result;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 {
20196 wxTreeItemId const &_result_ref = (arg1)->GetId();
20197 result = (wxTreeItemId *) &_result_ref;
20198 }
20199
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20204 return resultobj;
20205 fail:
20206 return NULL;
20207 }
20208
20209
20210 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20211 PyObject *resultobj;
20212 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20213 wxTreeItemId *arg2 = 0 ;
20214 PyObject * obj0 = 0 ;
20215 PyObject * obj1 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "id", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20223 if (arg2 == NULL) {
20224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20225 }
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
20228 (arg1)->SetId((wxTreeItemId const &)*arg2);
20229
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 Py_INCREF(Py_None); resultobj = Py_None;
20234 return resultobj;
20235 fail:
20236 return NULL;
20237 }
20238
20239
20240 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20241 PyObject *resultobj;
20242 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20243 PyObject * obj0 = 0 ;
20244 char *kwnames[] = {
20245 (char *) "self", NULL
20246 };
20247
20248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 wxPyTreeItemData_Destroy(arg1);
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 Py_INCREF(Py_None); resultobj = Py_None;
20258 return resultobj;
20259 fail:
20260 return NULL;
20261 }
20262
20263
20264 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20265 PyObject *obj;
20266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20267 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20268 Py_INCREF(obj);
20269 return Py_BuildValue((char *)"");
20270 }
20271 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20272 PyObject *resultobj;
20273 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20274 int arg2 = (int) 0 ;
20275 wxTreeEvent *result;
20276 char *kwnames[] = {
20277 (char *) "commandType",(char *) "id", NULL
20278 };
20279
20280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20289 return resultobj;
20290 fail:
20291 return NULL;
20292 }
20293
20294
20295 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20298 wxTreeItemId result;
20299 PyObject * obj0 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = ((wxTreeEvent const *)arg1)->GetItem();
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 {
20314 wxTreeItemId * resultptr;
20315 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20327 wxTreeItemId *arg2 = 0 ;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "item", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20337 if (arg2 == NULL) {
20338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20339 }
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 Py_INCREF(Py_None); resultobj = Py_None;
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20357 wxTreeItemId result;
20358 PyObject * obj0 = 0 ;
20359 char *kwnames[] = {
20360 (char *) "self", NULL
20361 };
20362
20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 {
20373 wxTreeItemId * resultptr;
20374 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20375 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20376 }
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20386 wxTreeItemId *arg2 = 0 ;
20387 PyObject * obj0 = 0 ;
20388 PyObject * obj1 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self",(char *) "item", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 if (arg2 == NULL) {
20397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20398 }
20399 {
20400 PyThreadState* __tstate = wxPyBeginAllowThreads();
20401 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20402
20403 wxPyEndAllowThreads(__tstate);
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 Py_INCREF(Py_None); resultobj = Py_None;
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj;
20415 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20416 wxPoint result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20424 {
20425 PyThreadState* __tstate = wxPyBeginAllowThreads();
20426 result = ((wxTreeEvent const *)arg1)->GetPoint();
20427
20428 wxPyEndAllowThreads(__tstate);
20429 if (PyErr_Occurred()) SWIG_fail;
20430 }
20431 {
20432 wxPoint * resultptr;
20433 resultptr = new wxPoint((wxPoint &) result);
20434 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20435 }
20436 return resultobj;
20437 fail:
20438 return NULL;
20439 }
20440
20441
20442 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20445 wxPoint *arg2 = 0 ;
20446 wxPoint temp2 ;
20447 PyObject * obj0 = 0 ;
20448 PyObject * obj1 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self",(char *) "pt", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20455 {
20456 arg2 = &temp2;
20457 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20458 }
20459 {
20460 PyThreadState* __tstate = wxPyBeginAllowThreads();
20461 (arg1)->SetPoint((wxPoint const &)*arg2);
20462
20463 wxPyEndAllowThreads(__tstate);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 Py_INCREF(Py_None); resultobj = Py_None;
20467 return resultobj;
20468 fail:
20469 return NULL;
20470 }
20471
20472
20473 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20474 PyObject *resultobj;
20475 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20476 wxKeyEvent *result;
20477 PyObject * obj0 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 {
20487 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20488 result = (wxKeyEvent *) &_result_ref;
20489 }
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20495 return resultobj;
20496 fail:
20497 return NULL;
20498 }
20499
20500
20501 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20504 int result;
20505 PyObject * obj0 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 resultobj = PyInt_FromLong((long)result);
20520 return resultobj;
20521 fail:
20522 return NULL;
20523 }
20524
20525
20526 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20529 wxKeyEvent *arg2 = 0 ;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self",(char *) "evt", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20539 if (arg2 == NULL) {
20540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20541 }
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 Py_INCREF(Py_None); resultobj = Py_None;
20550 return resultobj;
20551 fail:
20552 return NULL;
20553 }
20554
20555
20556 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20557 PyObject *resultobj;
20558 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20559 wxString *result;
20560 PyObject * obj0 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20567 {
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 {
20570 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20571 result = (wxString *) &_result_ref;
20572 }
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 {
20578 #if wxUSE_UNICODE
20579 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20580 #else
20581 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20582 #endif
20583 }
20584 return resultobj;
20585 fail:
20586 return NULL;
20587 }
20588
20589
20590 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj;
20592 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20593 wxString *arg2 = 0 ;
20594 bool temp2 = False ;
20595 PyObject * obj0 = 0 ;
20596 PyObject * obj1 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self",(char *) "label", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20603 {
20604 arg2 = wxString_in_helper(obj1);
20605 if (arg2 == NULL) SWIG_fail;
20606 temp2 = True;
20607 }
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 (arg1)->SetLabel((wxString const &)*arg2);
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 Py_INCREF(Py_None); resultobj = Py_None;
20616 {
20617 if (temp2)
20618 delete arg2;
20619 }
20620 return resultobj;
20621 fail:
20622 {
20623 if (temp2)
20624 delete arg2;
20625 }
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20633 bool result;
20634 PyObject * obj0 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20641 {
20642 PyThreadState* __tstate = wxPyBeginAllowThreads();
20643 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20644
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 resultobj = PyInt_FromLong((long)result);
20649 return resultobj;
20650 fail:
20651 return NULL;
20652 }
20653
20654
20655 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20658 bool arg2 ;
20659 PyObject * obj0 = 0 ;
20660 PyObject * obj1 = 0 ;
20661 char *kwnames[] = {
20662 (char *) "self",(char *) "editCancelled", NULL
20663 };
20664
20665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20667 arg2 = PyInt_AsLong(obj1) ? true : false;
20668 if (PyErr_Occurred()) SWIG_fail;
20669 {
20670 PyThreadState* __tstate = wxPyBeginAllowThreads();
20671 (arg1)->SetEditCanceled(arg2);
20672
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 Py_INCREF(Py_None); resultobj = Py_None;
20677 return resultobj;
20678 fail:
20679 return NULL;
20680 }
20681
20682
20683 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20684 PyObject *resultobj;
20685 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20686 wxString *arg2 = 0 ;
20687 bool temp2 = False ;
20688 PyObject * obj0 = 0 ;
20689 PyObject * obj1 = 0 ;
20690 char *kwnames[] = {
20691 (char *) "self",(char *) "toolTip", NULL
20692 };
20693
20694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20696 {
20697 arg2 = wxString_in_helper(obj1);
20698 if (arg2 == NULL) SWIG_fail;
20699 temp2 = True;
20700 }
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 (arg1)->SetToolTip((wxString const &)*arg2);
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 Py_INCREF(Py_None); resultobj = Py_None;
20709 {
20710 if (temp2)
20711 delete arg2;
20712 }
20713 return resultobj;
20714 fail:
20715 {
20716 if (temp2)
20717 delete arg2;
20718 }
20719 return NULL;
20720 }
20721
20722
20723 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20724 PyObject *obj;
20725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20726 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20727 Py_INCREF(obj);
20728 return Py_BuildValue((char *)"");
20729 }
20730 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxWindow *arg1 = (wxWindow *) 0 ;
20733 int arg2 = (int) -1 ;
20734 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20735 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20736 wxSize const &arg4_defvalue = wxDefaultSize ;
20737 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20738 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20739 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20740 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20741 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
20742 wxString *arg7 = (wxString *) &arg7_defvalue ;
20743 wxPyTreeCtrl *result;
20744 wxPoint temp3 ;
20745 wxSize temp4 ;
20746 bool temp7 = False ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj2 = 0 ;
20749 PyObject * obj3 = 0 ;
20750 PyObject * obj5 = 0 ;
20751 PyObject * obj6 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20758 if (obj2) {
20759 {
20760 arg3 = &temp3;
20761 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20762 }
20763 }
20764 if (obj3) {
20765 {
20766 arg4 = &temp4;
20767 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20768 }
20769 }
20770 if (obj5) {
20771 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20772 if (arg6 == NULL) {
20773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20774 }
20775 }
20776 if (obj6) {
20777 {
20778 arg7 = wxString_in_helper(obj6);
20779 if (arg7 == NULL) SWIG_fail;
20780 temp7 = True;
20781 }
20782 }
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20786
20787 wxPyEndAllowThreads(__tstate);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 {
20791 resultobj = wxPyMake_wxObject(result);
20792 }
20793 {
20794 if (temp7)
20795 delete arg7;
20796 }
20797 return resultobj;
20798 fail:
20799 {
20800 if (temp7)
20801 delete arg7;
20802 }
20803 return NULL;
20804 }
20805
20806
20807 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 wxPyTreeCtrl *result;
20810 char *kwnames[] = {
20811 NULL
20812 };
20813
20814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20818
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 {
20823 resultobj = wxPyMake_wxObject(result);
20824 }
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20832 PyObject *resultobj;
20833 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20834 wxWindow *arg2 = (wxWindow *) 0 ;
20835 int arg3 = (int) -1 ;
20836 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20837 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20838 wxSize const &arg5_defvalue = wxDefaultSize ;
20839 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20840 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20841 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20842 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20843 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
20844 wxString *arg8 = (wxString *) &arg8_defvalue ;
20845 bool result;
20846 wxPoint temp4 ;
20847 wxSize temp5 ;
20848 bool temp8 = False ;
20849 PyObject * obj0 = 0 ;
20850 PyObject * obj1 = 0 ;
20851 PyObject * obj3 = 0 ;
20852 PyObject * obj4 = 0 ;
20853 PyObject * obj6 = 0 ;
20854 PyObject * obj7 = 0 ;
20855 char *kwnames[] = {
20856 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20862 if (obj3) {
20863 {
20864 arg4 = &temp4;
20865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20866 }
20867 }
20868 if (obj4) {
20869 {
20870 arg5 = &temp5;
20871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20872 }
20873 }
20874 if (obj6) {
20875 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20876 if (arg7 == NULL) {
20877 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20878 }
20879 }
20880 if (obj7) {
20881 {
20882 arg8 = wxString_in_helper(obj7);
20883 if (arg8 == NULL) SWIG_fail;
20884 temp8 = True;
20885 }
20886 }
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 resultobj = PyInt_FromLong((long)result);
20895 {
20896 if (temp8)
20897 delete arg8;
20898 }
20899 return resultobj;
20900 fail:
20901 {
20902 if (temp8)
20903 delete arg8;
20904 }
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj;
20911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20912 PyObject *arg2 = (PyObject *) 0 ;
20913 PyObject *arg3 = (PyObject *) 0 ;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 PyObject * obj2 = 0 ;
20917 char *kwnames[] = {
20918 (char *) "self",(char *) "self",(char *) "_class", NULL
20919 };
20920
20921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20923 arg2 = obj1;
20924 arg3 = obj2;
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 (arg1)->_setCallbackInfo(arg2,arg3);
20928
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 Py_INCREF(Py_None); resultobj = Py_None;
20933 return resultobj;
20934 fail:
20935 return NULL;
20936 }
20937
20938
20939 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20940 PyObject *resultobj;
20941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20942 size_t result;
20943 PyObject * obj0 = 0 ;
20944 char *kwnames[] = {
20945 (char *) "self", NULL
20946 };
20947
20948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 resultobj = PyInt_FromLong((long)result);
20958 return resultobj;
20959 fail:
20960 return NULL;
20961 }
20962
20963
20964 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20965 PyObject *resultobj;
20966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20967 unsigned int result;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20975 {
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
20977 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 resultobj = PyInt_FromLong((long)result);
20983 return resultobj;
20984 fail:
20985 return NULL;
20986 }
20987
20988
20989 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20992 unsigned int arg2 ;
20993 PyObject * obj0 = 0 ;
20994 PyObject * obj1 = 0 ;
20995 char *kwnames[] = {
20996 (char *) "self",(char *) "indent", NULL
20997 };
20998
20999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21001 arg2 = (unsigned int) PyInt_AsLong(obj1);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 {
21004 PyThreadState* __tstate = wxPyBeginAllowThreads();
21005 (arg1)->SetIndent(arg2);
21006
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
21010 Py_INCREF(Py_None); resultobj = Py_None;
21011 return resultobj;
21012 fail:
21013 return NULL;
21014 }
21015
21016
21017 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj;
21019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21020 unsigned int result;
21021 PyObject * obj0 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "self", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21028 {
21029 PyThreadState* __tstate = wxPyBeginAllowThreads();
21030 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21031
21032 wxPyEndAllowThreads(__tstate);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
21035 resultobj = PyInt_FromLong((long)result);
21036 return resultobj;
21037 fail:
21038 return NULL;
21039 }
21040
21041
21042 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21045 unsigned int arg2 ;
21046 PyObject * obj0 = 0 ;
21047 PyObject * obj1 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self",(char *) "spacing", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21054 arg2 = (unsigned int) PyInt_AsLong(obj1);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 {
21057 PyThreadState* __tstate = wxPyBeginAllowThreads();
21058 (arg1)->SetSpacing(arg2);
21059
21060 wxPyEndAllowThreads(__tstate);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
21063 Py_INCREF(Py_None); resultobj = Py_None;
21064 return resultobj;
21065 fail:
21066 return NULL;
21067 }
21068
21069
21070 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj;
21072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21073 wxImageList *result;
21074 PyObject * obj0 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21084
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
21088 {
21089 resultobj = wxPyMake_wxObject(result);
21090 }
21091 return resultobj;
21092 fail:
21093 return NULL;
21094 }
21095
21096
21097 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21098 PyObject *resultobj;
21099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21100 wxImageList *result;
21101 PyObject * obj0 = 0 ;
21102 char *kwnames[] = {
21103 (char *) "self", NULL
21104 };
21105
21106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 {
21116 resultobj = wxPyMake_wxObject(result);
21117 }
21118 return resultobj;
21119 fail:
21120 return NULL;
21121 }
21122
21123
21124 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21127 wxImageList *arg2 = (wxImageList *) 0 ;
21128 PyObject * obj0 = 0 ;
21129 PyObject * obj1 = 0 ;
21130 char *kwnames[] = {
21131 (char *) "self",(char *) "imageList", NULL
21132 };
21133
21134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21137 {
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 (arg1)->SetImageList(arg2);
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 Py_INCREF(Py_None); resultobj = Py_None;
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21154 wxImageList *arg2 = (wxImageList *) 0 ;
21155 PyObject * obj0 = 0 ;
21156 PyObject * obj1 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self",(char *) "imageList", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21163 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 (arg1)->SetStateImageList(arg2);
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 Py_INCREF(Py_None); resultobj = Py_None;
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21181 wxImageList *arg2 = (wxImageList *) 0 ;
21182 PyObject * obj0 = 0 ;
21183 PyObject * obj1 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "self",(char *) "imageList", NULL
21186 };
21187
21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 (arg1)->AssignImageList(arg2);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 Py_INCREF(Py_None); resultobj = Py_None;
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21208 wxImageList *arg2 = (wxImageList *) 0 ;
21209 PyObject * obj0 = 0 ;
21210 PyObject * obj1 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self",(char *) "imageList", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21218 {
21219 PyThreadState* __tstate = wxPyBeginAllowThreads();
21220 (arg1)->AssignStateImageList(arg2);
21221
21222 wxPyEndAllowThreads(__tstate);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 }
21225 Py_INCREF(Py_None); resultobj = Py_None;
21226 return resultobj;
21227 fail:
21228 return NULL;
21229 }
21230
21231
21232 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21233 PyObject *resultobj;
21234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21235 wxTreeItemId *arg2 = 0 ;
21236 wxString result;
21237 PyObject * obj0 = 0 ;
21238 PyObject * obj1 = 0 ;
21239 char *kwnames[] = {
21240 (char *) "self",(char *) "item", NULL
21241 };
21242
21243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21246 if (arg2 == NULL) {
21247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21248 }
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 {
21257 #if wxUSE_UNICODE
21258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21259 #else
21260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21261 #endif
21262 }
21263 return resultobj;
21264 fail:
21265 return NULL;
21266 }
21267
21268
21269 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21272 wxTreeItemId *arg2 = 0 ;
21273 int arg3 = (int) wxTreeItemIcon_Normal ;
21274 int result;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "item",(char *) "which", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 if (arg2 == NULL) {
21285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21286 }
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21290
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 resultobj = PyInt_FromLong((long)result);
21295 return resultobj;
21296 fail:
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21304 wxTreeItemId *arg2 = 0 ;
21305 wxPyTreeItemData *result;
21306 PyObject * obj0 = 0 ;
21307 PyObject * obj1 = 0 ;
21308 char *kwnames[] = {
21309 (char *) "self",(char *) "item", NULL
21310 };
21311
21312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21315 if (arg2 == NULL) {
21316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21317 }
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21335 wxTreeItemId *arg2 = 0 ;
21336 PyObject *result;
21337 PyObject * obj0 = 0 ;
21338 PyObject * obj1 = 0 ;
21339 char *kwnames[] = {
21340 (char *) "self",(char *) "item", NULL
21341 };
21342
21343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21346 if (arg2 == NULL) {
21347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21348 }
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 resultobj = result;
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21366 wxTreeItemId *arg2 = 0 ;
21367 wxColour result;
21368 PyObject * obj0 = 0 ;
21369 PyObject * obj1 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self",(char *) "item", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21377 if (arg2 == NULL) {
21378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 {
21388 wxColour * resultptr;
21389 resultptr = new wxColour((wxColour &) result);
21390 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21391 }
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21401 wxTreeItemId *arg2 = 0 ;
21402 wxColour result;
21403 PyObject * obj0 = 0 ;
21404 PyObject * obj1 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self",(char *) "item", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21412 if (arg2 == NULL) {
21413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 {
21423 wxColour * resultptr;
21424 resultptr = new wxColour((wxColour &) result);
21425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21426 }
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21436 wxTreeItemId *arg2 = 0 ;
21437 wxFont result;
21438 PyObject * obj0 = 0 ;
21439 PyObject * obj1 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "item", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21447 if (arg2 == NULL) {
21448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21449 }
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
21452 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21453
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
21457 {
21458 wxFont * resultptr;
21459 resultptr = new wxFont((wxFont &) result);
21460 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21461 }
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21471 wxTreeItemId *arg2 = 0 ;
21472 wxString *arg3 = 0 ;
21473 bool temp3 = False ;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 PyObject * obj2 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self",(char *) "item",(char *) "text", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21484 if (arg2 == NULL) {
21485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21486 }
21487 {
21488 arg3 = wxString_in_helper(obj2);
21489 if (arg3 == NULL) SWIG_fail;
21490 temp3 = True;
21491 }
21492 {
21493 PyThreadState* __tstate = wxPyBeginAllowThreads();
21494 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21495
21496 wxPyEndAllowThreads(__tstate);
21497 if (PyErr_Occurred()) SWIG_fail;
21498 }
21499 Py_INCREF(Py_None); resultobj = Py_None;
21500 {
21501 if (temp3)
21502 delete arg3;
21503 }
21504 return resultobj;
21505 fail:
21506 {
21507 if (temp3)
21508 delete arg3;
21509 }
21510 return NULL;
21511 }
21512
21513
21514 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj;
21516 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21517 wxTreeItemId *arg2 = 0 ;
21518 int arg3 ;
21519 int arg4 = (int) wxTreeItemIcon_Normal ;
21520 PyObject * obj0 = 0 ;
21521 PyObject * obj1 = 0 ;
21522 char *kwnames[] = {
21523 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21524 };
21525
21526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21529 if (arg2 == NULL) {
21530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21531 }
21532 {
21533 PyThreadState* __tstate = wxPyBeginAllowThreads();
21534 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21535
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 Py_INCREF(Py_None); resultobj = Py_None;
21540 return resultobj;
21541 fail:
21542 return NULL;
21543 }
21544
21545
21546 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21547 PyObject *resultobj;
21548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21549 wxTreeItemId *arg2 = 0 ;
21550 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21551 PyObject * obj0 = 0 ;
21552 PyObject * obj1 = 0 ;
21553 PyObject * obj2 = 0 ;
21554 char *kwnames[] = {
21555 (char *) "self",(char *) "item",(char *) "data", NULL
21556 };
21557
21558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21561 if (arg2 == NULL) {
21562 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21563 }
21564 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 Py_INCREF(Py_None); resultobj = Py_None;
21573 return resultobj;
21574 fail:
21575 return NULL;
21576 }
21577
21578
21579 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21582 wxTreeItemId *arg2 = 0 ;
21583 PyObject *arg3 = (PyObject *) 0 ;
21584 PyObject * obj0 = 0 ;
21585 PyObject * obj1 = 0 ;
21586 PyObject * obj2 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self",(char *) "item",(char *) "obj", NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21594 if (arg2 == NULL) {
21595 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21596 }
21597 arg3 = obj2;
21598 {
21599 PyThreadState* __tstate = wxPyBeginAllowThreads();
21600 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21601
21602 wxPyEndAllowThreads(__tstate);
21603 if (PyErr_Occurred()) SWIG_fail;
21604 }
21605 Py_INCREF(Py_None); resultobj = Py_None;
21606 return resultobj;
21607 fail:
21608 return NULL;
21609 }
21610
21611
21612 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21613 PyObject *resultobj;
21614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21615 wxTreeItemId *arg2 = 0 ;
21616 bool arg3 = (bool) True ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 PyObject * obj2 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self",(char *) "item",(char *) "has", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21626 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21627 if (arg2 == NULL) {
21628 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21629 }
21630 if (obj2) {
21631 arg3 = PyInt_AsLong(obj2) ? true : false;
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 Py_INCREF(Py_None); resultobj = Py_None;
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21651 wxTreeItemId *arg2 = 0 ;
21652 bool arg3 = (bool) True ;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 PyObject * obj2 = 0 ;
21656 char *kwnames[] = {
21657 (char *) "self",(char *) "item",(char *) "bold", NULL
21658 };
21659
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21663 if (arg2 == NULL) {
21664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21665 }
21666 if (obj2) {
21667 arg3 = PyInt_AsLong(obj2) ? true : false;
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 Py_INCREF(Py_None); resultobj = Py_None;
21678 return resultobj;
21679 fail:
21680 return NULL;
21681 }
21682
21683
21684 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21685 PyObject *resultobj;
21686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21687 wxTreeItemId *arg2 = 0 ;
21688 wxColour *arg3 = 0 ;
21689 wxColour temp3 ;
21690 PyObject * obj0 = 0 ;
21691 PyObject * obj1 = 0 ;
21692 PyObject * obj2 = 0 ;
21693 char *kwnames[] = {
21694 (char *) "self",(char *) "item",(char *) "col", NULL
21695 };
21696
21697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21700 if (arg2 == NULL) {
21701 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21702 }
21703 {
21704 arg3 = &temp3;
21705 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21706 }
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 Py_INCREF(Py_None); resultobj = Py_None;
21715 return resultobj;
21716 fail:
21717 return NULL;
21718 }
21719
21720
21721 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj;
21723 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21724 wxTreeItemId *arg2 = 0 ;
21725 wxColour *arg3 = 0 ;
21726 wxColour temp3 ;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 PyObject * obj2 = 0 ;
21730 char *kwnames[] = {
21731 (char *) "self",(char *) "item",(char *) "col", NULL
21732 };
21733
21734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21737 if (arg2 == NULL) {
21738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21739 }
21740 {
21741 arg3 = &temp3;
21742 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21743 }
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 Py_INCREF(Py_None); resultobj = Py_None;
21752 return resultobj;
21753 fail:
21754 return NULL;
21755 }
21756
21757
21758 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21759 PyObject *resultobj;
21760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21761 wxTreeItemId *arg2 = 0 ;
21762 wxFont *arg3 = 0 ;
21763 PyObject * obj0 = 0 ;
21764 PyObject * obj1 = 0 ;
21765 PyObject * obj2 = 0 ;
21766 char *kwnames[] = {
21767 (char *) "self",(char *) "item",(char *) "font", NULL
21768 };
21769
21770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21773 if (arg2 == NULL) {
21774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21775 }
21776 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21777 if (arg3 == NULL) {
21778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21779 }
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 Py_INCREF(Py_None); resultobj = Py_None;
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj;
21796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21797 wxTreeItemId *arg2 = 0 ;
21798 bool result;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self",(char *) "item", NULL
21803 };
21804
21805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21808 if (arg2 == NULL) {
21809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21810 }
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 resultobj = PyInt_FromLong((long)result);
21819 return resultobj;
21820 fail:
21821 return NULL;
21822 }
21823
21824
21825 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21826 PyObject *resultobj;
21827 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21828 wxTreeItemId *arg2 = 0 ;
21829 bool result;
21830 PyObject * obj0 = 0 ;
21831 PyObject * obj1 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self",(char *) "item", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21839 if (arg2 == NULL) {
21840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21841 }
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21845
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
21849 resultobj = PyInt_FromLong((long)result);
21850 return resultobj;
21851 fail:
21852 return NULL;
21853 }
21854
21855
21856 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21859 wxTreeItemId *arg2 = 0 ;
21860 bool result;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self",(char *) "item", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 if (arg2 == NULL) {
21871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21872 }
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 resultobj = PyInt_FromLong((long)result);
21881 return resultobj;
21882 fail:
21883 return NULL;
21884 }
21885
21886
21887 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj;
21889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21890 wxTreeItemId *arg2 = 0 ;
21891 bool result;
21892 PyObject * obj0 = 0 ;
21893 PyObject * obj1 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "item", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21901 if (arg2 == NULL) {
21902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21903 }
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 resultobj = PyInt_FromLong((long)result);
21912 return resultobj;
21913 fail:
21914 return NULL;
21915 }
21916
21917
21918 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj;
21920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21921 wxTreeItemId *arg2 = 0 ;
21922 bool result;
21923 PyObject * obj0 = 0 ;
21924 PyObject * obj1 = 0 ;
21925 char *kwnames[] = {
21926 (char *) "self",(char *) "item", NULL
21927 };
21928
21929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21932 if (arg2 == NULL) {
21933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21934 }
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 resultobj = PyInt_FromLong((long)result);
21943 return resultobj;
21944 fail:
21945 return NULL;
21946 }
21947
21948
21949 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj;
21951 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21952 wxTreeItemId *arg2 = 0 ;
21953 bool arg3 = (bool) True ;
21954 size_t result;
21955 PyObject * obj0 = 0 ;
21956 PyObject * obj1 = 0 ;
21957 PyObject * obj2 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "self",(char *) "item",(char *) "recursively", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21965 if (arg2 == NULL) {
21966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21967 }
21968 if (obj2) {
21969 arg3 = PyInt_AsLong(obj2) ? true : false;
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 resultobj = PyInt_FromLong((long)result);
21980 return resultobj;
21981 fail:
21982 return NULL;
21983 }
21984
21985
21986 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21987 PyObject *resultobj;
21988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21989 wxTreeItemId result;
21990 PyObject * obj0 = 0 ;
21991 char *kwnames[] = {
21992 (char *) "self", NULL
21993 };
21994
21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 {
22005 wxTreeItemId * resultptr;
22006 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22007 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22008 }
22009 return resultobj;
22010 fail:
22011 return NULL;
22012 }
22013
22014
22015 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22016 PyObject *resultobj;
22017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22018 wxTreeItemId result;
22019 PyObject * obj0 = 0 ;
22020 char *kwnames[] = {
22021 (char *) "self", NULL
22022 };
22023
22024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 wxTreeItemId * resultptr;
22035 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22036 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22037 }
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22047 PyObject *result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22055 {
22056 PyThreadState* __tstate = wxPyBeginAllowThreads();
22057 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22058
22059 wxPyEndAllowThreads(__tstate);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
22062 resultobj = result;
22063 return resultobj;
22064 fail:
22065 return NULL;
22066 }
22067
22068
22069 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj;
22071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22072 wxTreeItemId *arg2 = 0 ;
22073 wxTreeItemId result;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "item", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22083 if (arg2 == NULL) {
22084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 {
22094 wxTreeItemId * resultptr;
22095 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22097 }
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22105 PyObject *resultobj;
22106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22107 wxTreeItemId *arg2 = 0 ;
22108 PyObject *result;
22109 PyObject * obj0 = 0 ;
22110 PyObject * obj1 = 0 ;
22111 char *kwnames[] = {
22112 (char *) "self",(char *) "item", NULL
22113 };
22114
22115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22118 if (arg2 == NULL) {
22119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22120 }
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22124
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 resultobj = result;
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22138 wxTreeItemId *arg2 = 0 ;
22139 wxTreeItemIdValue *arg3 = 0 ;
22140 PyObject *result;
22141 PyObject * obj0 = 0 ;
22142 PyObject * obj1 = 0 ;
22143 PyObject * obj2 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self",(char *) "item",(char *) "cookie", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22150 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22151 if (arg2 == NULL) {
22152 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22153 }
22154 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22155 if (arg3 == NULL) {
22156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22157 }
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22161
22162 wxPyEndAllowThreads(__tstate);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 }
22165 resultobj = result;
22166 return resultobj;
22167 fail:
22168 return NULL;
22169 }
22170
22171
22172 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22175 wxTreeItemId *arg2 = 0 ;
22176 wxTreeItemId result;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "item", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22186 if (arg2 == NULL) {
22187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22188 }
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 {
22197 wxTreeItemId * resultptr;
22198 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22199 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22200 }
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22210 wxTreeItemId *arg2 = 0 ;
22211 wxTreeItemId result;
22212 PyObject * obj0 = 0 ;
22213 PyObject * obj1 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self",(char *) "item", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22221 if (arg2 == NULL) {
22222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22223 }
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 {
22232 wxTreeItemId * resultptr;
22233 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22235 }
22236 return resultobj;
22237 fail:
22238 return NULL;
22239 }
22240
22241
22242 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22243 PyObject *resultobj;
22244 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22245 wxTreeItemId *arg2 = 0 ;
22246 wxTreeItemId result;
22247 PyObject * obj0 = 0 ;
22248 PyObject * obj1 = 0 ;
22249 char *kwnames[] = {
22250 (char *) "self",(char *) "item", NULL
22251 };
22252
22253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22256 if (arg2 == NULL) {
22257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22258 }
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 {
22267 wxTreeItemId * resultptr;
22268 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22269 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22270 }
22271 return resultobj;
22272 fail:
22273 return NULL;
22274 }
22275
22276
22277 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22278 PyObject *resultobj;
22279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22280 wxTreeItemId result;
22281 PyObject * obj0 = 0 ;
22282 char *kwnames[] = {
22283 (char *) "self", NULL
22284 };
22285
22286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 {
22296 wxTreeItemId * resultptr;
22297 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22298 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22309 wxTreeItemId *arg2 = 0 ;
22310 wxTreeItemId result;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "item", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22320 if (arg2 == NULL) {
22321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22322 }
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 {
22331 wxTreeItemId * resultptr;
22332 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22334 }
22335 return resultobj;
22336 fail:
22337 return NULL;
22338 }
22339
22340
22341 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22342 PyObject *resultobj;
22343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22344 wxTreeItemId *arg2 = 0 ;
22345 wxTreeItemId result;
22346 PyObject * obj0 = 0 ;
22347 PyObject * obj1 = 0 ;
22348 char *kwnames[] = {
22349 (char *) "self",(char *) "item", NULL
22350 };
22351
22352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22355 if (arg2 == NULL) {
22356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22357 }
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 {
22366 wxTreeItemId * resultptr;
22367 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22369 }
22370 return resultobj;
22371 fail:
22372 return NULL;
22373 }
22374
22375
22376 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22377 PyObject *resultobj;
22378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22379 wxString *arg2 = 0 ;
22380 int arg3 = (int) -1 ;
22381 int arg4 = (int) -1 ;
22382 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22383 wxTreeItemId result;
22384 bool temp2 = False ;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 PyObject * obj4 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22394 {
22395 arg2 = wxString_in_helper(obj1);
22396 if (arg2 == NULL) SWIG_fail;
22397 temp2 = True;
22398 }
22399 if (obj4) {
22400 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22401 }
22402 {
22403 PyThreadState* __tstate = wxPyBeginAllowThreads();
22404 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22405
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 {
22410 wxTreeItemId * resultptr;
22411 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22412 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22413 }
22414 {
22415 if (temp2)
22416 delete arg2;
22417 }
22418 return resultobj;
22419 fail:
22420 {
22421 if (temp2)
22422 delete arg2;
22423 }
22424 return NULL;
22425 }
22426
22427
22428 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj;
22430 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22431 wxTreeItemId *arg2 = 0 ;
22432 wxString *arg3 = 0 ;
22433 int arg4 = (int) -1 ;
22434 int arg5 = (int) -1 ;
22435 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22436 wxTreeItemId result;
22437 bool temp3 = False ;
22438 PyObject * obj0 = 0 ;
22439 PyObject * obj1 = 0 ;
22440 PyObject * obj2 = 0 ;
22441 PyObject * obj5 = 0 ;
22442 char *kwnames[] = {
22443 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22444 };
22445
22446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22449 if (arg2 == NULL) {
22450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22451 }
22452 {
22453 arg3 = wxString_in_helper(obj2);
22454 if (arg3 == NULL) SWIG_fail;
22455 temp3 = True;
22456 }
22457 if (obj5) {
22458 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22459 }
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 {
22468 wxTreeItemId * resultptr;
22469 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22471 }
22472 {
22473 if (temp3)
22474 delete arg3;
22475 }
22476 return resultobj;
22477 fail:
22478 {
22479 if (temp3)
22480 delete arg3;
22481 }
22482 return NULL;
22483 }
22484
22485
22486 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj;
22488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22489 wxTreeItemId *arg2 = 0 ;
22490 wxTreeItemId *arg3 = 0 ;
22491 wxString *arg4 = 0 ;
22492 int arg5 = (int) -1 ;
22493 int arg6 = (int) -1 ;
22494 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22495 wxTreeItemId result;
22496 bool temp4 = False ;
22497 PyObject * obj0 = 0 ;
22498 PyObject * obj1 = 0 ;
22499 PyObject * obj2 = 0 ;
22500 PyObject * obj3 = 0 ;
22501 PyObject * obj6 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22509 if (arg2 == NULL) {
22510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22511 }
22512 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22513 if (arg3 == NULL) {
22514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22515 }
22516 {
22517 arg4 = wxString_in_helper(obj3);
22518 if (arg4 == NULL) SWIG_fail;
22519 temp4 = True;
22520 }
22521 if (obj6) {
22522 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22523 }
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 wxTreeItemId * resultptr;
22533 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22534 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22535 }
22536 {
22537 if (temp4)
22538 delete arg4;
22539 }
22540 return resultobj;
22541 fail:
22542 {
22543 if (temp4)
22544 delete arg4;
22545 }
22546 return NULL;
22547 }
22548
22549
22550 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj;
22552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22553 wxTreeItemId *arg2 = 0 ;
22554 size_t arg3 ;
22555 wxString *arg4 = 0 ;
22556 int arg5 = (int) -1 ;
22557 int arg6 = (int) -1 ;
22558 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22559 wxTreeItemId result;
22560 bool temp4 = False ;
22561 PyObject * obj0 = 0 ;
22562 PyObject * obj1 = 0 ;
22563 PyObject * obj2 = 0 ;
22564 PyObject * obj3 = 0 ;
22565 PyObject * obj6 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22573 if (arg2 == NULL) {
22574 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22575 }
22576 arg3 = (size_t) PyInt_AsLong(obj2);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 {
22579 arg4 = wxString_in_helper(obj3);
22580 if (arg4 == NULL) SWIG_fail;
22581 temp4 = True;
22582 }
22583 if (obj6) {
22584 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22585 }
22586 {
22587 PyThreadState* __tstate = wxPyBeginAllowThreads();
22588 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22589
22590 wxPyEndAllowThreads(__tstate);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 {
22594 wxTreeItemId * resultptr;
22595 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22596 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22597 }
22598 {
22599 if (temp4)
22600 delete arg4;
22601 }
22602 return resultobj;
22603 fail:
22604 {
22605 if (temp4)
22606 delete arg4;
22607 }
22608 return NULL;
22609 }
22610
22611
22612 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj;
22614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22615 wxTreeItemId *arg2 = 0 ;
22616 wxString *arg3 = 0 ;
22617 int arg4 = (int) -1 ;
22618 int arg5 = (int) -1 ;
22619 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22620 wxTreeItemId result;
22621 bool temp3 = False ;
22622 PyObject * obj0 = 0 ;
22623 PyObject * obj1 = 0 ;
22624 PyObject * obj2 = 0 ;
22625 PyObject * obj5 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22633 if (arg2 == NULL) {
22634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22635 }
22636 {
22637 arg3 = wxString_in_helper(obj2);
22638 if (arg3 == NULL) SWIG_fail;
22639 temp3 = True;
22640 }
22641 if (obj5) {
22642 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22643 }
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22647
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 {
22652 wxTreeItemId * resultptr;
22653 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22654 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22655 }
22656 {
22657 if (temp3)
22658 delete arg3;
22659 }
22660 return resultobj;
22661 fail:
22662 {
22663 if (temp3)
22664 delete arg3;
22665 }
22666 return NULL;
22667 }
22668
22669
22670 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj;
22672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22673 wxTreeItemId *arg2 = 0 ;
22674 PyObject * obj0 = 0 ;
22675 PyObject * obj1 = 0 ;
22676 char *kwnames[] = {
22677 (char *) "self",(char *) "item", NULL
22678 };
22679
22680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22683 if (arg2 == NULL) {
22684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22685 }
22686 {
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 (arg1)->Delete((wxTreeItemId const &)*arg2);
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 Py_INCREF(Py_None); resultobj = Py_None;
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22703 wxTreeItemId *arg2 = 0 ;
22704 PyObject * obj0 = 0 ;
22705 PyObject * obj1 = 0 ;
22706 char *kwnames[] = {
22707 (char *) "self",(char *) "item", NULL
22708 };
22709
22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22713 if (arg2 == NULL) {
22714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22715 }
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 Py_INCREF(Py_None); resultobj = Py_None;
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22731 PyObject *resultobj;
22732 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22733 PyObject * obj0 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22740 {
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 (arg1)->DeleteAllItems();
22743
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 Py_INCREF(Py_None); resultobj = Py_None;
22748 return resultobj;
22749 fail:
22750 return NULL;
22751 }
22752
22753
22754 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22755 PyObject *resultobj;
22756 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22757 wxTreeItemId *arg2 = 0 ;
22758 PyObject * obj0 = 0 ;
22759 PyObject * obj1 = 0 ;
22760 char *kwnames[] = {
22761 (char *) "self",(char *) "item", NULL
22762 };
22763
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22767 if (arg2 == NULL) {
22768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22769 }
22770 {
22771 PyThreadState* __tstate = wxPyBeginAllowThreads();
22772 (arg1)->Expand((wxTreeItemId const &)*arg2);
22773
22774 wxPyEndAllowThreads(__tstate);
22775 if (PyErr_Occurred()) SWIG_fail;
22776 }
22777 Py_INCREF(Py_None); resultobj = Py_None;
22778 return resultobj;
22779 fail:
22780 return NULL;
22781 }
22782
22783
22784 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22785 PyObject *resultobj;
22786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22787 wxTreeItemId *arg2 = 0 ;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self",(char *) "item", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22797 if (arg2 == NULL) {
22798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22817 wxTreeItemId *arg2 = 0 ;
22818 PyObject * obj0 = 0 ;
22819 PyObject * obj1 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "self",(char *) "item", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22826 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22827 if (arg2 == NULL) {
22828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22829 }
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 Py_INCREF(Py_None); resultobj = Py_None;
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj;
22846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22847 wxTreeItemId *arg2 = 0 ;
22848 PyObject * obj0 = 0 ;
22849 PyObject * obj1 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self",(char *) "item", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22857 if (arg2 == NULL) {
22858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22859 }
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 Py_INCREF(Py_None); resultobj = Py_None;
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22877 PyObject * obj0 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 (arg1)->Unselect();
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 Py_INCREF(Py_None); resultobj = Py_None;
22892 return resultobj;
22893 fail:
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj;
22900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22901 PyObject * obj0 = 0 ;
22902 char *kwnames[] = {
22903 (char *) "self", NULL
22904 };
22905
22906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 (arg1)->UnselectAll();
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 Py_INCREF(Py_None); resultobj = Py_None;
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22925 wxTreeItemId *arg2 = 0 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "item", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22935 if (arg2 == NULL) {
22936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22937 }
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22941
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 Py_INCREF(Py_None); resultobj = Py_None;
22946 return resultobj;
22947 fail:
22948 return NULL;
22949 }
22950
22951
22952 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22955 wxTreeItemId *arg2 = 0 ;
22956 PyObject * obj0 = 0 ;
22957 PyObject * obj1 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self",(char *) "item", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22965 if (arg2 == NULL) {
22966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22967 }
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 Py_INCREF(Py_None); resultobj = Py_None;
22976 return resultobj;
22977 fail:
22978 return NULL;
22979 }
22980
22981
22982 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22983 PyObject *resultobj;
22984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22985 wxTreeItemId *arg2 = 0 ;
22986 PyObject * obj0 = 0 ;
22987 PyObject * obj1 = 0 ;
22988 char *kwnames[] = {
22989 (char *) "self",(char *) "item", NULL
22990 };
22991
22992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22995 if (arg2 == NULL) {
22996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22997 }
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23001
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 Py_INCREF(Py_None); resultobj = Py_None;
23006 return resultobj;
23007 fail:
23008 return NULL;
23009 }
23010
23011
23012 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23013 PyObject *resultobj;
23014 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23015 wxTreeItemId *arg2 = 0 ;
23016 PyObject * obj0 = 0 ;
23017 PyObject * obj1 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self",(char *) "item", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23025 if (arg2 == NULL) {
23026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23027 }
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 Py_INCREF(Py_None); resultobj = Py_None;
23036 return resultobj;
23037 fail:
23038 return NULL;
23039 }
23040
23041
23042 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23043 PyObject *resultobj;
23044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23045 wxTextCtrl *result;
23046 PyObject * obj0 = 0 ;
23047 char *kwnames[] = {
23048 (char *) "self", NULL
23049 };
23050
23051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 {
23061 resultobj = wxPyMake_wxObject(result);
23062 }
23063 return resultobj;
23064 fail:
23065 return NULL;
23066 }
23067
23068
23069 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23072 wxTreeItemId *arg2 = 0 ;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 char *kwnames[] = {
23076 (char *) "self",(char *) "item", NULL
23077 };
23078
23079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23082 if (arg2 == NULL) {
23083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23084 }
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 Py_INCREF(Py_None); resultobj = Py_None;
23093 return resultobj;
23094 fail:
23095 return NULL;
23096 }
23097
23098
23099 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23100 PyObject *resultobj;
23101 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23102 wxPoint *arg2 = 0 ;
23103 int *arg3 = 0 ;
23104 wxTreeItemId result;
23105 wxPoint temp2 ;
23106 int temp3 ;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "point", NULL
23111 };
23112
23113 arg3 = &temp3;
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23116 {
23117 arg2 = &temp2;
23118 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23119 }
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23123
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 {
23128 wxTreeItemId * resultptr;
23129 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23130 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23131 }
23132 {
23133 PyObject *o = PyInt_FromLong((long) (*arg3));
23134 resultobj = t_output_helper(resultobj,o);
23135 }
23136 return resultobj;
23137 fail:
23138 return NULL;
23139 }
23140
23141
23142 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23143 PyObject *resultobj;
23144 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23145 wxTreeItemId *arg2 = 0 ;
23146 bool arg3 = (bool) False ;
23147 PyObject *result;
23148 PyObject * obj0 = 0 ;
23149 PyObject * obj1 = 0 ;
23150 PyObject * obj2 = 0 ;
23151 char *kwnames[] = {
23152 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23153 };
23154
23155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23158 if (arg2 == NULL) {
23159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23160 }
23161 if (obj2) {
23162 arg3 = PyInt_AsLong(obj2) ? true : false;
23163 if (PyErr_Occurred()) SWIG_fail;
23164 }
23165 {
23166 PyThreadState* __tstate = wxPyBeginAllowThreads();
23167 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23168
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 resultobj = result;
23173 return resultobj;
23174 fail:
23175 return NULL;
23176 }
23177
23178
23179 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23180 PyObject *obj;
23181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23182 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23183 Py_INCREF(obj);
23184 return Py_BuildValue((char *)"");
23185 }
23186 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23187 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23188 return 1;
23189 }
23190
23191
23192 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23193 PyObject *pyobj;
23194
23195 {
23196 #if wxUSE_UNICODE
23197 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23198 #else
23199 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23200 #endif
23201 }
23202 return pyobj;
23203 }
23204
23205
23206 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23207 PyObject *resultobj;
23208 wxWindow *arg1 = (wxWindow *) 0 ;
23209 int arg2 = (int) (int)-1 ;
23210 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23211 wxString *arg3 = (wxString *) &arg3_defvalue ;
23212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23214 wxSize const &arg5_defvalue = wxDefaultSize ;
23215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23216 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23217 wxString const &arg7_defvalue = wxPyEmptyString ;
23218 wxString *arg7 = (wxString *) &arg7_defvalue ;
23219 int arg8 = (int) 0 ;
23220 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23221 wxString *arg9 = (wxString *) &arg9_defvalue ;
23222 wxGenericDirCtrl *result;
23223 bool temp3 = False ;
23224 wxPoint temp4 ;
23225 wxSize temp5 ;
23226 bool temp7 = False ;
23227 bool temp9 = False ;
23228 PyObject * obj0 = 0 ;
23229 PyObject * obj2 = 0 ;
23230 PyObject * obj3 = 0 ;
23231 PyObject * obj4 = 0 ;
23232 PyObject * obj6 = 0 ;
23233 PyObject * obj8 = 0 ;
23234 char *kwnames[] = {
23235 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23240 if (obj2) {
23241 {
23242 arg3 = wxString_in_helper(obj2);
23243 if (arg3 == NULL) SWIG_fail;
23244 temp3 = True;
23245 }
23246 }
23247 if (obj3) {
23248 {
23249 arg4 = &temp4;
23250 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23251 }
23252 }
23253 if (obj4) {
23254 {
23255 arg5 = &temp5;
23256 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23257 }
23258 }
23259 if (obj6) {
23260 {
23261 arg7 = wxString_in_helper(obj6);
23262 if (arg7 == NULL) SWIG_fail;
23263 temp7 = True;
23264 }
23265 }
23266 if (obj8) {
23267 {
23268 arg9 = wxString_in_helper(obj8);
23269 if (arg9 == NULL) SWIG_fail;
23270 temp9 = True;
23271 }
23272 }
23273 {
23274 PyThreadState* __tstate = wxPyBeginAllowThreads();
23275 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23276
23277 wxPyEndAllowThreads(__tstate);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23281 {
23282 if (temp3)
23283 delete arg3;
23284 }
23285 {
23286 if (temp7)
23287 delete arg7;
23288 }
23289 {
23290 if (temp9)
23291 delete arg9;
23292 }
23293 return resultobj;
23294 fail:
23295 {
23296 if (temp3)
23297 delete arg3;
23298 }
23299 {
23300 if (temp7)
23301 delete arg7;
23302 }
23303 {
23304 if (temp9)
23305 delete arg9;
23306 }
23307 return NULL;
23308 }
23309
23310
23311 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxGenericDirCtrl *result;
23314 char *kwnames[] = {
23315 NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23322
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj;
23335 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23336 wxWindow *arg2 = (wxWindow *) 0 ;
23337 int arg3 = (int) (int)-1 ;
23338 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23339 wxString *arg4 = (wxString *) &arg4_defvalue ;
23340 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23341 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23342 wxSize const &arg6_defvalue = wxDefaultSize ;
23343 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23344 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23345 wxString const &arg8_defvalue = wxPyEmptyString ;
23346 wxString *arg8 = (wxString *) &arg8_defvalue ;
23347 int arg9 = (int) 0 ;
23348 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23349 wxString *arg10 = (wxString *) &arg10_defvalue ;
23350 bool result;
23351 bool temp4 = False ;
23352 wxPoint temp5 ;
23353 wxSize temp6 ;
23354 bool temp8 = False ;
23355 bool temp10 = False ;
23356 PyObject * obj0 = 0 ;
23357 PyObject * obj1 = 0 ;
23358 PyObject * obj3 = 0 ;
23359 PyObject * obj4 = 0 ;
23360 PyObject * obj5 = 0 ;
23361 PyObject * obj7 = 0 ;
23362 PyObject * obj9 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23370 if (obj3) {
23371 {
23372 arg4 = wxString_in_helper(obj3);
23373 if (arg4 == NULL) SWIG_fail;
23374 temp4 = True;
23375 }
23376 }
23377 if (obj4) {
23378 {
23379 arg5 = &temp5;
23380 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23381 }
23382 }
23383 if (obj5) {
23384 {
23385 arg6 = &temp6;
23386 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23387 }
23388 }
23389 if (obj7) {
23390 {
23391 arg8 = wxString_in_helper(obj7);
23392 if (arg8 == NULL) SWIG_fail;
23393 temp8 = True;
23394 }
23395 }
23396 if (obj9) {
23397 {
23398 arg10 = wxString_in_helper(obj9);
23399 if (arg10 == NULL) SWIG_fail;
23400 temp10 = True;
23401 }
23402 }
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 resultobj = PyInt_FromLong((long)result);
23411 {
23412 if (temp4)
23413 delete arg4;
23414 }
23415 {
23416 if (temp8)
23417 delete arg8;
23418 }
23419 {
23420 if (temp10)
23421 delete arg10;
23422 }
23423 return resultobj;
23424 fail:
23425 {
23426 if (temp4)
23427 delete arg4;
23428 }
23429 {
23430 if (temp8)
23431 delete arg8;
23432 }
23433 {
23434 if (temp10)
23435 delete arg10;
23436 }
23437 return NULL;
23438 }
23439
23440
23441 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23442 PyObject *resultobj;
23443 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23444 wxString *arg2 = 0 ;
23445 bool result;
23446 bool temp2 = False ;
23447 PyObject * obj0 = 0 ;
23448 PyObject * obj1 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self",(char *) "path", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23455 {
23456 arg2 = wxString_in_helper(obj1);
23457 if (arg2 == NULL) SWIG_fail;
23458 temp2 = True;
23459 }
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23463
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 resultobj = PyInt_FromLong((long)result);
23468 {
23469 if (temp2)
23470 delete arg2;
23471 }
23472 return resultobj;
23473 fail:
23474 {
23475 if (temp2)
23476 delete arg2;
23477 }
23478 return NULL;
23479 }
23480
23481
23482 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23483 PyObject *resultobj;
23484 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23485 wxString result;
23486 PyObject * obj0 = 0 ;
23487 char *kwnames[] = {
23488 (char *) "self", NULL
23489 };
23490
23491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 {
23501 #if wxUSE_UNICODE
23502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23503 #else
23504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23505 #endif
23506 }
23507 return resultobj;
23508 fail:
23509 return NULL;
23510 }
23511
23512
23513 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23514 PyObject *resultobj;
23515 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23516 wxString *arg2 = 0 ;
23517 bool temp2 = False ;
23518 PyObject * obj0 = 0 ;
23519 PyObject * obj1 = 0 ;
23520 char *kwnames[] = {
23521 (char *) "self",(char *) "path", NULL
23522 };
23523
23524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23526 {
23527 arg2 = wxString_in_helper(obj1);
23528 if (arg2 == NULL) SWIG_fail;
23529 temp2 = True;
23530 }
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 (arg1)->SetDefaultPath((wxString const &)*arg2);
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 Py_INCREF(Py_None); resultobj = Py_None;
23539 {
23540 if (temp2)
23541 delete arg2;
23542 }
23543 return resultobj;
23544 fail:
23545 {
23546 if (temp2)
23547 delete arg2;
23548 }
23549 return NULL;
23550 }
23551
23552
23553 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj;
23555 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23556 wxString result;
23557 PyObject * obj0 = 0 ;
23558 char *kwnames[] = {
23559 (char *) "self", NULL
23560 };
23561
23562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 {
23572 #if wxUSE_UNICODE
23573 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23574 #else
23575 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23576 #endif
23577 }
23578 return resultobj;
23579 fail:
23580 return NULL;
23581 }
23582
23583
23584 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23585 PyObject *resultobj;
23586 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23587 wxString result;
23588 PyObject * obj0 = 0 ;
23589 char *kwnames[] = {
23590 (char *) "self", NULL
23591 };
23592
23593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 {
23603 #if wxUSE_UNICODE
23604 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23605 #else
23606 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23607 #endif
23608 }
23609 return resultobj;
23610 fail:
23611 return NULL;
23612 }
23613
23614
23615 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23616 PyObject *resultobj;
23617 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23618 wxString *arg2 = 0 ;
23619 bool temp2 = False ;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj1 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self",(char *) "path", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23628 {
23629 arg2 = wxString_in_helper(obj1);
23630 if (arg2 == NULL) SWIG_fail;
23631 temp2 = True;
23632 }
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 (arg1)->SetPath((wxString const &)*arg2);
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 Py_INCREF(Py_None); resultobj = Py_None;
23641 {
23642 if (temp2)
23643 delete arg2;
23644 }
23645 return resultobj;
23646 fail:
23647 {
23648 if (temp2)
23649 delete arg2;
23650 }
23651 return NULL;
23652 }
23653
23654
23655 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23658 bool arg2 ;
23659 PyObject * obj0 = 0 ;
23660 PyObject * obj1 = 0 ;
23661 char *kwnames[] = {
23662 (char *) "self",(char *) "show", NULL
23663 };
23664
23665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23667 arg2 = PyInt_AsLong(obj1) ? true : false;
23668 if (PyErr_Occurred()) SWIG_fail;
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 (arg1)->ShowHidden(arg2);
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 Py_INCREF(Py_None); resultobj = Py_None;
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23686 bool result;
23687 PyObject * obj0 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23694 {
23695 PyThreadState* __tstate = wxPyBeginAllowThreads();
23696 result = (bool)(arg1)->GetShowHidden();
23697
23698 wxPyEndAllowThreads(__tstate);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 resultobj = PyInt_FromLong((long)result);
23702 return resultobj;
23703 fail:
23704 return NULL;
23705 }
23706
23707
23708 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23709 PyObject *resultobj;
23710 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23711 wxString result;
23712 PyObject * obj0 = 0 ;
23713 char *kwnames[] = {
23714 (char *) "self", NULL
23715 };
23716
23717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23719 {
23720 PyThreadState* __tstate = wxPyBeginAllowThreads();
23721 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23722
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 {
23727 #if wxUSE_UNICODE
23728 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23729 #else
23730 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23731 #endif
23732 }
23733 return resultobj;
23734 fail:
23735 return NULL;
23736 }
23737
23738
23739 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23742 wxString *arg2 = 0 ;
23743 bool temp2 = False ;
23744 PyObject * obj0 = 0 ;
23745 PyObject * obj1 = 0 ;
23746 char *kwnames[] = {
23747 (char *) "self",(char *) "filter", NULL
23748 };
23749
23750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23752 {
23753 arg2 = wxString_in_helper(obj1);
23754 if (arg2 == NULL) SWIG_fail;
23755 temp2 = True;
23756 }
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 (arg1)->SetFilter((wxString const &)*arg2);
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
23764 Py_INCREF(Py_None); resultobj = Py_None;
23765 {
23766 if (temp2)
23767 delete arg2;
23768 }
23769 return resultobj;
23770 fail:
23771 {
23772 if (temp2)
23773 delete arg2;
23774 }
23775 return NULL;
23776 }
23777
23778
23779 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj;
23781 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23782 int result;
23783 PyObject * obj0 = 0 ;
23784 char *kwnames[] = {
23785 (char *) "self", NULL
23786 };
23787
23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23790 {
23791 PyThreadState* __tstate = wxPyBeginAllowThreads();
23792 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23793
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 resultobj = PyInt_FromLong((long)result);
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23807 int arg2 ;
23808 PyObject * obj0 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self",(char *) "n", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 (arg1)->SetFilterIndex(arg2);
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 Py_INCREF(Py_None); resultobj = Py_None;
23823 return resultobj;
23824 fail:
23825 return NULL;
23826 }
23827
23828
23829 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23832 wxTreeItemId result;
23833 PyObject * obj0 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (arg1)->GetRootId();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 {
23848 wxTreeItemId * resultptr;
23849 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23851 }
23852 return resultobj;
23853 fail:
23854 return NULL;
23855 }
23856
23857
23858 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj;
23860 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23861 wxPyTreeCtrl *result;
23862 PyObject * obj0 = 0 ;
23863 char *kwnames[] = {
23864 (char *) "self", NULL
23865 };
23866
23867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 {
23877 resultobj = wxPyMake_wxObject(result);
23878 }
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj;
23887 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23888 wxDirFilterListCtrl *result;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23913 wxTreeItemId arg2 ;
23914 wxString *arg3 = 0 ;
23915 bool *arg4 = 0 ;
23916 wxTreeItemId result;
23917 wxTreeItemId *argp2 ;
23918 bool temp3 = False ;
23919 bool temp4 ;
23920 PyObject * obj0 = 0 ;
23921 PyObject * obj1 = 0 ;
23922 PyObject * obj2 = 0 ;
23923 char *kwnames[] = {
23924 (char *) "self",(char *) "parentId",(char *) "path", NULL
23925 };
23926
23927 arg4 = &temp4;
23928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23930 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23931 arg2 = *argp2;
23932 {
23933 arg3 = wxString_in_helper(obj2);
23934 if (arg3 == NULL) SWIG_fail;
23935 temp3 = True;
23936 }
23937 {
23938 PyThreadState* __tstate = wxPyBeginAllowThreads();
23939 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23940
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 {
23945 wxTreeItemId * resultptr;
23946 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23947 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23948 }
23949 {
23950 PyObject *o = PyInt_FromLong((long) (*arg4));
23951 resultobj = t_output_helper(resultobj,o);
23952 }
23953 {
23954 if (temp3)
23955 delete arg3;
23956 }
23957 return resultobj;
23958 fail:
23959 {
23960 if (temp3)
23961 delete arg3;
23962 }
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23970 PyObject * obj0 = 0 ;
23971 char *kwnames[] = {
23972 (char *) "self", NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 (arg1)->DoResize();
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 Py_INCREF(Py_None); resultobj = Py_None;
23985 return resultobj;
23986 fail:
23987 return NULL;
23988 }
23989
23990
23991 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23992 PyObject *resultobj;
23993 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23994 PyObject * obj0 = 0 ;
23995 char *kwnames[] = {
23996 (char *) "self", NULL
23997 };
23998
23999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 (arg1)->ReCreateTree();
24004
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 Py_INCREF(Py_None); resultobj = Py_None;
24009 return resultobj;
24010 fail:
24011 return NULL;
24012 }
24013
24014
24015 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24016 PyObject *obj;
24017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24018 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24019 Py_INCREF(obj);
24020 return Py_BuildValue((char *)"");
24021 }
24022 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24025 int arg2 = (int) (int)-1 ;
24026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24028 wxSize const &arg4_defvalue = wxDefaultSize ;
24029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24030 long arg5 = (long) 0 ;
24031 wxDirFilterListCtrl *result;
24032 wxPoint temp3 ;
24033 wxSize temp4 ;
24034 PyObject * obj0 = 0 ;
24035 PyObject * obj2 = 0 ;
24036 PyObject * obj3 = 0 ;
24037 char *kwnames[] = {
24038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24039 };
24040
24041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24043 if (obj2) {
24044 {
24045 arg3 = &temp3;
24046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24047 }
24048 }
24049 if (obj3) {
24050 {
24051 arg4 = &temp4;
24052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24053 }
24054 }
24055 {
24056 PyThreadState* __tstate = wxPyBeginAllowThreads();
24057 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24058
24059 wxPyEndAllowThreads(__tstate);
24060 if (PyErr_Occurred()) SWIG_fail;
24061 }
24062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24063 return resultobj;
24064 fail:
24065 return NULL;
24066 }
24067
24068
24069 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24070 PyObject *resultobj;
24071 wxDirFilterListCtrl *result;
24072 char *kwnames[] = {
24073 NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24077 {
24078 PyThreadState* __tstate = wxPyBeginAllowThreads();
24079 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24080
24081 wxPyEndAllowThreads(__tstate);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 }
24084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24085 return resultobj;
24086 fail:
24087 return NULL;
24088 }
24089
24090
24091 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj;
24093 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24094 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24095 int arg3 = (int) (int)-1 ;
24096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24098 wxSize const &arg5_defvalue = wxDefaultSize ;
24099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24100 long arg6 = (long) 0 ;
24101 bool result;
24102 wxPoint temp4 ;
24103 wxSize temp5 ;
24104 PyObject * obj0 = 0 ;
24105 PyObject * obj1 = 0 ;
24106 PyObject * obj3 = 0 ;
24107 PyObject * obj4 = 0 ;
24108 char *kwnames[] = {
24109 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24110 };
24111
24112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24115 if (obj3) {
24116 {
24117 arg4 = &temp4;
24118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24119 }
24120 }
24121 if (obj4) {
24122 {
24123 arg5 = &temp5;
24124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24125 }
24126 }
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 resultobj = PyInt_FromLong((long)result);
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24144 wxString *arg2 = 0 ;
24145 int arg3 ;
24146 bool temp2 = False ;
24147 PyObject * obj0 = 0 ;
24148 PyObject * obj1 = 0 ;
24149 char *kwnames[] = {
24150 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24151 };
24152
24153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24155 {
24156 arg2 = wxString_in_helper(obj1);
24157 if (arg2 == NULL) SWIG_fail;
24158 temp2 = True;
24159 }
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 Py_INCREF(Py_None); resultobj = Py_None;
24168 {
24169 if (temp2)
24170 delete arg2;
24171 }
24172 return resultobj;
24173 fail:
24174 {
24175 if (temp2)
24176 delete arg2;
24177 }
24178 return NULL;
24179 }
24180
24181
24182 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24183 PyObject *obj;
24184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24185 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24186 Py_INCREF(obj);
24187 return Py_BuildValue((char *)"");
24188 }
24189 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24190 PyObject *resultobj;
24191 wxWindow *arg1 = (wxWindow *) 0 ;
24192 int arg2 ;
24193 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24194 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24195 wxSize const &arg4_defvalue = wxDefaultSize ;
24196 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24197 long arg5 = (long) 0 ;
24198 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24199 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24200 wxString const &arg7_defvalue = wxPyControlNameStr ;
24201 wxString *arg7 = (wxString *) &arg7_defvalue ;
24202 wxPyControl *result;
24203 wxPoint temp3 ;
24204 wxSize temp4 ;
24205 bool temp7 = False ;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj2 = 0 ;
24208 PyObject * obj3 = 0 ;
24209 PyObject * obj5 = 0 ;
24210 PyObject * obj6 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24217 if (obj2) {
24218 {
24219 arg3 = &temp3;
24220 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24221 }
24222 }
24223 if (obj3) {
24224 {
24225 arg4 = &temp4;
24226 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24227 }
24228 }
24229 if (obj5) {
24230 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24231 if (arg6 == NULL) {
24232 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24233 }
24234 }
24235 if (obj6) {
24236 {
24237 arg7 = wxString_in_helper(obj6);
24238 if (arg7 == NULL) SWIG_fail;
24239 temp7 = True;
24240 }
24241 }
24242 {
24243 PyThreadState* __tstate = wxPyBeginAllowThreads();
24244 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24245
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24250 {
24251 if (temp7)
24252 delete arg7;
24253 }
24254 return resultobj;
24255 fail:
24256 {
24257 if (temp7)
24258 delete arg7;
24259 }
24260 return NULL;
24261 }
24262
24263
24264 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxPyControl *arg1 = (wxPyControl *) 0 ;
24267 PyObject *arg2 = (PyObject *) 0 ;
24268 PyObject *arg3 = (PyObject *) 0 ;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 PyObject * obj2 = 0 ;
24272 char *kwnames[] = {
24273 (char *) "self",(char *) "self",(char *) "_class", NULL
24274 };
24275
24276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24278 arg2 = obj1;
24279 arg3 = obj2;
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 (arg1)->_setCallbackInfo(arg2,arg3);
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 Py_INCREF(Py_None); resultobj = Py_None;
24288 return resultobj;
24289 fail:
24290 return NULL;
24291 }
24292
24293
24294 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24295 PyObject *resultobj;
24296 wxPyControl *arg1 = (wxPyControl *) 0 ;
24297 int arg2 ;
24298 int arg3 ;
24299 int arg4 ;
24300 int arg5 ;
24301 PyObject * obj0 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 Py_INCREF(Py_None); resultobj = Py_None;
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxPyControl *arg1 = (wxPyControl *) 0 ;
24325 int arg2 ;
24326 int arg3 ;
24327 int arg4 ;
24328 int arg5 ;
24329 int arg6 = (int) wxSIZE_AUTO ;
24330 PyObject * obj0 = 0 ;
24331 char *kwnames[] = {
24332 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24333 };
24334
24335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 Py_INCREF(Py_None); resultobj = Py_None;
24345 return resultobj;
24346 fail:
24347 return NULL;
24348 }
24349
24350
24351 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj;
24353 wxPyControl *arg1 = (wxPyControl *) 0 ;
24354 int arg2 ;
24355 int arg3 ;
24356 PyObject * obj0 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self",(char *) "width",(char *) "height", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24363 {
24364 PyThreadState* __tstate = wxPyBeginAllowThreads();
24365 (arg1)->base_DoSetClientSize(arg2,arg3);
24366
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 Py_INCREF(Py_None); resultobj = Py_None;
24371 return resultobj;
24372 fail:
24373 return NULL;
24374 }
24375
24376
24377 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24378 PyObject *resultobj;
24379 wxPyControl *arg1 = (wxPyControl *) 0 ;
24380 int arg2 ;
24381 int arg3 ;
24382 PyObject * obj0 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self",(char *) "x",(char *) "y", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 Py_INCREF(Py_None); resultobj = Py_None;
24397 return resultobj;
24398 fail:
24399 return NULL;
24400 }
24401
24402
24403 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxPyControl *arg1 = (wxPyControl *) 0 ;
24406 int *arg2 = (int *) 0 ;
24407 int *arg3 = (int *) 0 ;
24408 int temp2 ;
24409 int temp3 ;
24410 PyObject * obj0 = 0 ;
24411 char *kwnames[] = {
24412 (char *) "self", NULL
24413 };
24414
24415 arg2 = &temp2;
24416 arg3 = &temp3;
24417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 Py_INCREF(Py_None); resultobj = Py_None;
24427 {
24428 PyObject *o = PyInt_FromLong((long) (*arg2));
24429 resultobj = t_output_helper(resultobj,o);
24430 }
24431 {
24432 PyObject *o = PyInt_FromLong((long) (*arg3));
24433 resultobj = t_output_helper(resultobj,o);
24434 }
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxPyControl *arg1 = (wxPyControl *) 0 ;
24444 int *arg2 = (int *) 0 ;
24445 int *arg3 = (int *) 0 ;
24446 int temp2 ;
24447 int temp3 ;
24448 PyObject * obj0 = 0 ;
24449 char *kwnames[] = {
24450 (char *) "self", NULL
24451 };
24452
24453 arg2 = &temp2;
24454 arg3 = &temp3;
24455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24460
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 Py_INCREF(Py_None); resultobj = Py_None;
24465 {
24466 PyObject *o = PyInt_FromLong((long) (*arg2));
24467 resultobj = t_output_helper(resultobj,o);
24468 }
24469 {
24470 PyObject *o = PyInt_FromLong((long) (*arg3));
24471 resultobj = t_output_helper(resultobj,o);
24472 }
24473 return resultobj;
24474 fail:
24475 return NULL;
24476 }
24477
24478
24479 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24480 PyObject *resultobj;
24481 wxPyControl *arg1 = (wxPyControl *) 0 ;
24482 int *arg2 = (int *) 0 ;
24483 int *arg3 = (int *) 0 ;
24484 int temp2 ;
24485 int temp3 ;
24486 PyObject * obj0 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self", NULL
24489 };
24490
24491 arg2 = &temp2;
24492 arg3 = &temp3;
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24498
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 Py_INCREF(Py_None); resultobj = Py_None;
24503 {
24504 PyObject *o = PyInt_FromLong((long) (*arg2));
24505 resultobj = t_output_helper(resultobj,o);
24506 }
24507 {
24508 PyObject *o = PyInt_FromLong((long) (*arg3));
24509 resultobj = t_output_helper(resultobj,o);
24510 }
24511 return resultobj;
24512 fail:
24513 return NULL;
24514 }
24515
24516
24517 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj;
24519 wxPyControl *arg1 = (wxPyControl *) 0 ;
24520 wxSize result;
24521 PyObject * obj0 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24531
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 {
24536 wxSize * resultptr;
24537 resultptr = new wxSize((wxSize &) result);
24538 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24539 }
24540 return resultobj;
24541 fail:
24542 return NULL;
24543 }
24544
24545
24546 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj;
24548 wxPyControl *arg1 = (wxPyControl *) 0 ;
24549 wxSize result;
24550 PyObject * obj0 = 0 ;
24551 char *kwnames[] = {
24552 (char *) "self", NULL
24553 };
24554
24555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 {
24565 wxSize * resultptr;
24566 resultptr = new wxSize((wxSize &) result);
24567 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24568 }
24569 return resultobj;
24570 fail:
24571 return NULL;
24572 }
24573
24574
24575 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxPyControl *arg1 = (wxPyControl *) 0 ;
24578 PyObject * obj0 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 (arg1)->base_InitDialog();
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 Py_INCREF(Py_None); resultobj = Py_None;
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxPyControl *arg1 = (wxPyControl *) 0 ;
24602 bool result;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 result = (bool)(arg1)->base_TransferDataToWindow();
24613
24614 wxPyEndAllowThreads(__tstate);
24615 if (PyErr_Occurred()) SWIG_fail;
24616 }
24617 resultobj = PyInt_FromLong((long)result);
24618 return resultobj;
24619 fail:
24620 return NULL;
24621 }
24622
24623
24624 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj;
24626 wxPyControl *arg1 = (wxPyControl *) 0 ;
24627 bool result;
24628 PyObject * obj0 = 0 ;
24629 char *kwnames[] = {
24630 (char *) "self", NULL
24631 };
24632
24633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 result = (bool)(arg1)->base_TransferDataFromWindow();
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 resultobj = PyInt_FromLong((long)result);
24643 return resultobj;
24644 fail:
24645 return NULL;
24646 }
24647
24648
24649 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24650 PyObject *resultobj;
24651 wxPyControl *arg1 = (wxPyControl *) 0 ;
24652 bool result;
24653 PyObject * obj0 = 0 ;
24654 char *kwnames[] = {
24655 (char *) "self", NULL
24656 };
24657
24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 result = (bool)(arg1)->base_Validate();
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 resultobj = PyInt_FromLong((long)result);
24668 return resultobj;
24669 fail:
24670 return NULL;
24671 }
24672
24673
24674 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj;
24676 wxPyControl *arg1 = (wxPyControl *) 0 ;
24677 bool result;
24678 PyObject * obj0 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24688
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 resultobj = PyInt_FromLong((long)result);
24693 return resultobj;
24694 fail:
24695 return NULL;
24696 }
24697
24698
24699 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24700 PyObject *resultobj;
24701 wxPyControl *arg1 = (wxPyControl *) 0 ;
24702 bool result;
24703 PyObject * obj0 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self", NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24710 {
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24713
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 resultobj = PyInt_FromLong((long)result);
24718 return resultobj;
24719 fail:
24720 return NULL;
24721 }
24722
24723
24724 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj;
24726 wxPyControl *arg1 = (wxPyControl *) 0 ;
24727 wxSize result;
24728 PyObject * obj0 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24735 {
24736 PyThreadState* __tstate = wxPyBeginAllowThreads();
24737 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24738
24739 wxPyEndAllowThreads(__tstate);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 {
24743 wxSize * resultptr;
24744 resultptr = new wxSize((wxSize &) result);
24745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24746 }
24747 return resultobj;
24748 fail:
24749 return NULL;
24750 }
24751
24752
24753 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxPyControl *arg1 = (wxPyControl *) 0 ;
24756 wxWindow *arg2 = (wxWindow *) 0 ;
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 char *kwnames[] = {
24760 (char *) "self",(char *) "child", NULL
24761 };
24762
24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24766 {
24767 PyThreadState* __tstate = wxPyBeginAllowThreads();
24768 (arg1)->base_AddChild(arg2);
24769
24770 wxPyEndAllowThreads(__tstate);
24771 if (PyErr_Occurred()) SWIG_fail;
24772 }
24773 Py_INCREF(Py_None); resultobj = Py_None;
24774 return resultobj;
24775 fail:
24776 return NULL;
24777 }
24778
24779
24780 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj;
24782 wxPyControl *arg1 = (wxPyControl *) 0 ;
24783 wxWindow *arg2 = (wxWindow *) 0 ;
24784 PyObject * obj0 = 0 ;
24785 PyObject * obj1 = 0 ;
24786 char *kwnames[] = {
24787 (char *) "self",(char *) "child", NULL
24788 };
24789
24790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 (arg1)->base_RemoveChild(arg2);
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 Py_INCREF(Py_None); resultobj = Py_None;
24801 return resultobj;
24802 fail:
24803 return NULL;
24804 }
24805
24806
24807 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24808 PyObject *obj;
24809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24810 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24811 Py_INCREF(obj);
24812 return Py_BuildValue((char *)"");
24813 }
24814 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj;
24816 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24817 int arg2 = (int) 0 ;
24818 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24819 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24820 wxHelpEvent *result;
24821 wxPoint temp3 ;
24822 PyObject * obj2 = 0 ;
24823 char *kwnames[] = {
24824 (char *) "type",(char *) "winid",(char *) "pt", NULL
24825 };
24826
24827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24828 if (obj2) {
24829 {
24830 arg3 = &temp3;
24831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24832 }
24833 }
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24837
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24842 return resultobj;
24843 fail:
24844 return NULL;
24845 }
24846
24847
24848 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24849 PyObject *resultobj;
24850 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24851 wxPoint *result;
24852 PyObject * obj0 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 {
24862 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24863 result = (wxPoint *) &_result_ref;
24864 }
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24870 return resultobj;
24871 fail:
24872 return NULL;
24873 }
24874
24875
24876 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24877 PyObject *resultobj;
24878 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24879 wxPoint *arg2 = 0 ;
24880 wxPoint temp2 ;
24881 PyObject * obj0 = 0 ;
24882 PyObject * obj1 = 0 ;
24883 char *kwnames[] = {
24884 (char *) "self",(char *) "pos", NULL
24885 };
24886
24887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24889 {
24890 arg2 = &temp2;
24891 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24892 }
24893 {
24894 PyThreadState* __tstate = wxPyBeginAllowThreads();
24895 (arg1)->SetPosition((wxPoint const &)*arg2);
24896
24897 wxPyEndAllowThreads(__tstate);
24898 if (PyErr_Occurred()) SWIG_fail;
24899 }
24900 Py_INCREF(Py_None); resultobj = Py_None;
24901 return resultobj;
24902 fail:
24903 return NULL;
24904 }
24905
24906
24907 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24908 PyObject *resultobj;
24909 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24910 wxString *result;
24911 PyObject * obj0 = 0 ;
24912 char *kwnames[] = {
24913 (char *) "self", NULL
24914 };
24915
24916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24918 {
24919 PyThreadState* __tstate = wxPyBeginAllowThreads();
24920 {
24921 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24922 result = (wxString *) &_result_ref;
24923 }
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 {
24929 #if wxUSE_UNICODE
24930 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24931 #else
24932 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24933 #endif
24934 }
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj;
24943 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24944 wxString *arg2 = 0 ;
24945 bool temp2 = False ;
24946 PyObject * obj0 = 0 ;
24947 PyObject * obj1 = 0 ;
24948 char *kwnames[] = {
24949 (char *) "self",(char *) "link", NULL
24950 };
24951
24952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24954 {
24955 arg2 = wxString_in_helper(obj1);
24956 if (arg2 == NULL) SWIG_fail;
24957 temp2 = True;
24958 }
24959 {
24960 PyThreadState* __tstate = wxPyBeginAllowThreads();
24961 (arg1)->SetLink((wxString const &)*arg2);
24962
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 Py_INCREF(Py_None); resultobj = Py_None;
24967 {
24968 if (temp2)
24969 delete arg2;
24970 }
24971 return resultobj;
24972 fail:
24973 {
24974 if (temp2)
24975 delete arg2;
24976 }
24977 return NULL;
24978 }
24979
24980
24981 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24982 PyObject *resultobj;
24983 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24984 wxString *result;
24985 PyObject * obj0 = 0 ;
24986 char *kwnames[] = {
24987 (char *) "self", NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 {
24995 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24996 result = (wxString *) &_result_ref;
24997 }
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 {
25003 #if wxUSE_UNICODE
25004 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25005 #else
25006 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25007 #endif
25008 }
25009 return resultobj;
25010 fail:
25011 return NULL;
25012 }
25013
25014
25015 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj;
25017 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25018 wxString *arg2 = 0 ;
25019 bool temp2 = False ;
25020 PyObject * obj0 = 0 ;
25021 PyObject * obj1 = 0 ;
25022 char *kwnames[] = {
25023 (char *) "self",(char *) "target", NULL
25024 };
25025
25026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25028 {
25029 arg2 = wxString_in_helper(obj1);
25030 if (arg2 == NULL) SWIG_fail;
25031 temp2 = True;
25032 }
25033 {
25034 PyThreadState* __tstate = wxPyBeginAllowThreads();
25035 (arg1)->SetTarget((wxString const &)*arg2);
25036
25037 wxPyEndAllowThreads(__tstate);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 }
25040 Py_INCREF(Py_None); resultobj = Py_None;
25041 {
25042 if (temp2)
25043 delete arg2;
25044 }
25045 return resultobj;
25046 fail:
25047 {
25048 if (temp2)
25049 delete arg2;
25050 }
25051 return NULL;
25052 }
25053
25054
25055 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25056 PyObject *obj;
25057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25058 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25059 Py_INCREF(obj);
25060 return Py_BuildValue((char *)"");
25061 }
25062 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25063 PyObject *resultobj;
25064 wxWindow *arg1 = (wxWindow *) NULL ;
25065 bool arg2 = (bool) True ;
25066 wxContextHelp *result;
25067 PyObject * obj0 = 0 ;
25068 PyObject * obj1 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "window",(char *) "doNow", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25074 if (obj0) {
25075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25076 }
25077 if (obj1) {
25078 arg2 = PyInt_AsLong(obj1) ? true : false;
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 {
25082 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25084
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj;
25097 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25098 PyObject * obj0 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "self", NULL
25101 };
25102
25103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25105 {
25106 PyThreadState* __tstate = wxPyBeginAllowThreads();
25107 delete arg1;
25108
25109 wxPyEndAllowThreads(__tstate);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 }
25112 Py_INCREF(Py_None); resultobj = Py_None;
25113 return resultobj;
25114 fail:
25115 return NULL;
25116 }
25117
25118
25119 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25120 PyObject *resultobj;
25121 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25122 wxWindow *arg2 = (wxWindow *) NULL ;
25123 bool result;
25124 PyObject * obj0 = 0 ;
25125 PyObject * obj1 = 0 ;
25126 char *kwnames[] = {
25127 (char *) "self",(char *) "window", NULL
25128 };
25129
25130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25132 if (obj1) {
25133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25134 }
25135 {
25136 PyThreadState* __tstate = wxPyBeginAllowThreads();
25137 result = (bool)(arg1)->BeginContextHelp(arg2);
25138
25139 wxPyEndAllowThreads(__tstate);
25140 if (PyErr_Occurred()) SWIG_fail;
25141 }
25142 resultobj = PyInt_FromLong((long)result);
25143 return resultobj;
25144 fail:
25145 return NULL;
25146 }
25147
25148
25149 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25150 PyObject *resultobj;
25151 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25152 bool result;
25153 PyObject * obj0 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "self", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25160 {
25161 PyThreadState* __tstate = wxPyBeginAllowThreads();
25162 result = (bool)(arg1)->EndContextHelp();
25163
25164 wxPyEndAllowThreads(__tstate);
25165 if (PyErr_Occurred()) SWIG_fail;
25166 }
25167 resultobj = PyInt_FromLong((long)result);
25168 return resultobj;
25169 fail:
25170 return NULL;
25171 }
25172
25173
25174 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25175 PyObject *obj;
25176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25177 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25178 Py_INCREF(obj);
25179 return Py_BuildValue((char *)"");
25180 }
25181 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25182 PyObject *resultobj;
25183 wxWindow *arg1 = (wxWindow *) 0 ;
25184 int arg2 = (int) wxID_CONTEXT_HELP ;
25185 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25186 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25187 wxSize const &arg4_defvalue = wxDefaultSize ;
25188 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25189 long arg5 = (long) wxBU_AUTODRAW ;
25190 wxContextHelpButton *result;
25191 wxPoint temp3 ;
25192 wxSize temp4 ;
25193 PyObject * obj0 = 0 ;
25194 PyObject * obj2 = 0 ;
25195 PyObject * obj3 = 0 ;
25196 char *kwnames[] = {
25197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25198 };
25199
25200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25202 if (obj2) {
25203 {
25204 arg3 = &temp3;
25205 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25206 }
25207 }
25208 if (obj3) {
25209 {
25210 arg4 = &temp4;
25211 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25212 }
25213 }
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25217
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25222 return resultobj;
25223 fail:
25224 return NULL;
25225 }
25226
25227
25228 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25229 PyObject *obj;
25230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25231 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25232 Py_INCREF(obj);
25233 return Py_BuildValue((char *)"");
25234 }
25235 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25236 PyObject *resultobj;
25237 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25238 wxHelpProvider *result;
25239 PyObject * obj0 = 0 ;
25240 char *kwnames[] = {
25241 (char *) "helpProvider", NULL
25242 };
25243
25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25249
25250 wxPyEndAllowThreads(__tstate);
25251 if (PyErr_Occurred()) SWIG_fail;
25252 }
25253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25254 return resultobj;
25255 fail:
25256 return NULL;
25257 }
25258
25259
25260 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25261 PyObject *resultobj;
25262 wxHelpProvider *result;
25263 char *kwnames[] = {
25264 NULL
25265 };
25266
25267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
25270 result = (wxHelpProvider *)wxHelpProvider::Get();
25271
25272 wxPyEndAllowThreads(__tstate);
25273 if (PyErr_Occurred()) SWIG_fail;
25274 }
25275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25276 return resultobj;
25277 fail:
25278 return NULL;
25279 }
25280
25281
25282 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25283 PyObject *resultobj;
25284 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25285 wxWindow *arg2 = (wxWindow *) 0 ;
25286 wxString result;
25287 PyObject * obj0 = 0 ;
25288 PyObject * obj1 = 0 ;
25289 char *kwnames[] = {
25290 (char *) "self",(char *) "window", NULL
25291 };
25292
25293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 result = (arg1)->GetHelp((wxWindow const *)arg2);
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 {
25304 #if wxUSE_UNICODE
25305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25306 #else
25307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25308 #endif
25309 }
25310 return resultobj;
25311 fail:
25312 return NULL;
25313 }
25314
25315
25316 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj;
25318 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25319 wxWindow *arg2 = (wxWindow *) 0 ;
25320 bool result;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "self",(char *) "window", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 result = (bool)(arg1)->ShowHelp(arg2);
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 resultobj = PyInt_FromLong((long)result);
25338 return resultobj;
25339 fail:
25340 return NULL;
25341 }
25342
25343
25344 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25345 PyObject *resultobj;
25346 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25347 wxWindow *arg2 = (wxWindow *) 0 ;
25348 wxString *arg3 = 0 ;
25349 bool temp3 = False ;
25350 PyObject * obj0 = 0 ;
25351 PyObject * obj1 = 0 ;
25352 PyObject * obj2 = 0 ;
25353 char *kwnames[] = {
25354 (char *) "self",(char *) "window",(char *) "text", NULL
25355 };
25356
25357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25360 {
25361 arg3 = wxString_in_helper(obj2);
25362 if (arg3 == NULL) SWIG_fail;
25363 temp3 = True;
25364 }
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 Py_INCREF(Py_None); resultobj = Py_None;
25373 {
25374 if (temp3)
25375 delete arg3;
25376 }
25377 return resultobj;
25378 fail:
25379 {
25380 if (temp3)
25381 delete arg3;
25382 }
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25390 int arg2 ;
25391 wxString *arg3 = 0 ;
25392 bool temp3 = False ;
25393 PyObject * obj0 = 0 ;
25394 PyObject * obj2 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self",(char *) "id",(char *) "text", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25401 {
25402 arg3 = wxString_in_helper(obj2);
25403 if (arg3 == NULL) SWIG_fail;
25404 temp3 = True;
25405 }
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25409
25410 wxPyEndAllowThreads(__tstate);
25411 if (PyErr_Occurred()) SWIG_fail;
25412 }
25413 Py_INCREF(Py_None); resultobj = Py_None;
25414 {
25415 if (temp3)
25416 delete arg3;
25417 }
25418 return resultobj;
25419 fail:
25420 {
25421 if (temp3)
25422 delete arg3;
25423 }
25424 return NULL;
25425 }
25426
25427
25428 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25429 PyObject *resultobj;
25430 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25431 PyObject * obj0 = 0 ;
25432 char *kwnames[] = {
25433 (char *) "self", NULL
25434 };
25435
25436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 wxHelpProvider_Destroy(arg1);
25441
25442 wxPyEndAllowThreads(__tstate);
25443 if (PyErr_Occurred()) SWIG_fail;
25444 }
25445 Py_INCREF(Py_None); resultobj = Py_None;
25446 return resultobj;
25447 fail:
25448 return NULL;
25449 }
25450
25451
25452 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25453 PyObject *obj;
25454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25455 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25456 Py_INCREF(obj);
25457 return Py_BuildValue((char *)"");
25458 }
25459 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25460 PyObject *resultobj;
25461 wxSimpleHelpProvider *result;
25462 char *kwnames[] = {
25463 NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25467 {
25468 PyThreadState* __tstate = wxPyBeginAllowThreads();
25469 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25470
25471 wxPyEndAllowThreads(__tstate);
25472 if (PyErr_Occurred()) SWIG_fail;
25473 }
25474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25475 return resultobj;
25476 fail:
25477 return NULL;
25478 }
25479
25480
25481 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25482 PyObject *obj;
25483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25484 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25485 Py_INCREF(obj);
25486 return Py_BuildValue((char *)"");
25487 }
25488 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj;
25490 wxBitmap *arg1 = 0 ;
25491 wxCursor const &arg2_defvalue = wxNullCursor ;
25492 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25493 wxGenericDragImage *result;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "image",(char *) "cursor", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25502 if (arg1 == NULL) {
25503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25504 }
25505 if (obj1) {
25506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25507 if (arg2 == NULL) {
25508 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25509 }
25510 }
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25514
25515 wxPyEndAllowThreads(__tstate);
25516 if (PyErr_Occurred()) SWIG_fail;
25517 }
25518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj;
25527 wxIcon *arg1 = 0 ;
25528 wxCursor const &arg2_defvalue = wxNullCursor ;
25529 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25530 wxGenericDragImage *result;
25531 PyObject * obj0 = 0 ;
25532 PyObject * obj1 = 0 ;
25533 char *kwnames[] = {
25534 (char *) "image",(char *) "cursor", NULL
25535 };
25536
25537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25539 if (arg1 == NULL) {
25540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25541 }
25542 if (obj1) {
25543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25544 if (arg2 == NULL) {
25545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25546 }
25547 }
25548 {
25549 PyThreadState* __tstate = wxPyBeginAllowThreads();
25550 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25551
25552 wxPyEndAllowThreads(__tstate);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
25555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25556 return resultobj;
25557 fail:
25558 return NULL;
25559 }
25560
25561
25562 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj;
25564 wxString *arg1 = 0 ;
25565 wxCursor const &arg2_defvalue = wxNullCursor ;
25566 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25567 wxGenericDragImage *result;
25568 bool temp1 = False ;
25569 PyObject * obj0 = 0 ;
25570 PyObject * obj1 = 0 ;
25571 char *kwnames[] = {
25572 (char *) "str",(char *) "cursor", NULL
25573 };
25574
25575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25576 {
25577 arg1 = wxString_in_helper(obj0);
25578 if (arg1 == NULL) SWIG_fail;
25579 temp1 = True;
25580 }
25581 if (obj1) {
25582 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25583 if (arg2 == NULL) {
25584 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25585 }
25586 }
25587 {
25588 PyThreadState* __tstate = wxPyBeginAllowThreads();
25589 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25590
25591 wxPyEndAllowThreads(__tstate);
25592 if (PyErr_Occurred()) SWIG_fail;
25593 }
25594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25595 {
25596 if (temp1)
25597 delete arg1;
25598 }
25599 return resultobj;
25600 fail:
25601 {
25602 if (temp1)
25603 delete arg1;
25604 }
25605 return NULL;
25606 }
25607
25608
25609 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25610 PyObject *resultobj;
25611 wxPyTreeCtrl *arg1 = 0 ;
25612 wxTreeItemId *arg2 = 0 ;
25613 wxGenericDragImage *result;
25614 PyObject * obj0 = 0 ;
25615 PyObject * obj1 = 0 ;
25616 char *kwnames[] = {
25617 (char *) "treeCtrl",(char *) "id", NULL
25618 };
25619
25620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25622 if (arg1 == NULL) {
25623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25624 }
25625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25626 if (arg2 == NULL) {
25627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25628 }
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPyListCtrl *arg1 = 0 ;
25646 long arg2 ;
25647 wxGenericDragImage *result;
25648 PyObject * obj0 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "listCtrl",(char *) "id", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25655 if (arg1 == NULL) {
25656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25657 }
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25661
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25673 PyObject *resultobj;
25674 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25675 PyObject * obj0 = 0 ;
25676 char *kwnames[] = {
25677 (char *) "self", NULL
25678 };
25679
25680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 delete arg1;
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 Py_INCREF(Py_None); resultobj = Py_None;
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25699 wxBitmap *arg2 = (wxBitmap *) 0 ;
25700 PyObject * obj0 = 0 ;
25701 PyObject * obj1 = 0 ;
25702 char *kwnames[] = {
25703 (char *) "self",(char *) "bitmap", NULL
25704 };
25705
25706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 (arg1)->SetBackingBitmap(arg2);
25712
25713 wxPyEndAllowThreads(__tstate);
25714 if (PyErr_Occurred()) SWIG_fail;
25715 }
25716 Py_INCREF(Py_None); resultobj = Py_None;
25717 return resultobj;
25718 fail:
25719 return NULL;
25720 }
25721
25722
25723 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj;
25725 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25726 wxPoint *arg2 = 0 ;
25727 wxWindow *arg3 = (wxWindow *) 0 ;
25728 bool arg4 = (bool) False ;
25729 wxRect *arg5 = (wxRect *) NULL ;
25730 bool result;
25731 wxPoint temp2 ;
25732 PyObject * obj0 = 0 ;
25733 PyObject * obj1 = 0 ;
25734 PyObject * obj2 = 0 ;
25735 PyObject * obj3 = 0 ;
25736 PyObject * obj4 = 0 ;
25737 char *kwnames[] = {
25738 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25739 };
25740
25741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25743 {
25744 arg2 = &temp2;
25745 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25746 }
25747 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25748 if (obj3) {
25749 arg4 = PyInt_AsLong(obj3) ? true : false;
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
25752 if (obj4) {
25753 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 resultobj = PyInt_FromLong((long)result);
25763 return resultobj;
25764 fail:
25765 return NULL;
25766 }
25767
25768
25769 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25770 PyObject *resultobj;
25771 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25772 wxPoint *arg2 = 0 ;
25773 wxWindow *arg3 = (wxWindow *) 0 ;
25774 wxWindow *arg4 = (wxWindow *) 0 ;
25775 bool result;
25776 wxPoint temp2 ;
25777 PyObject * obj0 = 0 ;
25778 PyObject * obj1 = 0 ;
25779 PyObject * obj2 = 0 ;
25780 PyObject * obj3 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25787 {
25788 arg2 = &temp2;
25789 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25790 }
25791 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25792 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25796
25797 wxPyEndAllowThreads(__tstate);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 resultobj = PyInt_FromLong((long)result);
25801 return resultobj;
25802 fail:
25803 return NULL;
25804 }
25805
25806
25807 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25808 PyObject *resultobj;
25809 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25810 bool result;
25811 PyObject * obj0 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "self", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25818 {
25819 PyThreadState* __tstate = wxPyBeginAllowThreads();
25820 result = (bool)(arg1)->EndDrag();
25821
25822 wxPyEndAllowThreads(__tstate);
25823 if (PyErr_Occurred()) SWIG_fail;
25824 }
25825 resultobj = PyInt_FromLong((long)result);
25826 return resultobj;
25827 fail:
25828 return NULL;
25829 }
25830
25831
25832 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25833 PyObject *resultobj;
25834 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25835 wxPoint *arg2 = 0 ;
25836 bool result;
25837 wxPoint temp2 ;
25838 PyObject * obj0 = 0 ;
25839 PyObject * obj1 = 0 ;
25840 char *kwnames[] = {
25841 (char *) "self",(char *) "pt", NULL
25842 };
25843
25844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25846 {
25847 arg2 = &temp2;
25848 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25849 }
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25853
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 resultobj = PyInt_FromLong((long)result);
25858 return resultobj;
25859 fail:
25860 return NULL;
25861 }
25862
25863
25864 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25865 PyObject *resultobj;
25866 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25867 bool result;
25868 PyObject * obj0 = 0 ;
25869 char *kwnames[] = {
25870 (char *) "self", NULL
25871 };
25872
25873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25875 {
25876 PyThreadState* __tstate = wxPyBeginAllowThreads();
25877 result = (bool)(arg1)->Show();
25878
25879 wxPyEndAllowThreads(__tstate);
25880 if (PyErr_Occurred()) SWIG_fail;
25881 }
25882 resultobj = PyInt_FromLong((long)result);
25883 return resultobj;
25884 fail:
25885 return NULL;
25886 }
25887
25888
25889 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25890 PyObject *resultobj;
25891 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25892 bool result;
25893 PyObject * obj0 = 0 ;
25894 char *kwnames[] = {
25895 (char *) "self", NULL
25896 };
25897
25898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = (bool)(arg1)->Hide();
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 resultobj = PyInt_FromLong((long)result);
25908 return resultobj;
25909 fail:
25910 return NULL;
25911 }
25912
25913
25914 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25915 PyObject *resultobj;
25916 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25917 wxPoint *arg2 = 0 ;
25918 wxRect result;
25919 wxPoint temp2 ;
25920 PyObject * obj0 = 0 ;
25921 PyObject * obj1 = 0 ;
25922 char *kwnames[] = {
25923 (char *) "self",(char *) "pos", NULL
25924 };
25925
25926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25928 {
25929 arg2 = &temp2;
25930 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25931 }
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25935
25936 wxPyEndAllowThreads(__tstate);
25937 if (PyErr_Occurred()) SWIG_fail;
25938 }
25939 {
25940 wxRect * resultptr;
25941 resultptr = new wxRect((wxRect &) result);
25942 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25943 }
25944 return resultobj;
25945 fail:
25946 return NULL;
25947 }
25948
25949
25950 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25951 PyObject *resultobj;
25952 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25953 wxDC *arg2 = 0 ;
25954 wxPoint *arg3 = 0 ;
25955 bool result;
25956 wxPoint temp3 ;
25957 PyObject * obj0 = 0 ;
25958 PyObject * obj1 = 0 ;
25959 PyObject * obj2 = 0 ;
25960 char *kwnames[] = {
25961 (char *) "self",(char *) "dc",(char *) "pos", NULL
25962 };
25963
25964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25967 if (arg2 == NULL) {
25968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25969 }
25970 {
25971 arg3 = &temp3;
25972 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25973 }
25974 {
25975 PyThreadState* __tstate = wxPyBeginAllowThreads();
25976 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25977
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 resultobj = PyInt_FromLong((long)result);
25982 return resultobj;
25983 fail:
25984 return NULL;
25985 }
25986
25987
25988 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj;
25990 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25991 wxDC *arg2 = 0 ;
25992 wxMemoryDC *arg3 = 0 ;
25993 wxRect *arg4 = 0 ;
25994 wxRect *arg5 = 0 ;
25995 bool result;
25996 wxRect temp4 ;
25997 wxRect temp5 ;
25998 PyObject * obj0 = 0 ;
25999 PyObject * obj1 = 0 ;
26000 PyObject * obj2 = 0 ;
26001 PyObject * obj3 = 0 ;
26002 PyObject * obj4 = 0 ;
26003 char *kwnames[] = {
26004 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26005 };
26006
26007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26010 if (arg2 == NULL) {
26011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26012 }
26013 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26014 if (arg3 == NULL) {
26015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26016 }
26017 {
26018 arg4 = &temp4;
26019 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26020 }
26021 {
26022 arg5 = &temp5;
26023 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26024 }
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26028
26029 wxPyEndAllowThreads(__tstate);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 resultobj = PyInt_FromLong((long)result);
26033 return resultobj;
26034 fail:
26035 return NULL;
26036 }
26037
26038
26039 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26040 PyObject *resultobj;
26041 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26042 wxPoint *arg2 = 0 ;
26043 wxPoint *arg3 = 0 ;
26044 bool arg4 ;
26045 bool arg5 ;
26046 bool result;
26047 wxPoint temp2 ;
26048 wxPoint temp3 ;
26049 PyObject * obj0 = 0 ;
26050 PyObject * obj1 = 0 ;
26051 PyObject * obj2 = 0 ;
26052 PyObject * obj3 = 0 ;
26053 PyObject * obj4 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26060 {
26061 arg2 = &temp2;
26062 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26063 }
26064 {
26065 arg3 = &temp3;
26066 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26067 }
26068 arg4 = PyInt_AsLong(obj3) ? true : false;
26069 if (PyErr_Occurred()) SWIG_fail;
26070 arg5 = PyInt_AsLong(obj4) ? true : false;
26071 if (PyErr_Occurred()) SWIG_fail;
26072 {
26073 PyThreadState* __tstate = wxPyBeginAllowThreads();
26074 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26075
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 resultobj = PyInt_FromLong((long)result);
26080 return resultobj;
26081 fail:
26082 return NULL;
26083 }
26084
26085
26086 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26087 PyObject *obj;
26088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26089 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26090 Py_INCREF(obj);
26091 return Py_BuildValue((char *)"");
26092 }
26093 static PyMethodDef SwigMethods[] = {
26094 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26100 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26115 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26126 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26135 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26153 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26166 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26170 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26176 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26180 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26187 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26206 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26214 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26215 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26243 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26296 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26301 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26312 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26324 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26335 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26352 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26358 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26383 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26386 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26406 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26412 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26421 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26423 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26428 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26430 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26435 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26440 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26470 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26515 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26520 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26532 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26584 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26611 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26680 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26692 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26700 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26707 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26723 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26795 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26817 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26822 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26843 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26851 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26856 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26858 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26866 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26868 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26886 { NULL, NULL }
26887 };
26888
26889
26890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26891
26892 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26893 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26894 }
26895 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26896 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26897 }
26898 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26899 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26900 }
26901 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26902 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26903 }
26904 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26905 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26906 }
26907 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26908 return (void *)((wxSizer *) ((wxGridSizer *) x));
26909 }
26910 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26911 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26912 }
26913 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26914 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26915 }
26916 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26917 return (void *)((wxSizer *) ((wxPySizer *) x));
26918 }
26919 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26920 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26921 }
26922 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26923 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26924 }
26925 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26926 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26927 }
26928 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26929 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26930 }
26931 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26932 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26933 }
26934 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26935 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26936 }
26937 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26938 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26939 }
26940 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26941 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26942 }
26943 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26944 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26945 }
26946 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26947 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26948 }
26949 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26950 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26951 }
26952 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26953 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26954 }
26955 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26956 return (void *)((wxEvent *) ((wxPyEvent *) x));
26957 }
26958 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26959 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26960 }
26961 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26962 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26963 }
26964 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26965 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26966 }
26967 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26968 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26969 }
26970 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26971 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26972 }
26973 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26974 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26975 }
26976 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26977 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26978 }
26979 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26980 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26981 }
26982 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26983 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26984 }
26985 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26986 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26987 }
26988 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26989 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26990 }
26991 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26992 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26993 }
26994 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26995 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26996 }
26997 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26998 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26999 }
27000 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27001 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27002 }
27003 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27004 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27005 }
27006 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27007 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27008 }
27009 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27010 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27011 }
27012 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27013 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27014 }
27015 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27016 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27017 }
27018 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27019 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27020 }
27021 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27022 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27023 }
27024 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27025 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27026 }
27027 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27028 return (void *)((wxEvent *) ((wxShowEvent *) x));
27029 }
27030 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27031 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27032 }
27033 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27034 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27035 }
27036 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27037 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27038 }
27039 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27040 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27041 }
27042 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27043 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27044 }
27045 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27046 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27047 }
27048 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27049 return (void *)((wxItemContainer *) ((wxComboBox *) x));
27050 }
27051 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27052 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27053 }
27054 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27055 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27056 }
27057 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27058 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27059 }
27060 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27061 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27062 }
27063 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27064 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27065 }
27066 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27067 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27068 }
27069 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27070 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27071 }
27072 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27073 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27074 }
27075 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27076 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27077 }
27078 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27079 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27080 }
27081 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27082 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27083 }
27084 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27085 return (void *)((wxControl *) ((wxComboBox *) x));
27086 }
27087 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27088 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27089 }
27090 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27091 return (void *)((wxControl *) ((wxStaticBox *) x));
27092 }
27093 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27094 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27095 }
27096 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27097 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27098 }
27099 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27100 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27101 }
27102 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27103 return (void *)((wxControl *) ((wxScrollBar *) x));
27104 }
27105 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27106 return (void *)((wxControl *) ((wxBookCtrl *) x));
27107 }
27108 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27109 return (void *)((wxControl *) ((wxRadioButton *) x));
27110 }
27111 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27112 return (void *)((wxControl *) ((wxToggleButton *) x));
27113 }
27114 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27115 return (void *)((wxControl *) ((wxGauge *) x));
27116 }
27117 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27118 return (void *)((wxControl *) ((wxToolBarBase *) x));
27119 }
27120 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27121 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27122 }
27123 static void *_p_wxButtonTo_p_wxControl(void *x) {
27124 return (void *)((wxControl *) ((wxButton *) x));
27125 }
27126 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27127 return (void *)((wxControl *) ((wxSpinButton *) x));
27128 }
27129 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27130 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27131 }
27132 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27133 return (void *)((wxControl *) ((wxControlWithItems *) x));
27134 }
27135 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27136 return (void *)((wxControl *) ((wxRadioBox *) x));
27137 }
27138 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27139 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27140 }
27141 static void *_p_wxListbookTo_p_wxControl(void *x) {
27142 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27143 }
27144 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27145 return (void *)((wxControl *) ((wxCheckBox *) x));
27146 }
27147 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27148 return (void *)((wxControl *) ((wxTextCtrl *) x));
27149 }
27150 static void *_p_wxListViewTo_p_wxControl(void *x) {
27151 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27152 }
27153 static void *_p_wxSliderTo_p_wxControl(void *x) {
27154 return (void *)((wxControl *) ((wxSlider *) x));
27155 }
27156 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27157 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27158 }
27159 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27160 return (void *)((wxControl *) ((wxPyControl *) x));
27161 }
27162 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27163 return (void *)((wxControl *) ((wxStaticLine *) x));
27164 }
27165 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27166 return (void *)((wxControl *) ((wxStaticText *) x));
27167 }
27168 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27169 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27170 }
27171 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27172 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27173 }
27174 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27175 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27176 }
27177 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27178 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27179 }
27180 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27181 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27182 }
27183 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27184 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27185 }
27186 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27187 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27188 }
27189 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27191 }
27192 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27193 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27194 }
27195 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27196 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27197 }
27198 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27199 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27200 }
27201 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27202 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27203 }
27204 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27205 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27206 }
27207 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27208 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27209 }
27210 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27211 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27212 }
27213 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27214 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27215 }
27216 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27217 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27218 }
27219 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27220 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27221 }
27222 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27223 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27224 }
27225 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27226 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27227 }
27228 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27229 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27230 }
27231 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27232 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27233 }
27234 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27235 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27236 }
27237 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27238 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27239 }
27240 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27241 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27242 }
27243 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27244 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27245 }
27246 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27247 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27248 }
27249 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27250 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27251 }
27252 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27253 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27254 }
27255 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27256 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27257 }
27258 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27259 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27260 }
27261 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27262 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27263 }
27264 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27265 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27266 }
27267 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27268 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27269 }
27270 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27271 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27272 }
27273 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27274 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27275 }
27276 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27277 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27278 }
27279 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27280 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27281 }
27282 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27283 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27284 }
27285 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27287 }
27288 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27289 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27290 }
27291 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27292 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27293 }
27294 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27295 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27296 }
27297 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27298 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27299 }
27300 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27301 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27302 }
27303 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27304 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27305 }
27306 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27307 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27308 }
27309 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27310 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27311 }
27312 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27313 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27314 }
27315 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27316 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27317 }
27318 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27319 return (void *)((wxButton *) ((wxBitmapButton *) x));
27320 }
27321 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27322 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27323 }
27324 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27325 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27326 }
27327 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27328 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27329 }
27330 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27331 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27332 }
27333 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27334 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27335 }
27336 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27337 return (void *)((wxObject *) ((wxSizerItem *) x));
27338 }
27339 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27340 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27341 }
27342 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27343 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27344 }
27345 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27346 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27347 }
27348 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27349 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27350 }
27351 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27352 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27353 }
27354 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27355 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27356 }
27357 static void *_p_wxSizerTo_p_wxObject(void *x) {
27358 return (void *)((wxObject *) ((wxSizer *) x));
27359 }
27360 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27361 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27362 }
27363 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27365 }
27366 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27368 }
27369 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27370 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27371 }
27372 static void *_p_wxEventTo_p_wxObject(void *x) {
27373 return (void *)((wxObject *) ((wxEvent *) x));
27374 }
27375 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27376 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27377 }
27378 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27379 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27380 }
27381 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27382 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27383 }
27384 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27386 }
27387 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27389 }
27390 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27392 }
27393 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27394 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27395 }
27396 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27397 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27398 }
27399 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27400 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27401 }
27402 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27403 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27404 }
27405 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27406 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27407 }
27408 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27409 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27410 }
27411 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27413 }
27414 static void *_p_wxControlTo_p_wxObject(void *x) {
27415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27416 }
27417 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27419 }
27420 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27422 }
27423 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27425 }
27426 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27428 }
27429 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27431 }
27432 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27433 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27434 }
27435 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27437 }
27438 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27439 return (void *)((wxObject *) ((wxFSFile *) x));
27440 }
27441 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27442 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27443 }
27444 static void *_p_wxListViewTo_p_wxObject(void *x) {
27445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27446 }
27447 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27449 }
27450 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27452 }
27453 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27454 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27455 }
27456 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27458 }
27459 static void *_p_wxListbookTo_p_wxObject(void *x) {
27460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27461 }
27462 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27463 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27464 }
27465 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27467 }
27468 static void *_p_wxSliderTo_p_wxObject(void *x) {
27469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27470 }
27471 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27472 return (void *)((wxObject *) ((wxMenuItem *) x));
27473 }
27474 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27475 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27476 }
27477 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27479 }
27480 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27481 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27482 }
27483 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27484 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27485 }
27486 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27487 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27488 }
27489 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27490 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27491 }
27492 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27493 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27494 }
27495 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27496 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27497 }
27498 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27500 }
27501 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27502 return (void *)((wxObject *) ((wxContextHelp *) x));
27503 }
27504 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27505 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27506 }
27507 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27508 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27509 }
27510 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27511 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27512 }
27513 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27514 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27515 }
27516 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27517 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27518 }
27519 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27520 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27521 }
27522 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27523 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27524 }
27525 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27526 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27527 }
27528 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27529 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27530 }
27531 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27532 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27533 }
27534 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27535 return (void *)((wxObject *) ((wxImageHandler *) x));
27536 }
27537 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27538 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27539 }
27540 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27541 return (void *)((wxObject *) ((wxEvtHandler *) x));
27542 }
27543 static void *_p_wxListEventTo_p_wxObject(void *x) {
27544 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27545 }
27546 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27548 }
27549 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27551 }
27552 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27554 }
27555 static void *_p_wxButtonTo_p_wxObject(void *x) {
27556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27557 }
27558 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27560 }
27561 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27563 }
27564 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27566 }
27567 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27568 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27569 }
27570 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27572 }
27573 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27575 }
27576 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27578 }
27579 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27580 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27581 }
27582 static void *_p_wxListItemTo_p_wxObject(void *x) {
27583 return (void *)((wxObject *) ((wxListItem *) x));
27584 }
27585 static void *_p_wxImageTo_p_wxObject(void *x) {
27586 return (void *)((wxObject *) ((wxImage *) x));
27587 }
27588 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27589 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27590 }
27591 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27592 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27593 }
27594 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27595 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27596 }
27597 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27599 }
27600 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27601 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27602 }
27603 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27605 }
27606 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27608 }
27609 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27610 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27611 }
27612 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27613 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27614 }
27615 static void *_p_wxWindowTo_p_wxObject(void *x) {
27616 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27617 }
27618 static void *_p_wxMenuTo_p_wxObject(void *x) {
27619 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27620 }
27621 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27623 }
27624 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27625 return (void *)((wxObject *) ((wxFileSystem *) x));
27626 }
27627 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27628 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27629 }
27630 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27631 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27632 }
27633 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27634 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27635 }
27636 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27637 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27638 }
27639 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27640 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27641 }
27642 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27643 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27644 }
27645 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27646 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27647 }
27648 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27650 }
27651 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27652 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27653 }
27654 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27656 }
27657 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27658 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27659 }
27660 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27661 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27662 }
27663 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27665 }
27666 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27668 }
27669 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27670 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27671 }
27672 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27674 }
27675 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27676 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27677 }
27678 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27679 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27680 }
27681 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27682 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27683 }
27684 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27685 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27686 }
27687 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27688 return (void *)((wxWindow *) ((wxMenuBar *) x));
27689 }
27690 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27691 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27692 }
27693 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27694 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27695 }
27696 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27697 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27698 }
27699 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27700 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27701 }
27702 static void *_p_wxControlTo_p_wxWindow(void *x) {
27703 return (void *)((wxWindow *) ((wxControl *) x));
27704 }
27705 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27706 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27707 }
27708 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27709 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27710 }
27711 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27712 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27713 }
27714 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27715 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27716 }
27717 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27718 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27719 }
27720 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27721 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27722 }
27723 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27724 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27725 }
27726 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27727 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27728 }
27729 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27730 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27731 }
27732 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27733 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27734 }
27735 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27736 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27737 }
27738 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27739 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27740 }
27741 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27742 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27743 }
27744 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27745 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27746 }
27747 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27748 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27749 }
27750 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27751 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27752 }
27753 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27754 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27755 }
27756 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27757 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27758 }
27759 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27760 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27761 }
27762 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27763 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27764 }
27765 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27766 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27767 }
27768 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27769 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27770 }
27771 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27772 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27773 }
27774 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27775 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27776 }
27777 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27778 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27779 }
27780 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27781 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27782 }
27783 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27784 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27785 }
27786 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27787 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27788 }
27789 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27790 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27791 }
27792 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27793 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27794 }
27795 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27796 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27797 }
27798 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27799 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27800 }
27801 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27802 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27803 }
27804 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27805 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27806 }
27807 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27808 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27809 }
27810 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27811 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27812 }
27813 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27814 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27815 }
27816 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27817 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27818 }
27819 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27820 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27821 }
27822 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27823 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27824 }
27825 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27826 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27827 }
27828 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27829 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27830 }
27831 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27832 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27833 }
27834 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27835 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27836 }
27837 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27838 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27839 }
27840 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27841 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27842 }
27843 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27844 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27845 }
27846 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27847 return (void *)((wxValidator *) ((wxPyValidator *) x));
27848 }
27849 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27850 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}};
27851 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}};
27852 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27853 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27854 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27855 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27856 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}};
27857 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27858 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27859 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27860 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}};
27861 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27862 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27863 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27864 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}};
27865 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27866 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27867 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27868 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27869 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27870 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27871 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27872 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27873 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27874 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27875 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27876 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27877 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27878 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27879 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27880 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27881 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}};
27882 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27883 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27884 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27885 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27886 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27887 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27888 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27889 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27890 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}};
27891 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27892 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27893 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27894 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}};
27895 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27896 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}};
27897 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27898 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27899 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27900 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27901 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27902 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27903 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27904 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27905 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27906 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27907 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27908 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27909 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27910 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27911 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27912 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27913 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27914 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27915 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27916 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}};
27917 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27918 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27919 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}};
27920 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27921 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27922 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27923 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27924 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}};
27925 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27926 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
27927 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27928 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27929 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27930 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27931 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27932
27933 static swig_type_info *swig_types_initial[] = {
27934 _swigt__p_wxTextUrlEvent,
27935 _swigt__p_wxBookCtrlEvent,
27936 _swigt__p_wxSizer,
27937 _swigt__p_wxTreeItemIdValue,
27938 _swigt__wxTreeItemIdValue,
27939 _swigt__p_wxCheckBox,
27940 _swigt__p_wxPyTreeCtrl,
27941 _swigt__p_wxEvent,
27942 _swigt__p_wxGenericDirCtrl,
27943 _swigt__p_bool,
27944 _swigt__p_wxPyTreeItemData,
27945 _swigt__p_wxItemContainer,
27946 _swigt__p_wxDirFilterListCtrl,
27947 _swigt__p_wxPyListCtrl,
27948 _swigt__p_wxStaticLine,
27949 _swigt__p_wxControl,
27950 _swigt__p_wxPyControl,
27951 _swigt__p_wxGauge,
27952 _swigt__p_wxToolBarBase,
27953 _swigt__p_wxFont,
27954 _swigt__p_wxToggleButton,
27955 _swigt__p_wxRadioButton,
27956 _swigt__p_wxChoice,
27957 _swigt__p_wxMemoryDC,
27958 _swigt__p_wxListItemAttr,
27959 _swigt__p_int,
27960 _swigt__p_wxSize,
27961 _swigt__p_wxDC,
27962 _swigt__p_wxListView,
27963 _swigt__p_wxIcon,
27964 _swigt__p_wxTextCtrl,
27965 _swigt__p_wxNotebook,
27966 _swigt__p_wxNotifyEvent,
27967 _swigt__p_wxArrayString,
27968 _swigt__p_wxListbook,
27969 _swigt__p_wxStaticBitmap,
27970 _swigt__p_wxSlider,
27971 _swigt__p_wxStaticBox,
27972 _swigt__p_wxArrayInt,
27973 _swigt__p_wxContextHelp,
27974 _swigt__p_long,
27975 _swigt__p_wxEvtHandler,
27976 _swigt__p_wxListEvent,
27977 _swigt__p_wxListBox,
27978 _swigt__p_wxCheckListBox,
27979 _swigt__p_wxBookCtrl,
27980 _swigt__p_wxSpinButton,
27981 _swigt__p_wxButton,
27982 _swigt__p_wxBitmapButton,
27983 _swigt__p_wxRect,
27984 _swigt__p_wxContextHelpButton,
27985 _swigt__p_wxRadioBox,
27986 _swigt__p_wxScrollBar,
27987 _swigt__p_wxTreeItemId,
27988 _swigt__p_wxComboBox,
27989 _swigt__p_wxHelpEvent,
27990 _swigt__p_wxListItem,
27991 _swigt__p_wxNotebookSizer,
27992 _swigt__p_wxGenericDragImage,
27993 _swigt__p_wxSpinCtrl,
27994 _swigt__p_wxImageList,
27995 _swigt__p_wxHelpProvider,
27996 _swigt__p_wxTextAttr,
27997 _swigt__p_wxSimpleHelpProvider,
27998 _swigt__p_wxPoint,
27999 _swigt__p_wxListbookEvent,
28000 _swigt__p_wxNotebookEvent,
28001 _swigt__p_wxObject,
28002 _swigt__p_wxCursor,
28003 _swigt__p_wxKeyEvent,
28004 _swigt__p_wxWindow,
28005 _swigt__p_wxString,
28006 _swigt__p_wxBitmap,
28007 _swigt__p_wxTreeEvent,
28008 _swigt__p_wxMouseEvent,
28009 _swigt__p_wxCommandEvent,
28010 _swigt__p_wxStaticText,
28011 _swigt__p_wxControlWithItems,
28012 _swigt__p_wxToolBarToolBase,
28013 _swigt__p_wxColour,
28014 _swigt__p_wxToolBar,
28015 _swigt__p_wxBookCtrlSizer,
28016 _swigt__p_wxValidator,
28017 0
28018 };
28019
28020
28021 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28022
28023 static swig_const_info swig_const_table[] = {
28024 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28025 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28026 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28027 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28028 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28029 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28030 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28031 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28032 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28033 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28034 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28035 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28036 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28037 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28038 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28039 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28040 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28041 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28042 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28043 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28044 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28045 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28046 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28047 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28048 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28049 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28050 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28051 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28052 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28053 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28054 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28055 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28056 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28057 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28058 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28059 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28060 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28061 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28062 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28063 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28064 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28065 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28066 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28067 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28068 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28069 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28070 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28071 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28072 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28073 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28074 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28075 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28076 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28077 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28078 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28079 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28080 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28081 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28082 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28083 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28084 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28085 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28086 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28087 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28088 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28089 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28090 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28091 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28092 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28093 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28094 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28095 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28096 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28097 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28098 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28099 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28100 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28101 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28102 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28103 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28104 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28105 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28106 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28107 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28108 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28109 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28110 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28111 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28112 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28113 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28114 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28115 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28116 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28117 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28118 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28119 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28120 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28121 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28122 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28123 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28124 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28125 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28126 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28127 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28128 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28129 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28130 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28131 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28132 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28133 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28134 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28135 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28136 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28137 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28138 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28139 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28140 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28141 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28142 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28143 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28144 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28145 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28146 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28147 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28148 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28149 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28150 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28151 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28152 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28153 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28154 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28155 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28156 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28157 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28158 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28159 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28160 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28161 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28162 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28163 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28164 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28165 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28166 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28167 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28168 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28169 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28170 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28171 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28172 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28173 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28174 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28175 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28176 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28177 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28178 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28179 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28180 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28181 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28182 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28183 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28184 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28185 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28186 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28187 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28188 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28189 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28190 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28191 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28192 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28193 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28194 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28195 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28196 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28197 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28198 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28199 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28200 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28201 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28202 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28203 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28204 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28205 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28206 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28207 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28208 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28209 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28210 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28211 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28212 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28213 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28214 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28215 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28216 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28217 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28218 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28219 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28220 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28221 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28222 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28223 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28224 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28225 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28226 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28227 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28228 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28229 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28230 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28231 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28232 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28233 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28234 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28235 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28236 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28237 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28238 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28239 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28240 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28241 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28242 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28243 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28244 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28245 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28246 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28247 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28248 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28249 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28250 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28251 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28252 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28253 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28254 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28255 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28256 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28257 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28258 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28259 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28260 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28261 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28262 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28263 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28264 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28265 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28266 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28267 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28268 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28269 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28270 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28271 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28272 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28273 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28274 {0}};
28275
28276 #ifdef __cplusplus
28277 }
28278 #endif
28279
28280 #ifdef __cplusplus
28281 extern "C"
28282 #endif
28283 SWIGEXPORT(void) SWIG_init(void) {
28284 static PyObject *SWIG_globals = 0;
28285 static int typeinit = 0;
28286 PyObject *m, *d;
28287 int i;
28288 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28289 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28290 d = PyModule_GetDict(m);
28291
28292 if (!typeinit) {
28293 for (i = 0; swig_types_initial[i]; i++) {
28294 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28295 }
28296 typeinit = 1;
28297 }
28298 SWIG_InstallConstants(d,swig_const_table);
28299
28300 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28301 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28302 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28303 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28304 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28305 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28306 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28307 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28308 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28309 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28310 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28311 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28312 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28313 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28314 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28315 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28316 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28317 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28318 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28319 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28320 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28321 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28322 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28323 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28324 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28325 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28326 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28327 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28328 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28329 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28330 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28331 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28332 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28333 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28334 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28335 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28336 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28337 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28338 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28339 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28340 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28341 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28342 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28343 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28344 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28345 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28346 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28347 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28348 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28349 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28350 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28351 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28352
28353 // Map renamed classes back to their common name for OOR
28354 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28355
28356 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28357 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28358 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28359 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28360 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28361 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28362 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28363 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28364 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28365 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28366 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28367 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28368 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28369 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28370 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28371 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28372 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28373 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28374 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28375 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28376 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28377
28378 // Map renamed classes back to their common name for OOR
28379 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28380 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28381
28382 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28383 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28384 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28385
28386 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28387
28388 }
28389