]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
More lib and demo changes for dropping the wx prefix, from Jeff G.
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
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 void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
380 }
381 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
382 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
383 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
384 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
385 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
386
387 #include <wx/slider.h>
388
389
390 static const wxString wxPySliderNameStr(wxSliderNameStr);
391 static const wxString wxPyToggleButtonNameStr(wxT(_T("wxToggleButton")));
392
393 #ifdef __WXMAC__
394 // implement dummy classes and such for wxMac
395
396 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
397
398 class wxToggleButton : public wxControl
399 {
400 public:
401 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
402 const wxPoint&, const wxSize&, long,
403 const wxValidator&, const wxString&)
404 { PyErr_SetNone(PyExc_NotImplementedError); }
405
406 wxToggleButton()
407 { PyErr_SetNone(PyExc_NotImplementedError); }
408 };
409 #endif
410
411 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
412 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
413 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
414 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
415 if (udata) {
416 Py_INCREF(udata->m_obj);
417 return udata->m_obj;
418 } else {
419 Py_INCREF(Py_None);
420 return Py_None;
421 }
422 }
423 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
424 self->SetClientData(new wxPyUserData(clientData));
425 }
426 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){
427 wxPyUserData* udata = NULL;
428 if (clientData && clientData != Py_None)
429 udata = new wxPyUserData(clientData);
430 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
431 shortHelp, longHelp, udata);
432 }
433 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){
434 wxPyUserData* udata = NULL;
435 if (clientData && clientData != Py_None)
436 udata = new wxPyUserData(clientData);
437 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
438 shortHelp, longHelp, udata);
439 }
440 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
441 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
442 if (udata) {
443 Py_INCREF(udata->m_obj);
444 return udata->m_obj;
445 } else {
446 Py_INCREF(Py_None);
447 return Py_None;
448 }
449 }
450 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
451 self->SetToolClientData(id, new wxPyUserData(clientData));
452 }
453
454 #include <wx/listctrl.h>
455
456
457 static const wxString wxPyListCtrlNameStr(wxT(_T("wxListCtrl")));
458 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
459 // Python aware sorting function for wxPyListCtrl
460 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
461 int retval = 0;
462 PyObject* func = (PyObject*)funcPtr;
463 wxPyBeginBlockThreads();
464
465 PyObject* args = Py_BuildValue("(ii)", item1, item2);
466 PyObject* result = PyEval_CallObject(func, args);
467 Py_DECREF(args);
468 if (result) {
469 retval = PyInt_AsLong(result);
470 Py_DECREF(result);
471 }
472
473 wxPyEndBlockThreads();
474 return retval;
475 }
476
477 // C++ Version of a Python aware class
478 class wxPyListCtrl : public wxListCtrl {
479 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
480 public:
481 wxPyListCtrl() : wxListCtrl() {}
482 wxPyListCtrl(wxWindow* parent, wxWindowID id,
483 const wxPoint& pos,
484 const wxSize& size,
485 long style,
486 const wxValidator& validator,
487 const wxString& name) :
488 wxListCtrl(parent, id, pos, size, style, validator, name) {}
489
490 bool Create(wxWindow* parent, wxWindowID id,
491 const wxPoint& pos,
492 const wxSize& size,
493 long style,
494 const wxValidator& validator,
495 const wxString& name) {
496 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
497 }
498
499 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
500 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
501 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
502
503 PYPRIVATE;
504 };
505
506 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
507
508 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
509 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
510 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
511
512 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
513 wxListItem item;
514 item.SetMask( wxLIST_MASK_STATE |
515 wxLIST_MASK_TEXT |
516 wxLIST_MASK_IMAGE |
517 wxLIST_MASK_DATA |
518 wxLIST_SET_ITEM |
519 wxLIST_MASK_WIDTH |
520 wxLIST_MASK_FORMAT
521 );
522 if (self->GetColumn(col, item))
523 return new wxListItem(item);
524 else
525 return NULL;
526 }
527 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
528 wxListItem* info = new wxListItem;
529 info->m_itemId = itemId;
530 info->m_col = col;
531 info->m_mask = 0xFFFF;
532 self->GetItem(*info);
533 return info;
534 }
535 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
536 wxPoint pos;
537 self->GetItemPosition(item, pos);
538 return pos;
539 }
540 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
541 wxRect rect;
542 self->GetItemRect(item, rect, code);
543 return rect;
544 }
545 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
546 if (!PyCallable_Check(func))
547 return False;
548 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
549 }
550 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
551
552
553
554 return (wxWindow*)self->m_mainWin;
555
556 }
557
558 #include <wx/treectrl.h>
559 #include "wx/wxPython/pytree.h"
560
561 static const wxString wxPyTreeCtrlNameStr(wxT(_T("wxTreeCtrl")));
562 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
563 if (!other) return False;
564 return *self == *other;
565 }
566 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
567 if (!other) return True;
568 return *self != *other;
569 }
570 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
571 // C++ version of Python aware wxTreeCtrl
572 class wxPyTreeCtrl : public wxTreeCtrl {
573 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
574 public:
575 wxPyTreeCtrl() : wxTreeCtrl() {}
576 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
577 const wxPoint& pos,
578 const wxSize& size,
579 long style,
580 const wxValidator& validator,
581 const wxString& name) :
582 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
583
584 bool Create(wxWindow *parent, wxWindowID id,
585 const wxPoint& pos,
586 const wxSize& size,
587 long style,
588 const wxValidator& validator,
589 const wxString& name) {
590 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
591 }
592
593
594 int OnCompareItems(const wxTreeItemId& item1,
595 const wxTreeItemId& item2) {
596 int rval = 0;
597 bool found;
598 wxPyBeginBlockThreads();
599 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
600 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
601 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
602 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
603 Py_DECREF(o1);
604 Py_DECREF(o2);
605 }
606 wxPyEndBlockThreads();
607 if (! found)
608 rval = wxTreeCtrl::OnCompareItems(item1, item2);
609 return rval;
610 }
611 PYPRIVATE;
612 };
613
614 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
615
616
617 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
618 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
619 if (data == NULL) {
620 data = new wxPyTreeItemData();
621 data->SetId(item); // set the id
622 self->SetItemData(item, data);
623 }
624 return data;
625 }
626 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
627 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
628 if (data == NULL) {
629 data = new wxPyTreeItemData();
630 data->SetId(item); // set the id
631 self->SetItemData(item, data);
632 }
633 return data->GetData();
634 }
635 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
636 data->SetId(item); // set the id
637 self->SetItemData(item, data);
638 }
639 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
640 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
641 if (data == NULL) {
642 data = new wxPyTreeItemData(obj);
643 data->SetId(item); // set the id
644 self->SetItemData(item, data);
645 } else
646 data->SetData(obj);
647 }
648 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
649 wxPyBeginBlockThreads();
650 PyObject* rval = PyList_New(0);
651 wxArrayTreeItemIds array;
652 size_t num, x;
653 num = self->GetSelections(array);
654 for (x=0; x < num; x++) {
655 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
656 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
657 PyList_Append(rval, item);
658 }
659 wxPyEndBlockThreads();
660 return rval;
661 }
662 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
663 wxTreeItemIdValue cookie = 0;
664 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
665 wxPyBeginBlockThreads();
666 PyObject* tup = PyTuple_New(2);
667 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
668 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
669 wxPyEndBlockThreads();
670 return tup;
671 }
672 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
673 wxTreeItemId ritem = self->GetNextChild(item, cookie);
674 wxPyBeginBlockThreads();
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
677 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
678 wxPyEndBlockThreads();
679 return tup;
680 }
681 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
682 wxRect rect;
683 if (self->GetBoundingRect(item, rect, textOnly)) {
684 wxPyBeginBlockThreads();
685 wxRect* r = new wxRect(rect);
686 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
687 wxPyEndBlockThreads();
688 return val;
689 }
690 else
691 RETURN_NONE();
692 }
693 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
694 // C++ version of Python aware wxControl
695 class wxPyControl : public wxControl
696 {
697 DECLARE_DYNAMIC_CLASS(wxPyControl)
698 public:
699 wxPyControl() : wxControl() {}
700 wxPyControl(wxWindow* parent, const wxWindowID id,
701 const wxPoint& pos = wxDefaultPosition,
702 const wxSize& size = wxDefaultSize,
703 long style = 0,
704 const wxValidator& validator=wxDefaultValidator,
705 const wxString& name = wxPyControlNameStr)
706 : wxControl(parent, id, pos, size, style, validator, name) {}
707
708
709 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
710 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
711 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
712 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
713
714 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
715 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
716 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
717
718 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
719 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
720
721 DEC_PYCALLBACK__(InitDialog);
722 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
723 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
724 DEC_PYCALLBACK_BOOL_(Validate);
725
726 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
727 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
728 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
729
730 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
731 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
732
733 PYPRIVATE;
734 };
735
736 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
737
738 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
739 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
740 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
741 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
742
743 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
744 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
745 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
746
747 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
748 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
749
750 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
751 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
752 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
753 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
754
755 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
756 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
757 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
758
759 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
760 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
761
762
763
764
765 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
766
767 #include <wx/generic/dragimgg.h>
768
769 #ifdef __cplusplus
770 extern "C" {
771 #endif
772 static int _wrap_ButtonNameStr_set(PyObject *_val) {
773 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
774 return 1;
775 }
776
777
778 static PyObject *_wrap_ButtonNameStr_get() {
779 PyObject *pyobj;
780
781 {
782 #if wxUSE_UNICODE
783 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
784 #else
785 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
786 #endif
787 }
788 return pyobj;
789 }
790
791
792 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
793 PyObject *resultobj;
794 wxWindow *arg1 = (wxWindow *) 0 ;
795 int arg2 ;
796 wxString *arg3 = 0 ;
797 wxPoint const &arg4_defvalue = wxDefaultPosition ;
798 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
799 wxSize const &arg5_defvalue = wxDefaultSize ;
800 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
801 long arg6 = (long) 0 ;
802 wxValidator const &arg7_defvalue = wxDefaultValidator ;
803 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
804 wxString const &arg8_defvalue = wxPyButtonNameStr ;
805 wxString *arg8 = (wxString *) &arg8_defvalue ;
806 wxButton *result;
807 bool temp3 = False ;
808 wxPoint temp4 ;
809 wxSize temp5 ;
810 bool temp8 = False ;
811 PyObject * obj0 = 0 ;
812 PyObject * obj2 = 0 ;
813 PyObject * obj3 = 0 ;
814 PyObject * obj4 = 0 ;
815 PyObject * obj6 = 0 ;
816 PyObject * obj7 = 0 ;
817 char *kwnames[] = {
818 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
819 };
820
821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
823 {
824 arg3 = wxString_in_helper(obj2);
825 if (arg3 == NULL) SWIG_fail;
826 temp3 = True;
827 }
828 if (obj3) {
829 {
830 arg4 = &temp4;
831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
832 }
833 }
834 if (obj4) {
835 {
836 arg5 = &temp5;
837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
838 }
839 }
840 if (obj6) {
841 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
842 if (arg7 == NULL) {
843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
844 }
845 }
846 if (obj7) {
847 {
848 arg8 = wxString_in_helper(obj7);
849 if (arg8 == NULL) SWIG_fail;
850 temp8 = True;
851 }
852 }
853 {
854 PyThreadState* __tstate = wxPyBeginAllowThreads();
855 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
856
857 wxPyEndAllowThreads(__tstate);
858 if (PyErr_Occurred()) SWIG_fail;
859 }
860 {
861 resultobj = wxPyMake_wxObject(result);
862 }
863 {
864 if (temp3)
865 delete arg3;
866 }
867 {
868 if (temp8)
869 delete arg8;
870 }
871 return resultobj;
872 fail:
873 {
874 if (temp3)
875 delete arg3;
876 }
877 {
878 if (temp8)
879 delete arg8;
880 }
881 return NULL;
882 }
883
884
885 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
886 PyObject *resultobj;
887 wxButton *result;
888 char *kwnames[] = {
889 NULL
890 };
891
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
893 {
894 PyThreadState* __tstate = wxPyBeginAllowThreads();
895 result = (wxButton *)new wxButton();
896
897 wxPyEndAllowThreads(__tstate);
898 if (PyErr_Occurred()) SWIG_fail;
899 }
900 {
901 resultobj = wxPyMake_wxObject(result);
902 }
903 return resultobj;
904 fail:
905 return NULL;
906 }
907
908
909 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject *resultobj;
911 wxButton *arg1 = (wxButton *) 0 ;
912 wxWindow *arg2 = (wxWindow *) 0 ;
913 int arg3 ;
914 wxString *arg4 = 0 ;
915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
917 wxSize const &arg6_defvalue = wxDefaultSize ;
918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
919 long arg7 = (long) 0 ;
920 wxValidator const &arg8_defvalue = wxDefaultValidator ;
921 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
922 wxString const &arg9_defvalue = wxPyButtonNameStr ;
923 wxString *arg9 = (wxString *) &arg9_defvalue ;
924 bool result;
925 bool temp4 = False ;
926 wxPoint temp5 ;
927 wxSize temp6 ;
928 bool temp9 = False ;
929 PyObject * obj0 = 0 ;
930 PyObject * obj1 = 0 ;
931 PyObject * obj3 = 0 ;
932 PyObject * obj4 = 0 ;
933 PyObject * obj5 = 0 ;
934 PyObject * obj7 = 0 ;
935 PyObject * obj8 = 0 ;
936 char *kwnames[] = {
937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
938 };
939
940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
943 {
944 arg4 = wxString_in_helper(obj3);
945 if (arg4 == NULL) SWIG_fail;
946 temp4 = True;
947 }
948 if (obj4) {
949 {
950 arg5 = &temp5;
951 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
952 }
953 }
954 if (obj5) {
955 {
956 arg6 = &temp6;
957 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
958 }
959 }
960 if (obj7) {
961 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
962 if (arg8 == NULL) {
963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
964 }
965 }
966 if (obj8) {
967 {
968 arg9 = wxString_in_helper(obj8);
969 if (arg9 == NULL) SWIG_fail;
970 temp9 = True;
971 }
972 }
973 {
974 PyThreadState* __tstate = wxPyBeginAllowThreads();
975 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
976
977 wxPyEndAllowThreads(__tstate);
978 if (PyErr_Occurred()) SWIG_fail;
979 }
980 resultobj = PyInt_FromLong((long)result);
981 {
982 if (temp4)
983 delete arg4;
984 }
985 {
986 if (temp9)
987 delete arg9;
988 }
989 return resultobj;
990 fail:
991 {
992 if (temp4)
993 delete arg4;
994 }
995 {
996 if (temp9)
997 delete arg9;
998 }
999 return NULL;
1000 }
1001
1002
1003 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject *resultobj;
1005 wxButton *arg1 = (wxButton *) 0 ;
1006 PyObject * obj0 = 0 ;
1007 char *kwnames[] = {
1008 (char *) "self", NULL
1009 };
1010
1011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1013 {
1014 PyThreadState* __tstate = wxPyBeginAllowThreads();
1015 (arg1)->SetDefault();
1016
1017 wxPyEndAllowThreads(__tstate);
1018 if (PyErr_Occurred()) SWIG_fail;
1019 }
1020 Py_INCREF(Py_None); resultobj = Py_None;
1021 return resultobj;
1022 fail:
1023 return NULL;
1024 }
1025
1026
1027 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1028 PyObject *resultobj;
1029 wxSize result;
1030 char *kwnames[] = {
1031 NULL
1032 };
1033
1034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1035 {
1036 PyThreadState* __tstate = wxPyBeginAllowThreads();
1037 result = wxButton::GetDefaultSize();
1038
1039 wxPyEndAllowThreads(__tstate);
1040 if (PyErr_Occurred()) SWIG_fail;
1041 }
1042 {
1043 wxSize * resultptr;
1044 resultptr = new wxSize((wxSize &) result);
1045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1046 }
1047 return resultobj;
1048 fail:
1049 return NULL;
1050 }
1051
1052
1053 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1054 PyObject *obj;
1055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1056 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1057 Py_INCREF(obj);
1058 return Py_BuildValue((char *)"");
1059 }
1060 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject *resultobj;
1062 wxWindow *arg1 = (wxWindow *) 0 ;
1063 int arg2 ;
1064 wxBitmap *arg3 = 0 ;
1065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1067 wxSize const &arg5_defvalue = wxDefaultSize ;
1068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1069 long arg6 = (long) wxBU_AUTODRAW ;
1070 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1071 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1072 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1073 wxString *arg8 = (wxString *) &arg8_defvalue ;
1074 wxBitmapButton *result;
1075 wxPoint temp4 ;
1076 wxSize temp5 ;
1077 bool temp8 = False ;
1078 PyObject * obj0 = 0 ;
1079 PyObject * obj2 = 0 ;
1080 PyObject * obj3 = 0 ;
1081 PyObject * obj4 = 0 ;
1082 PyObject * obj6 = 0 ;
1083 PyObject * obj7 = 0 ;
1084 char *kwnames[] = {
1085 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1086 };
1087
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1090 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if (arg3 == NULL) {
1092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1093 }
1094 if (obj3) {
1095 {
1096 arg4 = &temp4;
1097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1098 }
1099 }
1100 if (obj4) {
1101 {
1102 arg5 = &temp5;
1103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1104 }
1105 }
1106 if (obj6) {
1107 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 if (arg7 == NULL) {
1109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1110 }
1111 }
1112 if (obj7) {
1113 {
1114 arg8 = wxString_in_helper(obj7);
1115 if (arg8 == NULL) SWIG_fail;
1116 temp8 = True;
1117 }
1118 }
1119 {
1120 PyThreadState* __tstate = wxPyBeginAllowThreads();
1121 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1122
1123 wxPyEndAllowThreads(__tstate);
1124 if (PyErr_Occurred()) SWIG_fail;
1125 }
1126 {
1127 resultobj = wxPyMake_wxObject(result);
1128 }
1129 {
1130 if (temp8)
1131 delete arg8;
1132 }
1133 return resultobj;
1134 fail:
1135 {
1136 if (temp8)
1137 delete arg8;
1138 }
1139 return NULL;
1140 }
1141
1142
1143 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1144 PyObject *resultobj;
1145 wxBitmapButton *result;
1146 char *kwnames[] = {
1147 NULL
1148 };
1149
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1151 {
1152 PyThreadState* __tstate = wxPyBeginAllowThreads();
1153 result = (wxBitmapButton *)new wxBitmapButton();
1154
1155 wxPyEndAllowThreads(__tstate);
1156 if (PyErr_Occurred()) SWIG_fail;
1157 }
1158 {
1159 resultobj = wxPyMake_wxObject(result);
1160 }
1161 return resultobj;
1162 fail:
1163 return NULL;
1164 }
1165
1166
1167 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1168 PyObject *resultobj;
1169 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1170 wxWindow *arg2 = (wxWindow *) 0 ;
1171 int arg3 ;
1172 wxBitmap *arg4 = 0 ;
1173 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1174 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1175 wxSize const &arg6_defvalue = wxDefaultSize ;
1176 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1177 long arg7 = (long) wxBU_AUTODRAW ;
1178 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1179 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1180 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1181 wxString *arg9 = (wxString *) &arg9_defvalue ;
1182 bool result;
1183 wxPoint temp5 ;
1184 wxSize temp6 ;
1185 bool temp9 = False ;
1186 PyObject * obj0 = 0 ;
1187 PyObject * obj1 = 0 ;
1188 PyObject * obj3 = 0 ;
1189 PyObject * obj4 = 0 ;
1190 PyObject * obj5 = 0 ;
1191 PyObject * obj7 = 0 ;
1192 PyObject * obj8 = 0 ;
1193 char *kwnames[] = {
1194 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1195 };
1196
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1200 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1201 if (arg4 == NULL) {
1202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1203 }
1204 if (obj4) {
1205 {
1206 arg5 = &temp5;
1207 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1208 }
1209 }
1210 if (obj5) {
1211 {
1212 arg6 = &temp6;
1213 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1214 }
1215 }
1216 if (obj7) {
1217 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1218 if (arg8 == NULL) {
1219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1220 }
1221 }
1222 if (obj8) {
1223 {
1224 arg9 = wxString_in_helper(obj8);
1225 if (arg9 == NULL) SWIG_fail;
1226 temp9 = True;
1227 }
1228 }
1229 {
1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
1231 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1232
1233 wxPyEndAllowThreads(__tstate);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 }
1236 resultobj = PyInt_FromLong((long)result);
1237 {
1238 if (temp9)
1239 delete arg9;
1240 }
1241 return resultobj;
1242 fail:
1243 {
1244 if (temp9)
1245 delete arg9;
1246 }
1247 return NULL;
1248 }
1249
1250
1251 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1254 wxBitmap result;
1255 PyObject * obj0 = 0 ;
1256 char *kwnames[] = {
1257 (char *) "self", NULL
1258 };
1259
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1262 {
1263 PyThreadState* __tstate = wxPyBeginAllowThreads();
1264 result = (arg1)->GetBitmapLabel();
1265
1266 wxPyEndAllowThreads(__tstate);
1267 if (PyErr_Occurred()) SWIG_fail;
1268 }
1269 {
1270 wxBitmap * resultptr;
1271 resultptr = new wxBitmap((wxBitmap &) result);
1272 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1273 }
1274 return resultobj;
1275 fail:
1276 return NULL;
1277 }
1278
1279
1280 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1281 PyObject *resultobj;
1282 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1283 wxBitmap result;
1284 PyObject * obj0 = 0 ;
1285 char *kwnames[] = {
1286 (char *) "self", NULL
1287 };
1288
1289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1291 {
1292 PyThreadState* __tstate = wxPyBeginAllowThreads();
1293 result = (arg1)->GetBitmapDisabled();
1294
1295 wxPyEndAllowThreads(__tstate);
1296 if (PyErr_Occurred()) SWIG_fail;
1297 }
1298 {
1299 wxBitmap * resultptr;
1300 resultptr = new wxBitmap((wxBitmap &) result);
1301 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1302 }
1303 return resultobj;
1304 fail:
1305 return NULL;
1306 }
1307
1308
1309 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1310 PyObject *resultobj;
1311 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1312 wxBitmap result;
1313 PyObject * obj0 = 0 ;
1314 char *kwnames[] = {
1315 (char *) "self", NULL
1316 };
1317
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1320 {
1321 PyThreadState* __tstate = wxPyBeginAllowThreads();
1322 result = (arg1)->GetBitmapFocus();
1323
1324 wxPyEndAllowThreads(__tstate);
1325 if (PyErr_Occurred()) SWIG_fail;
1326 }
1327 {
1328 wxBitmap * resultptr;
1329 resultptr = new wxBitmap((wxBitmap &) result);
1330 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1331 }
1332 return resultobj;
1333 fail:
1334 return NULL;
1335 }
1336
1337
1338 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject *resultobj;
1340 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1341 wxBitmap result;
1342 PyObject * obj0 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "self", NULL
1345 };
1346
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1349 {
1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
1351 result = (arg1)->GetBitmapSelected();
1352
1353 wxPyEndAllowThreads(__tstate);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 {
1357 wxBitmap * resultptr;
1358 resultptr = new wxBitmap((wxBitmap &) result);
1359 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1360 }
1361 return resultobj;
1362 fail:
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1370 wxBitmap *arg2 = 0 ;
1371 PyObject * obj0 = 0 ;
1372 PyObject * obj1 = 0 ;
1373 char *kwnames[] = {
1374 (char *) "self",(char *) "bitmap", NULL
1375 };
1376
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 if (arg2 == NULL) {
1381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1382 }
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 Py_INCREF(Py_None); resultobj = Py_None;
1391 return resultobj;
1392 fail:
1393 return NULL;
1394 }
1395
1396
1397 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject *resultobj;
1399 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1400 wxBitmap *arg2 = 0 ;
1401 PyObject * obj0 = 0 ;
1402 PyObject * obj1 = 0 ;
1403 char *kwnames[] = {
1404 (char *) "self",(char *) "bitmap", NULL
1405 };
1406
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1410 if (arg2 == NULL) {
1411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1412 }
1413 {
1414 PyThreadState* __tstate = wxPyBeginAllowThreads();
1415 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1416
1417 wxPyEndAllowThreads(__tstate);
1418 if (PyErr_Occurred()) SWIG_fail;
1419 }
1420 Py_INCREF(Py_None); resultobj = Py_None;
1421 return resultobj;
1422 fail:
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1430 wxBitmap *arg2 = 0 ;
1431 PyObject * obj0 = 0 ;
1432 PyObject * obj1 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self",(char *) "bitmap", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1440 if (arg2 == NULL) {
1441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1442 }
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 Py_INCREF(Py_None); resultobj = Py_None;
1451 return resultobj;
1452 fail:
1453 return NULL;
1454 }
1455
1456
1457 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1460 wxBitmap *arg2 = 0 ;
1461 PyObject * obj0 = 0 ;
1462 PyObject * obj1 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self",(char *) "bitmap", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1470 if (arg2 == NULL) {
1471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1472 }
1473 {
1474 PyThreadState* __tstate = wxPyBeginAllowThreads();
1475 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1476
1477 wxPyEndAllowThreads(__tstate);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 Py_INCREF(Py_None); resultobj = Py_None;
1481 return resultobj;
1482 fail:
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1490 int arg2 ;
1491 int arg3 ;
1492 PyObject * obj0 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "self",(char *) "x",(char *) "y", NULL
1495 };
1496
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499 {
1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
1501 (arg1)->SetMargins(arg2,arg3);
1502
1503 wxPyEndAllowThreads(__tstate);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 Py_INCREF(Py_None); resultobj = Py_None;
1507 return resultobj;
1508 fail:
1509 return NULL;
1510 }
1511
1512
1513 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject *resultobj;
1515 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1516 int result;
1517 PyObject * obj0 = 0 ;
1518 char *kwnames[] = {
1519 (char *) "self", NULL
1520 };
1521
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 resultobj = PyInt_FromLong((long)result);
1532 return resultobj;
1533 fail:
1534 return NULL;
1535 }
1536
1537
1538 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1541 int result;
1542 PyObject * obj0 = 0 ;
1543 char *kwnames[] = {
1544 (char *) "self", NULL
1545 };
1546
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1549 {
1550 PyThreadState* __tstate = wxPyBeginAllowThreads();
1551 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1552
1553 wxPyEndAllowThreads(__tstate);
1554 if (PyErr_Occurred()) SWIG_fail;
1555 }
1556 resultobj = PyInt_FromLong((long)result);
1557 return resultobj;
1558 fail:
1559 return NULL;
1560 }
1561
1562
1563 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1564 PyObject *obj;
1565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1566 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1567 Py_INCREF(obj);
1568 return Py_BuildValue((char *)"");
1569 }
1570 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1571 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1572 return 1;
1573 }
1574
1575
1576 static PyObject *_wrap_CheckBoxNameStr_get() {
1577 PyObject *pyobj;
1578
1579 {
1580 #if wxUSE_UNICODE
1581 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1582 #else
1583 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1584 #endif
1585 }
1586 return pyobj;
1587 }
1588
1589
1590 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxWindow *arg1 = (wxWindow *) 0 ;
1593 int arg2 ;
1594 wxString *arg3 = 0 ;
1595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1597 wxSize const &arg5_defvalue = wxDefaultSize ;
1598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1599 long arg6 = (long) 0 ;
1600 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1601 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1602 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1603 wxString *arg8 = (wxString *) &arg8_defvalue ;
1604 wxCheckBox *result;
1605 bool temp3 = False ;
1606 wxPoint temp4 ;
1607 wxSize temp5 ;
1608 bool temp8 = False ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj2 = 0 ;
1611 PyObject * obj3 = 0 ;
1612 PyObject * obj4 = 0 ;
1613 PyObject * obj6 = 0 ;
1614 PyObject * obj7 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1621 {
1622 arg3 = wxString_in_helper(obj2);
1623 if (arg3 == NULL) SWIG_fail;
1624 temp3 = True;
1625 }
1626 if (obj3) {
1627 {
1628 arg4 = &temp4;
1629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1630 }
1631 }
1632 if (obj4) {
1633 {
1634 arg5 = &temp5;
1635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1636 }
1637 }
1638 if (obj6) {
1639 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1640 if (arg7 == NULL) {
1641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1642 }
1643 }
1644 if (obj7) {
1645 {
1646 arg8 = wxString_in_helper(obj7);
1647 if (arg8 == NULL) SWIG_fail;
1648 temp8 = True;
1649 }
1650 }
1651 {
1652 PyThreadState* __tstate = wxPyBeginAllowThreads();
1653 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1654
1655 wxPyEndAllowThreads(__tstate);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
1658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1659 {
1660 if (temp3)
1661 delete arg3;
1662 }
1663 {
1664 if (temp8)
1665 delete arg8;
1666 }
1667 return resultobj;
1668 fail:
1669 {
1670 if (temp3)
1671 delete arg3;
1672 }
1673 {
1674 if (temp8)
1675 delete arg8;
1676 }
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxCheckBox *result;
1684 char *kwnames[] = {
1685 NULL
1686 };
1687
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (wxCheckBox *)new wxCheckBox();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1697 return resultobj;
1698 fail:
1699 return NULL;
1700 }
1701
1702
1703 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1706 wxWindow *arg2 = (wxWindow *) 0 ;
1707 int arg3 ;
1708 wxString *arg4 = 0 ;
1709 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1710 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1711 wxSize const &arg6_defvalue = wxDefaultSize ;
1712 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1713 long arg7 = (long) 0 ;
1714 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1715 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1716 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1717 wxString *arg9 = (wxString *) &arg9_defvalue ;
1718 bool result;
1719 bool temp4 = False ;
1720 wxPoint temp5 ;
1721 wxSize temp6 ;
1722 bool temp9 = False ;
1723 PyObject * obj0 = 0 ;
1724 PyObject * obj1 = 0 ;
1725 PyObject * obj3 = 0 ;
1726 PyObject * obj4 = 0 ;
1727 PyObject * obj5 = 0 ;
1728 PyObject * obj7 = 0 ;
1729 PyObject * obj8 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1737 {
1738 arg4 = wxString_in_helper(obj3);
1739 if (arg4 == NULL) SWIG_fail;
1740 temp4 = True;
1741 }
1742 if (obj4) {
1743 {
1744 arg5 = &temp5;
1745 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1746 }
1747 }
1748 if (obj5) {
1749 {
1750 arg6 = &temp6;
1751 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1752 }
1753 }
1754 if (obj7) {
1755 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1756 if (arg8 == NULL) {
1757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1758 }
1759 }
1760 if (obj8) {
1761 {
1762 arg9 = wxString_in_helper(obj8);
1763 if (arg9 == NULL) SWIG_fail;
1764 temp9 = True;
1765 }
1766 }
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 resultobj = PyInt_FromLong((long)result);
1775 {
1776 if (temp4)
1777 delete arg4;
1778 }
1779 {
1780 if (temp9)
1781 delete arg9;
1782 }
1783 return resultobj;
1784 fail:
1785 {
1786 if (temp4)
1787 delete arg4;
1788 }
1789 {
1790 if (temp9)
1791 delete arg9;
1792 }
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1800 bool result;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (bool)(arg1)->GetValue();
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 resultobj = PyInt_FromLong((long)result);
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1825 bool result;
1826 PyObject * obj0 = 0 ;
1827 char *kwnames[] = {
1828 (char *) "self", NULL
1829 };
1830
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1833 {
1834 PyThreadState* __tstate = wxPyBeginAllowThreads();
1835 result = (bool)(arg1)->IsChecked();
1836
1837 wxPyEndAllowThreads(__tstate);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 }
1840 resultobj = PyInt_FromLong((long)result);
1841 return resultobj;
1842 fail:
1843 return NULL;
1844 }
1845
1846
1847 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1848 PyObject *resultobj;
1849 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1850 bool arg2 ;
1851 PyObject * obj0 = 0 ;
1852 PyObject * obj1 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self",(char *) "state", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 arg2 = PyInt_AsLong(obj1) ? true : false;
1860 if (PyErr_Occurred()) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 (arg1)->SetValue(arg2);
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 Py_INCREF(Py_None); resultobj = Py_None;
1869 return resultobj;
1870 fail:
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1878 int result;
1879 PyObject * obj0 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 resultobj = PyInt_FromLong((long)result);
1894 return resultobj;
1895 fail:
1896 return NULL;
1897 }
1898
1899
1900 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj;
1902 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1903 int arg2 ;
1904 PyObject * obj0 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self",(char *) "state", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 {
1912 PyThreadState* __tstate = wxPyBeginAllowThreads();
1913 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1914
1915 wxPyEndAllowThreads(__tstate);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 Py_INCREF(Py_None); resultobj = Py_None;
1919 return resultobj;
1920 fail:
1921 return NULL;
1922 }
1923
1924
1925 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1928 bool result;
1929 PyObject * obj0 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 resultobj = PyInt_FromLong((long)result);
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1953 bool result;
1954 PyObject * obj0 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 {
1962 PyThreadState* __tstate = wxPyBeginAllowThreads();
1963 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1964
1965 wxPyEndAllowThreads(__tstate);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 }
1968 resultobj = PyInt_FromLong((long)result);
1969 return resultobj;
1970 fail:
1971 return NULL;
1972 }
1973
1974
1975 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1976 PyObject *obj;
1977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1978 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1979 Py_INCREF(obj);
1980 return Py_BuildValue((char *)"");
1981 }
1982 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
1983 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
1984 return 1;
1985 }
1986
1987
1988 static PyObject *_wrap_ChoiceNameStr_get() {
1989 PyObject *pyobj;
1990
1991 {
1992 #if wxUSE_UNICODE
1993 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1994 #else
1995 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1996 #endif
1997 }
1998 return pyobj;
1999 }
2000
2001
2002 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxWindow *arg1 = (wxWindow *) 0 ;
2005 int arg2 ;
2006 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2007 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2008 wxSize const &arg4_defvalue = wxDefaultSize ;
2009 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2010 int arg5 = (int) 0 ;
2011 wxString *arg6 = (wxString *) NULL ;
2012 long arg7 = (long) 0 ;
2013 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2014 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2015 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2016 wxString *arg9 = (wxString *) &arg9_defvalue ;
2017 wxChoice *result;
2018 wxPoint temp3 ;
2019 wxSize temp4 ;
2020 bool temp8 = False ;
2021 PyObject * obj0 = 0 ;
2022 PyObject * obj2 = 0 ;
2023 PyObject * obj3 = 0 ;
2024 PyObject * obj4 = 0 ;
2025 PyObject * obj6 = 0 ;
2026 PyObject * obj7 = 0 ;
2027 char *kwnames[] = {
2028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2033 if (obj2) {
2034 {
2035 arg3 = &temp3;
2036 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2037 }
2038 }
2039 if (obj3) {
2040 {
2041 arg4 = &temp4;
2042 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2043 }
2044 }
2045 if (obj4) {
2046 {
2047 arg5 = PyList_Size(obj4);
2048 arg6 = wxString_LIST_helper(obj4);
2049 if (arg6 == NULL) SWIG_fail;
2050 }
2051 }
2052 if (obj6) {
2053 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2054 if (arg8 == NULL) {
2055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2056 }
2057 }
2058 if (obj7) {
2059 {
2060 arg9 = wxString_in_helper(obj7);
2061 if (arg9 == NULL) SWIG_fail;
2062 temp8 = True;
2063 }
2064 }
2065 {
2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
2067 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2068
2069 wxPyEndAllowThreads(__tstate);
2070 if (PyErr_Occurred()) SWIG_fail;
2071 }
2072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2073 {
2074 if (arg6) delete [] arg6;
2075 }
2076 {
2077 if (temp8)
2078 delete arg9;
2079 }
2080 return resultobj;
2081 fail:
2082 {
2083 if (arg6) delete [] arg6;
2084 }
2085 {
2086 if (temp8)
2087 delete arg9;
2088 }
2089 return NULL;
2090 }
2091
2092
2093 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject *resultobj;
2095 wxChoice *result;
2096 char *kwnames[] = {
2097 NULL
2098 };
2099
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 result = (wxChoice *)new wxChoice();
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2109 return resultobj;
2110 fail:
2111 return NULL;
2112 }
2113
2114
2115 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2116 PyObject *resultobj;
2117 wxChoice *arg1 = (wxChoice *) 0 ;
2118 wxWindow *arg2 = (wxWindow *) 0 ;
2119 int arg3 ;
2120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2122 wxSize const &arg5_defvalue = wxDefaultSize ;
2123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2124 int arg6 = (int) 0 ;
2125 wxString *arg7 = (wxString *) NULL ;
2126 long arg8 = (long) 0 ;
2127 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2128 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2129 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2130 wxString *arg10 = (wxString *) &arg10_defvalue ;
2131 bool result;
2132 wxPoint temp4 ;
2133 wxSize temp5 ;
2134 bool temp9 = False ;
2135 PyObject * obj0 = 0 ;
2136 PyObject * obj1 = 0 ;
2137 PyObject * obj3 = 0 ;
2138 PyObject * obj4 = 0 ;
2139 PyObject * obj5 = 0 ;
2140 PyObject * obj7 = 0 ;
2141 PyObject * obj8 = 0 ;
2142 char *kwnames[] = {
2143 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2144 };
2145
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2149 if (obj3) {
2150 {
2151 arg4 = &temp4;
2152 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2153 }
2154 }
2155 if (obj4) {
2156 {
2157 arg5 = &temp5;
2158 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2159 }
2160 }
2161 if (obj5) {
2162 {
2163 arg6 = PyList_Size(obj5);
2164 arg7 = wxString_LIST_helper(obj5);
2165 if (arg7 == NULL) SWIG_fail;
2166 }
2167 }
2168 if (obj7) {
2169 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2170 if (arg9 == NULL) {
2171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2172 }
2173 }
2174 if (obj8) {
2175 {
2176 arg10 = wxString_in_helper(obj8);
2177 if (arg10 == NULL) SWIG_fail;
2178 temp9 = True;
2179 }
2180 }
2181 {
2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
2183 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2184
2185 wxPyEndAllowThreads(__tstate);
2186 if (PyErr_Occurred()) SWIG_fail;
2187 }
2188 resultobj = PyInt_FromLong((long)result);
2189 {
2190 if (arg7) delete [] arg7;
2191 }
2192 {
2193 if (temp9)
2194 delete arg10;
2195 }
2196 return resultobj;
2197 fail:
2198 {
2199 if (arg7) delete [] arg7;
2200 }
2201 {
2202 if (temp9)
2203 delete arg10;
2204 }
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxChoice *arg1 = (wxChoice *) 0 ;
2212 int result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (int)(arg1)->GetColumns();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 resultobj = PyInt_FromLong((long)result);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxChoice *arg1 = (wxChoice *) 0 ;
2237 int arg2 = (int) (int)1 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "n", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->SetColumns(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxChoice *arg1 = (wxChoice *) 0 ;
2262 int arg2 ;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self",(char *) "n", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 (arg1)->SetSelection(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 Py_INCREF(Py_None); resultobj = Py_None;
2278 return resultobj;
2279 fail:
2280 return NULL;
2281 }
2282
2283
2284 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxChoice *arg1 = (wxChoice *) 0 ;
2287 wxString *arg2 = 0 ;
2288 bool temp2 = False ;
2289 PyObject * obj0 = 0 ;
2290 PyObject * obj1 = 0 ;
2291 char *kwnames[] = {
2292 (char *) "self",(char *) "string", NULL
2293 };
2294
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2297 {
2298 arg2 = wxString_in_helper(obj1);
2299 if (arg2 == NULL) SWIG_fail;
2300 temp2 = True;
2301 }
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetStringSelection((wxString const &)*arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 {
2311 if (temp2)
2312 delete arg2;
2313 }
2314 return resultobj;
2315 fail:
2316 {
2317 if (temp2)
2318 delete arg2;
2319 }
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 wxChoice *arg1 = (wxChoice *) 0 ;
2327 int arg2 ;
2328 wxString *arg3 = 0 ;
2329 bool temp3 = False ;
2330 PyObject * obj0 = 0 ;
2331 PyObject * obj2 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "self",(char *) "n",(char *) "s", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2338 {
2339 arg3 = wxString_in_helper(obj2);
2340 if (arg3 == NULL) SWIG_fail;
2341 temp3 = True;
2342 }
2343 {
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 (arg1)->SetString(arg2,(wxString const &)*arg3);
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 }
2350 Py_INCREF(Py_None); resultobj = Py_None;
2351 {
2352 if (temp3)
2353 delete arg3;
2354 }
2355 return resultobj;
2356 fail:
2357 {
2358 if (temp3)
2359 delete arg3;
2360 }
2361 return NULL;
2362 }
2363
2364
2365 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2366 PyObject *obj;
2367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2368 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2369 Py_INCREF(obj);
2370 return Py_BuildValue((char *)"");
2371 }
2372 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2373 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2374 return 1;
2375 }
2376
2377
2378 static PyObject *_wrap_ComboBoxNameStr_get() {
2379 PyObject *pyobj;
2380
2381 {
2382 #if wxUSE_UNICODE
2383 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2384 #else
2385 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2386 #endif
2387 }
2388 return pyobj;
2389 }
2390
2391
2392 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2393 PyObject *resultobj;
2394 wxWindow *arg1 = (wxWindow *) 0 ;
2395 int arg2 ;
2396 wxString const &arg3_defvalue = wxPyEmptyString ;
2397 wxString *arg3 = (wxString *) &arg3_defvalue ;
2398 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2399 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2400 wxSize const &arg5_defvalue = wxDefaultSize ;
2401 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2402 int arg6 = (int) 0 ;
2403 wxString *arg7 = (wxString *) NULL ;
2404 long arg8 = (long) 0 ;
2405 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2406 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2407 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2408 wxString *arg10 = (wxString *) &arg10_defvalue ;
2409 wxComboBox *result;
2410 bool temp3 = False ;
2411 wxPoint temp4 ;
2412 wxSize temp5 ;
2413 bool temp9 = False ;
2414 PyObject * obj0 = 0 ;
2415 PyObject * obj2 = 0 ;
2416 PyObject * obj3 = 0 ;
2417 PyObject * obj4 = 0 ;
2418 PyObject * obj5 = 0 ;
2419 PyObject * obj7 = 0 ;
2420 PyObject * obj8 = 0 ;
2421 char *kwnames[] = {
2422 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2423 };
2424
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2427 if (obj2) {
2428 {
2429 arg3 = wxString_in_helper(obj2);
2430 if (arg3 == NULL) SWIG_fail;
2431 temp3 = True;
2432 }
2433 }
2434 if (obj3) {
2435 {
2436 arg4 = &temp4;
2437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2438 }
2439 }
2440 if (obj4) {
2441 {
2442 arg5 = &temp5;
2443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2444 }
2445 }
2446 if (obj5) {
2447 {
2448 arg6 = PyList_Size(obj5);
2449 arg7 = wxString_LIST_helper(obj5);
2450 if (arg7 == NULL) SWIG_fail;
2451 }
2452 }
2453 if (obj7) {
2454 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2455 if (arg9 == NULL) {
2456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2457 }
2458 }
2459 if (obj8) {
2460 {
2461 arg10 = wxString_in_helper(obj8);
2462 if (arg10 == NULL) SWIG_fail;
2463 temp9 = True;
2464 }
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2474 {
2475 if (temp3)
2476 delete arg3;
2477 }
2478 {
2479 if (arg7) delete [] arg7;
2480 }
2481 {
2482 if (temp9)
2483 delete arg10;
2484 }
2485 return resultobj;
2486 fail:
2487 {
2488 if (temp3)
2489 delete arg3;
2490 }
2491 {
2492 if (arg7) delete [] arg7;
2493 }
2494 {
2495 if (temp9)
2496 delete arg10;
2497 }
2498 return NULL;
2499 }
2500
2501
2502 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2503 PyObject *resultobj;
2504 wxComboBox *result;
2505 char *kwnames[] = {
2506 NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 result = (wxComboBox *)new wxComboBox();
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2518 return resultobj;
2519 fail:
2520 return NULL;
2521 }
2522
2523
2524 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxComboBox *arg1 = (wxComboBox *) 0 ;
2527 wxWindow *arg2 = (wxWindow *) 0 ;
2528 int arg3 ;
2529 wxString const &arg4_defvalue = wxPyEmptyString ;
2530 wxString *arg4 = (wxString *) &arg4_defvalue ;
2531 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2532 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2533 wxSize const &arg6_defvalue = wxDefaultSize ;
2534 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2535 int arg7 = (int) 0 ;
2536 wxString *arg8 = (wxString *) NULL ;
2537 long arg9 = (long) 0 ;
2538 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2539 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2540 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2541 wxString *arg11 = (wxString *) &arg11_defvalue ;
2542 bool result;
2543 bool temp4 = False ;
2544 wxPoint temp5 ;
2545 wxSize temp6 ;
2546 bool temp10 = False ;
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 PyObject * obj3 = 0 ;
2550 PyObject * obj4 = 0 ;
2551 PyObject * obj5 = 0 ;
2552 PyObject * obj6 = 0 ;
2553 PyObject * obj8 = 0 ;
2554 PyObject * obj9 = 0 ;
2555 char *kwnames[] = {
2556 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2562 if (obj3) {
2563 {
2564 arg4 = wxString_in_helper(obj3);
2565 if (arg4 == NULL) SWIG_fail;
2566 temp4 = True;
2567 }
2568 }
2569 if (obj4) {
2570 {
2571 arg5 = &temp5;
2572 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2573 }
2574 }
2575 if (obj5) {
2576 {
2577 arg6 = &temp6;
2578 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2579 }
2580 }
2581 if (obj6) {
2582 {
2583 arg7 = PyList_Size(obj6);
2584 arg8 = wxString_LIST_helper(obj6);
2585 if (arg8 == NULL) SWIG_fail;
2586 }
2587 }
2588 if (obj8) {
2589 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2590 if (arg10 == NULL) {
2591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2592 }
2593 }
2594 if (obj9) {
2595 {
2596 arg11 = wxString_in_helper(obj9);
2597 if (arg11 == NULL) SWIG_fail;
2598 temp10 = True;
2599 }
2600 }
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 resultobj = PyInt_FromLong((long)result);
2609 {
2610 if (temp4)
2611 delete arg4;
2612 }
2613 {
2614 if (arg8) delete [] arg8;
2615 }
2616 {
2617 if (temp10)
2618 delete arg11;
2619 }
2620 return resultobj;
2621 fail:
2622 {
2623 if (temp4)
2624 delete arg4;
2625 }
2626 {
2627 if (arg8) delete [] arg8;
2628 }
2629 {
2630 if (temp10)
2631 delete arg11;
2632 }
2633 return NULL;
2634 }
2635
2636
2637 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxComboBox *arg1 = (wxComboBox *) 0 ;
2640 wxString result;
2641 PyObject * obj0 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 result = ((wxComboBox const *)arg1)->GetValue();
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 {
2656 #if wxUSE_UNICODE
2657 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2658 #else
2659 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2660 #endif
2661 }
2662 return resultobj;
2663 fail:
2664 return NULL;
2665 }
2666
2667
2668 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxComboBox *arg1 = (wxComboBox *) 0 ;
2671 wxString *arg2 = 0 ;
2672 bool temp2 = False ;
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "self",(char *) "value", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2681 {
2682 arg2 = wxString_in_helper(obj1);
2683 if (arg2 == NULL) SWIG_fail;
2684 temp2 = True;
2685 }
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 (arg1)->SetValue((wxString const &)*arg2);
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 Py_INCREF(Py_None); resultobj = Py_None;
2694 {
2695 if (temp2)
2696 delete arg2;
2697 }
2698 return resultobj;
2699 fail:
2700 {
2701 if (temp2)
2702 delete arg2;
2703 }
2704 return NULL;
2705 }
2706
2707
2708 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2709 PyObject *resultobj;
2710 wxComboBox *arg1 = (wxComboBox *) 0 ;
2711 PyObject * obj0 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 (arg1)->Copy();
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 Py_INCREF(Py_None); resultobj = Py_None;
2726 return resultobj;
2727 fail:
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxComboBox *arg1 = (wxComboBox *) 0 ;
2735 PyObject * obj0 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 (arg1)->Cut();
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxComboBox *arg1 = (wxComboBox *) 0 ;
2759 PyObject * obj0 = 0 ;
2760 char *kwnames[] = {
2761 (char *) "self", NULL
2762 };
2763
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 (arg1)->Paste();
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 Py_INCREF(Py_None); resultobj = Py_None;
2774 return resultobj;
2775 fail:
2776 return NULL;
2777 }
2778
2779
2780 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2781 PyObject *resultobj;
2782 wxComboBox *arg1 = (wxComboBox *) 0 ;
2783 long arg2 ;
2784 PyObject * obj0 = 0 ;
2785 char *kwnames[] = {
2786 (char *) "self",(char *) "pos", NULL
2787 };
2788
2789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 (arg1)->SetInsertionPoint(arg2);
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 Py_INCREF(Py_None); resultobj = Py_None;
2799 return resultobj;
2800 fail:
2801 return NULL;
2802 }
2803
2804
2805 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2806 PyObject *resultobj;
2807 wxComboBox *arg1 = (wxComboBox *) 0 ;
2808 long result;
2809 PyObject * obj0 = 0 ;
2810 char *kwnames[] = {
2811 (char *) "self", NULL
2812 };
2813
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 resultobj = PyInt_FromLong((long)result);
2824 return resultobj;
2825 fail:
2826 return NULL;
2827 }
2828
2829
2830 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject *resultobj;
2832 wxComboBox *arg1 = (wxComboBox *) 0 ;
2833 long result;
2834 PyObject * obj0 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "self", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 resultobj = PyInt_FromLong((long)result);
2849 return resultobj;
2850 fail:
2851 return NULL;
2852 }
2853
2854
2855 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2856 PyObject *resultobj;
2857 wxComboBox *arg1 = (wxComboBox *) 0 ;
2858 long arg2 ;
2859 long arg3 ;
2860 wxString *arg4 = 0 ;
2861 bool temp4 = False ;
2862 PyObject * obj0 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2870 {
2871 arg4 = wxString_in_helper(obj3);
2872 if (arg4 == NULL) SWIG_fail;
2873 temp4 = True;
2874 }
2875 {
2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
2877 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2878
2879 wxPyEndAllowThreads(__tstate);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 Py_INCREF(Py_None); resultobj = Py_None;
2883 {
2884 if (temp4)
2885 delete arg4;
2886 }
2887 return resultobj;
2888 fail:
2889 {
2890 if (temp4)
2891 delete arg4;
2892 }
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxComboBox *arg1 = (wxComboBox *) 0 ;
2900 int arg2 ;
2901 PyObject * obj0 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self",(char *) "n", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 (arg1)->SetSelection(arg2);
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 Py_INCREF(Py_None); resultobj = Py_None;
2916 return resultobj;
2917 fail:
2918 return NULL;
2919 }
2920
2921
2922 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject *resultobj;
2924 wxComboBox *arg1 = (wxComboBox *) 0 ;
2925 long arg2 ;
2926 long arg3 ;
2927 PyObject * obj0 = 0 ;
2928 char *kwnames[] = {
2929 (char *) "self",(char *) "from",(char *) "to", NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 (arg1)->SetSelection(arg2,arg3);
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 Py_INCREF(Py_None); resultobj = Py_None;
2942 return resultobj;
2943 fail:
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxComboBox *arg1 = (wxComboBox *) 0 ;
2951 bool arg2 ;
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "editable", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2960 arg2 = PyInt_AsLong(obj1) ? true : false;
2961 if (PyErr_Occurred()) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->SetEditable(arg2);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973 }
2974
2975
2976 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxComboBox *arg1 = (wxComboBox *) 0 ;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 (arg1)->SetInsertionPointEnd();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 Py_INCREF(Py_None); resultobj = Py_None;
2994 return resultobj;
2995 fail:
2996 return NULL;
2997 }
2998
2999
3000 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxComboBox *arg1 = (wxComboBox *) 0 ;
3003 long arg2 ;
3004 long arg3 ;
3005 PyObject * obj0 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self",(char *) "from",(char *) "to", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 (arg1)->Remove(arg2,arg3);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 Py_INCREF(Py_None); resultobj = Py_None;
3020 return resultobj;
3021 fail:
3022 return NULL;
3023 }
3024
3025
3026 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3027 PyObject *obj;
3028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3029 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3030 Py_INCREF(obj);
3031 return Py_BuildValue((char *)"");
3032 }
3033 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3034 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3035 return 1;
3036 }
3037
3038
3039 static PyObject *_wrap_GaugeNameStr_get() {
3040 PyObject *pyobj;
3041
3042 {
3043 #if wxUSE_UNICODE
3044 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3045 #else
3046 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3047 #endif
3048 }
3049 return pyobj;
3050 }
3051
3052
3053 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxWindow *arg1 = (wxWindow *) 0 ;
3056 int arg2 ;
3057 int arg3 ;
3058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3060 wxSize const &arg5_defvalue = wxDefaultSize ;
3061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3062 long arg6 = (long) wxGA_HORIZONTAL ;
3063 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3064 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3065 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3066 wxString *arg8 = (wxString *) &arg8_defvalue ;
3067 wxGauge *result;
3068 wxPoint temp4 ;
3069 wxSize temp5 ;
3070 bool temp8 = False ;
3071 PyObject * obj0 = 0 ;
3072 PyObject * obj3 = 0 ;
3073 PyObject * obj4 = 0 ;
3074 PyObject * obj6 = 0 ;
3075 PyObject * obj7 = 0 ;
3076 char *kwnames[] = {
3077 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3082 if (obj3) {
3083 {
3084 arg4 = &temp4;
3085 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3086 }
3087 }
3088 if (obj4) {
3089 {
3090 arg5 = &temp5;
3091 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3092 }
3093 }
3094 if (obj6) {
3095 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3096 if (arg7 == NULL) {
3097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3098 }
3099 }
3100 if (obj7) {
3101 {
3102 arg8 = wxString_in_helper(obj7);
3103 if (arg8 == NULL) SWIG_fail;
3104 temp8 = True;
3105 }
3106 }
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) SWIG_fail;
3113 }
3114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3115 {
3116 if (temp8)
3117 delete arg8;
3118 }
3119 return resultobj;
3120 fail:
3121 {
3122 if (temp8)
3123 delete arg8;
3124 }
3125 return NULL;
3126 }
3127
3128
3129 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxGauge *result;
3132 char *kwnames[] = {
3133 NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 result = (wxGauge *)new wxGauge();
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3145 return resultobj;
3146 fail:
3147 return NULL;
3148 }
3149
3150
3151 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxGauge *arg1 = (wxGauge *) 0 ;
3154 wxWindow *arg2 = (wxWindow *) 0 ;
3155 int arg3 ;
3156 int arg4 ;
3157 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3158 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3159 wxSize const &arg6_defvalue = wxDefaultSize ;
3160 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3161 long arg7 = (long) wxGA_HORIZONTAL ;
3162 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3163 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3164 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3165 wxString *arg9 = (wxString *) &arg9_defvalue ;
3166 bool result;
3167 wxPoint temp5 ;
3168 wxSize temp6 ;
3169 bool temp9 = False ;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 PyObject * obj4 = 0 ;
3173 PyObject * obj5 = 0 ;
3174 PyObject * obj7 = 0 ;
3175 PyObject * obj8 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 if (obj4) {
3184 {
3185 arg5 = &temp5;
3186 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3187 }
3188 }
3189 if (obj5) {
3190 {
3191 arg6 = &temp6;
3192 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3193 }
3194 }
3195 if (obj7) {
3196 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 if (arg8 == NULL) {
3198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3199 }
3200 }
3201 if (obj8) {
3202 {
3203 arg9 = wxString_in_helper(obj8);
3204 if (arg9 == NULL) SWIG_fail;
3205 temp9 = True;
3206 }
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 resultobj = PyInt_FromLong((long)result);
3216 {
3217 if (temp9)
3218 delete arg9;
3219 }
3220 return resultobj;
3221 fail:
3222 {
3223 if (temp9)
3224 delete arg9;
3225 }
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 wxGauge *arg1 = (wxGauge *) 0 ;
3233 int arg2 ;
3234 PyObject * obj0 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "range", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 (arg1)->SetRange(arg2);
3244
3245 wxPyEndAllowThreads(__tstate);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
3248 Py_INCREF(Py_None); resultobj = Py_None;
3249 return resultobj;
3250 fail:
3251 return NULL;
3252 }
3253
3254
3255 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj;
3257 wxGauge *arg1 = (wxGauge *) 0 ;
3258 int result;
3259 PyObject * obj0 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "self", NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 result = (int)((wxGauge const *)arg1)->GetRange();
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 resultobj = PyInt_FromLong((long)result);
3274 return resultobj;
3275 fail:
3276 return NULL;
3277 }
3278
3279
3280 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 wxGauge *arg1 = (wxGauge *) 0 ;
3283 int arg2 ;
3284 PyObject * obj0 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self",(char *) "pos", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 (arg1)->SetValue(arg2);
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
3298 Py_INCREF(Py_None); resultobj = Py_None;
3299 return resultobj;
3300 fail:
3301 return NULL;
3302 }
3303
3304
3305 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxGauge *arg1 = (wxGauge *) 0 ;
3308 int result;
3309 PyObject * obj0 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (int)((wxGauge const *)arg1)->GetValue();
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 resultobj = PyInt_FromLong((long)result);
3324 return resultobj;
3325 fail:
3326 return NULL;
3327 }
3328
3329
3330 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxGauge *arg1 = (wxGauge *) 0 ;
3333 bool result;
3334 PyObject * obj0 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 result = (bool)((wxGauge const *)arg1)->IsVertical();
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 resultobj = PyInt_FromLong((long)result);
3349 return resultobj;
3350 fail:
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj;
3357 wxGauge *arg1 = (wxGauge *) 0 ;
3358 int arg2 ;
3359 PyObject * obj0 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "w", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 (arg1)->SetShadowWidth(arg2);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 Py_INCREF(Py_None); resultobj = Py_None;
3374 return resultobj;
3375 fail:
3376 return NULL;
3377 }
3378
3379
3380 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject *resultobj;
3382 wxGauge *arg1 = (wxGauge *) 0 ;
3383 int result;
3384 PyObject * obj0 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 resultobj = PyInt_FromLong((long)result);
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxGauge *arg1 = (wxGauge *) 0 ;
3408 int arg2 ;
3409 PyObject * obj0 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self",(char *) "w", NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 (arg1)->SetBezelFace(arg2);
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 Py_INCREF(Py_None); resultobj = Py_None;
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxGauge *arg1 = (wxGauge *) 0 ;
3433 int result;
3434 PyObject * obj0 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 resultobj = PyInt_FromLong((long)result);
3449 return resultobj;
3450 fail:
3451 return NULL;
3452 }
3453
3454
3455 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3456 PyObject *obj;
3457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3458 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3459 Py_INCREF(obj);
3460 return Py_BuildValue((char *)"");
3461 }
3462 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3463 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3464 return 1;
3465 }
3466
3467
3468 static PyObject *_wrap_StaticBitmapNameStr_get() {
3469 PyObject *pyobj;
3470
3471 {
3472 #if wxUSE_UNICODE
3473 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3474 #else
3475 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3476 #endif
3477 }
3478 return pyobj;
3479 }
3480
3481
3482 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3483 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3484 return 1;
3485 }
3486
3487
3488 static PyObject *_wrap_StaticBoxNameStr_get() {
3489 PyObject *pyobj;
3490
3491 {
3492 #if wxUSE_UNICODE
3493 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3494 #else
3495 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3496 #endif
3497 }
3498 return pyobj;
3499 }
3500
3501
3502 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3503 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3504 return 1;
3505 }
3506
3507
3508 static PyObject *_wrap_StaticTextNameStr_get() {
3509 PyObject *pyobj;
3510
3511 {
3512 #if wxUSE_UNICODE
3513 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3514 #else
3515 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3516 #endif
3517 }
3518 return pyobj;
3519 }
3520
3521
3522 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj;
3524 wxWindow *arg1 = (wxWindow *) 0 ;
3525 int arg2 ;
3526 wxString *arg3 = 0 ;
3527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3529 wxSize const &arg5_defvalue = wxDefaultSize ;
3530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3531 long arg6 = (long) 0 ;
3532 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3533 wxString *arg7 = (wxString *) &arg7_defvalue ;
3534 wxStaticBox *result;
3535 bool temp3 = False ;
3536 wxPoint temp4 ;
3537 wxSize temp5 ;
3538 bool temp7 = False ;
3539 PyObject * obj0 = 0 ;
3540 PyObject * obj2 = 0 ;
3541 PyObject * obj3 = 0 ;
3542 PyObject * obj4 = 0 ;
3543 PyObject * obj6 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3550 {
3551 arg3 = wxString_in_helper(obj2);
3552 if (arg3 == NULL) SWIG_fail;
3553 temp3 = True;
3554 }
3555 if (obj3) {
3556 {
3557 arg4 = &temp4;
3558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3559 }
3560 }
3561 if (obj4) {
3562 {
3563 arg5 = &temp5;
3564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3565 }
3566 }
3567 if (obj6) {
3568 {
3569 arg7 = wxString_in_helper(obj6);
3570 if (arg7 == NULL) SWIG_fail;
3571 temp7 = True;
3572 }
3573 }
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 {
3582 resultobj = wxPyMake_wxObject(result);
3583 }
3584 {
3585 if (temp3)
3586 delete arg3;
3587 }
3588 {
3589 if (temp7)
3590 delete arg7;
3591 }
3592 return resultobj;
3593 fail:
3594 {
3595 if (temp3)
3596 delete arg3;
3597 }
3598 {
3599 if (temp7)
3600 delete arg7;
3601 }
3602 return NULL;
3603 }
3604
3605
3606 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj;
3608 wxStaticBox *result;
3609 char *kwnames[] = {
3610 NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 result = (wxStaticBox *)new wxStaticBox();
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 {
3622 resultobj = wxPyMake_wxObject(result);
3623 }
3624 return resultobj;
3625 fail:
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3633 wxWindow *arg2 = (wxWindow *) 0 ;
3634 int arg3 ;
3635 wxString *arg4 = 0 ;
3636 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3637 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3638 wxSize const &arg6_defvalue = wxDefaultSize ;
3639 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3640 long arg7 = (long) 0 ;
3641 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3642 wxString *arg8 = (wxString *) &arg8_defvalue ;
3643 bool result;
3644 bool temp4 = False ;
3645 wxPoint temp5 ;
3646 wxSize temp6 ;
3647 bool temp8 = False ;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 PyObject * obj3 = 0 ;
3651 PyObject * obj4 = 0 ;
3652 PyObject * obj5 = 0 ;
3653 PyObject * obj7 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3661 {
3662 arg4 = wxString_in_helper(obj3);
3663 if (arg4 == NULL) SWIG_fail;
3664 temp4 = True;
3665 }
3666 if (obj4) {
3667 {
3668 arg5 = &temp5;
3669 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3670 }
3671 }
3672 if (obj5) {
3673 {
3674 arg6 = &temp6;
3675 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3676 }
3677 }
3678 if (obj7) {
3679 {
3680 arg8 = wxString_in_helper(obj7);
3681 if (arg8 == NULL) SWIG_fail;
3682 temp8 = True;
3683 }
3684 }
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 resultobj = PyInt_FromLong((long)result);
3693 {
3694 if (temp4)
3695 delete arg4;
3696 }
3697 {
3698 if (temp8)
3699 delete arg8;
3700 }
3701 return resultobj;
3702 fail:
3703 {
3704 if (temp4)
3705 delete arg4;
3706 }
3707 {
3708 if (temp8)
3709 delete arg8;
3710 }
3711 return NULL;
3712 }
3713
3714
3715 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3716 PyObject *obj;
3717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3718 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3719 Py_INCREF(obj);
3720 return Py_BuildValue((char *)"");
3721 }
3722 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3723 PyObject *resultobj;
3724 wxWindow *arg1 = (wxWindow *) 0 ;
3725 int arg2 ;
3726 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3727 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3728 wxSize const &arg4_defvalue = wxDefaultSize ;
3729 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3730 long arg5 = (long) wxLI_HORIZONTAL ;
3731 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3732 wxString *arg6 = (wxString *) &arg6_defvalue ;
3733 wxStaticLine *result;
3734 wxPoint temp3 ;
3735 wxSize temp4 ;
3736 bool temp6 = False ;
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj2 = 0 ;
3739 PyObject * obj3 = 0 ;
3740 PyObject * obj5 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3747 if (obj2) {
3748 {
3749 arg3 = &temp3;
3750 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3751 }
3752 }
3753 if (obj3) {
3754 {
3755 arg4 = &temp4;
3756 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3757 }
3758 }
3759 if (obj5) {
3760 {
3761 arg6 = wxString_in_helper(obj5);
3762 if (arg6 == NULL) SWIG_fail;
3763 temp6 = True;
3764 }
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3774 {
3775 if (temp6)
3776 delete arg6;
3777 }
3778 return resultobj;
3779 fail:
3780 {
3781 if (temp6)
3782 delete arg6;
3783 }
3784 return NULL;
3785 }
3786
3787
3788 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj;
3790 wxStaticLine *result;
3791 char *kwnames[] = {
3792 NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 result = (wxStaticLine *)new wxStaticLine();
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3804 return resultobj;
3805 fail:
3806 return NULL;
3807 }
3808
3809
3810 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3813 wxWindow *arg2 = (wxWindow *) 0 ;
3814 int arg3 ;
3815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3817 wxSize const &arg5_defvalue = wxDefaultSize ;
3818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3819 long arg6 = (long) wxLI_HORIZONTAL ;
3820 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3821 wxString *arg7 = (wxString *) &arg7_defvalue ;
3822 bool result;
3823 wxPoint temp4 ;
3824 wxSize temp5 ;
3825 bool temp7 = False ;
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj1 = 0 ;
3828 PyObject * obj3 = 0 ;
3829 PyObject * obj4 = 0 ;
3830 PyObject * obj6 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3838 if (obj3) {
3839 {
3840 arg4 = &temp4;
3841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3842 }
3843 }
3844 if (obj4) {
3845 {
3846 arg5 = &temp5;
3847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3848 }
3849 }
3850 if (obj6) {
3851 {
3852 arg7 = wxString_in_helper(obj6);
3853 if (arg7 == NULL) SWIG_fail;
3854 temp7 = True;
3855 }
3856 }
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = PyInt_FromLong((long)result);
3865 {
3866 if (temp7)
3867 delete arg7;
3868 }
3869 return resultobj;
3870 fail:
3871 {
3872 if (temp7)
3873 delete arg7;
3874 }
3875 return NULL;
3876 }
3877
3878
3879 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj;
3881 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3882 bool result;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "self", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3890 {
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3893
3894 wxPyEndAllowThreads(__tstate);
3895 if (PyErr_Occurred()) SWIG_fail;
3896 }
3897 resultobj = PyInt_FromLong((long)result);
3898 return resultobj;
3899 fail:
3900 return NULL;
3901 }
3902
3903
3904 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject *resultobj;
3906 int result;
3907 char *kwnames[] = {
3908 NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (int)wxStaticLine::GetDefaultSize();
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 resultobj = PyInt_FromLong((long)result);
3920 return resultobj;
3921 fail:
3922 return NULL;
3923 }
3924
3925
3926 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3927 PyObject *obj;
3928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3930 Py_INCREF(obj);
3931 return Py_BuildValue((char *)"");
3932 }
3933 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxWindow *arg1 = (wxWindow *) 0 ;
3936 int arg2 ;
3937 wxString *arg3 = 0 ;
3938 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3939 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3940 wxSize const &arg5_defvalue = wxDefaultSize ;
3941 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3942 long arg6 = (long) 0 ;
3943 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3944 wxString *arg7 = (wxString *) &arg7_defvalue ;
3945 wxStaticText *result;
3946 bool temp3 = False ;
3947 wxPoint temp4 ;
3948 wxSize temp5 ;
3949 bool temp7 = False ;
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj2 = 0 ;
3952 PyObject * obj3 = 0 ;
3953 PyObject * obj4 = 0 ;
3954 PyObject * obj6 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3961 {
3962 arg3 = wxString_in_helper(obj2);
3963 if (arg3 == NULL) SWIG_fail;
3964 temp3 = True;
3965 }
3966 if (obj3) {
3967 {
3968 arg4 = &temp4;
3969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3970 }
3971 }
3972 if (obj4) {
3973 {
3974 arg5 = &temp5;
3975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3976 }
3977 }
3978 if (obj6) {
3979 {
3980 arg7 = wxString_in_helper(obj6);
3981 if (arg7 == NULL) SWIG_fail;
3982 temp7 = True;
3983 }
3984 }
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3993 {
3994 if (temp3)
3995 delete arg3;
3996 }
3997 {
3998 if (temp7)
3999 delete arg7;
4000 }
4001 return resultobj;
4002 fail:
4003 {
4004 if (temp3)
4005 delete arg3;
4006 }
4007 {
4008 if (temp7)
4009 delete arg7;
4010 }
4011 return NULL;
4012 }
4013
4014
4015 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject *resultobj;
4017 wxStaticText *result;
4018 char *kwnames[] = {
4019 NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (wxStaticText *)new wxStaticText();
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4031 return resultobj;
4032 fail:
4033 return NULL;
4034 }
4035
4036
4037 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxStaticText *arg1 = (wxStaticText *) 0 ;
4040 wxWindow *arg2 = (wxWindow *) 0 ;
4041 int arg3 ;
4042 wxString *arg4 = 0 ;
4043 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4044 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4045 wxSize const &arg6_defvalue = wxDefaultSize ;
4046 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4047 long arg7 = (long) 0 ;
4048 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4049 wxString *arg8 = (wxString *) &arg8_defvalue ;
4050 bool result;
4051 bool temp4 = False ;
4052 wxPoint temp5 ;
4053 wxSize temp6 ;
4054 bool temp8 = False ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 PyObject * obj7 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4068 {
4069 arg4 = wxString_in_helper(obj3);
4070 if (arg4 == NULL) SWIG_fail;
4071 temp4 = True;
4072 }
4073 if (obj4) {
4074 {
4075 arg5 = &temp5;
4076 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4077 }
4078 }
4079 if (obj5) {
4080 {
4081 arg6 = &temp6;
4082 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4083 }
4084 }
4085 if (obj7) {
4086 {
4087 arg8 = wxString_in_helper(obj7);
4088 if (arg8 == NULL) SWIG_fail;
4089 temp8 = True;
4090 }
4091 }
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 resultobj = PyInt_FromLong((long)result);
4100 {
4101 if (temp4)
4102 delete arg4;
4103 }
4104 {
4105 if (temp8)
4106 delete arg8;
4107 }
4108 return resultobj;
4109 fail:
4110 {
4111 if (temp4)
4112 delete arg4;
4113 }
4114 {
4115 if (temp8)
4116 delete arg8;
4117 }
4118 return NULL;
4119 }
4120
4121
4122 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4123 PyObject *obj;
4124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4125 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4126 Py_INCREF(obj);
4127 return Py_BuildValue((char *)"");
4128 }
4129 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj;
4131 wxWindow *arg1 = (wxWindow *) 0 ;
4132 int arg2 ;
4133 wxBitmap *arg3 = 0 ;
4134 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4135 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4136 wxSize const &arg5_defvalue = wxDefaultSize ;
4137 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4138 long arg6 = (long) 0 ;
4139 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4140 wxString *arg7 = (wxString *) &arg7_defvalue ;
4141 wxStaticBitmap *result;
4142 wxPoint temp4 ;
4143 wxSize temp5 ;
4144 bool temp7 = False ;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj2 = 0 ;
4147 PyObject * obj3 = 0 ;
4148 PyObject * obj4 = 0 ;
4149 PyObject * obj6 = 0 ;
4150 char *kwnames[] = {
4151 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4152 };
4153
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4156 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4157 if (arg3 == NULL) {
4158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4159 }
4160 if (obj3) {
4161 {
4162 arg4 = &temp4;
4163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4164 }
4165 }
4166 if (obj4) {
4167 {
4168 arg5 = &temp5;
4169 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4170 }
4171 }
4172 if (obj6) {
4173 {
4174 arg7 = wxString_in_helper(obj6);
4175 if (arg7 == NULL) SWIG_fail;
4176 temp7 = True;
4177 }
4178 }
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4187 {
4188 if (temp7)
4189 delete arg7;
4190 }
4191 return resultobj;
4192 fail:
4193 {
4194 if (temp7)
4195 delete arg7;
4196 }
4197 return NULL;
4198 }
4199
4200
4201 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 wxStaticBitmap *result;
4204 char *kwnames[] = {
4205 NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 result = (wxStaticBitmap *)new wxStaticBitmap();
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4217 return resultobj;
4218 fail:
4219 return NULL;
4220 }
4221
4222
4223 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4226 wxWindow *arg2 = (wxWindow *) 0 ;
4227 int arg3 ;
4228 wxBitmap *arg4 = 0 ;
4229 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4230 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4231 wxSize const &arg6_defvalue = wxDefaultSize ;
4232 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4233 long arg7 = (long) 0 ;
4234 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4235 wxString *arg8 = (wxString *) &arg8_defvalue ;
4236 bool result;
4237 wxPoint temp5 ;
4238 wxSize temp6 ;
4239 bool temp8 = False ;
4240 PyObject * obj0 = 0 ;
4241 PyObject * obj1 = 0 ;
4242 PyObject * obj3 = 0 ;
4243 PyObject * obj4 = 0 ;
4244 PyObject * obj5 = 0 ;
4245 PyObject * obj7 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4254 if (arg4 == NULL) {
4255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4256 }
4257 if (obj4) {
4258 {
4259 arg5 = &temp5;
4260 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4261 }
4262 }
4263 if (obj5) {
4264 {
4265 arg6 = &temp6;
4266 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4267 }
4268 }
4269 if (obj7) {
4270 {
4271 arg8 = wxString_in_helper(obj7);
4272 if (arg8 == NULL) SWIG_fail;
4273 temp8 = True;
4274 }
4275 }
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 resultobj = PyInt_FromLong((long)result);
4284 {
4285 if (temp8)
4286 delete arg8;
4287 }
4288 return resultobj;
4289 fail:
4290 {
4291 if (temp8)
4292 delete arg8;
4293 }
4294 return NULL;
4295 }
4296
4297
4298 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4301 wxBitmap result;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 result = (arg1)->GetBitmap();
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 {
4317 wxBitmap * resultptr;
4318 resultptr = new wxBitmap((wxBitmap &) result);
4319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4320 }
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject *resultobj;
4329 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4330 wxBitmap *arg2 = 0 ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333 char *kwnames[] = {
4334 (char *) "self",(char *) "bitmap", NULL
4335 };
4336
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4340 if (arg2 == NULL) {
4341 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 Py_INCREF(Py_None); resultobj = Py_None;
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4360 wxIcon *arg2 = 0 ;
4361 PyObject * obj0 = 0 ;
4362 PyObject * obj1 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self",(char *) "icon", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if (arg2 == NULL) {
4371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4372 }
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetIcon((wxIcon const &)*arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 Py_INCREF(Py_None); resultobj = Py_None;
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4388 PyObject *obj;
4389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4390 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4391 Py_INCREF(obj);
4392 return Py_BuildValue((char *)"");
4393 }
4394 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4395 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4396 return 1;
4397 }
4398
4399
4400 static PyObject *_wrap_ListBoxNameStr_get() {
4401 PyObject *pyobj;
4402
4403 {
4404 #if wxUSE_UNICODE
4405 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4406 #else
4407 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4408 #endif
4409 }
4410 return pyobj;
4411 }
4412
4413
4414 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxWindow *arg1 = (wxWindow *) 0 ;
4417 int arg2 ;
4418 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4419 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4420 wxSize const &arg4_defvalue = wxDefaultSize ;
4421 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4422 int arg5 = (int) 0 ;
4423 wxString *arg6 = (wxString *) NULL ;
4424 long arg7 = (long) 0 ;
4425 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4426 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4427 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4428 wxString *arg9 = (wxString *) &arg9_defvalue ;
4429 wxListBox *result;
4430 wxPoint temp3 ;
4431 wxSize temp4 ;
4432 bool temp8 = False ;
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 PyObject * obj3 = 0 ;
4436 PyObject * obj4 = 0 ;
4437 PyObject * obj6 = 0 ;
4438 PyObject * obj7 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4445 if (obj2) {
4446 {
4447 arg3 = &temp3;
4448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4449 }
4450 }
4451 if (obj3) {
4452 {
4453 arg4 = &temp4;
4454 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4455 }
4456 }
4457 if (obj4) {
4458 {
4459 arg5 = PyList_Size(obj4);
4460 arg6 = wxString_LIST_helper(obj4);
4461 if (arg6 == NULL) SWIG_fail;
4462 }
4463 }
4464 if (obj6) {
4465 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4466 if (arg8 == NULL) {
4467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4468 }
4469 }
4470 if (obj7) {
4471 {
4472 arg9 = wxString_in_helper(obj7);
4473 if (arg9 == NULL) SWIG_fail;
4474 temp8 = True;
4475 }
4476 }
4477 {
4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4479 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4480
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 }
4484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4485 {
4486 if (arg6) delete [] arg6;
4487 }
4488 {
4489 if (temp8)
4490 delete arg9;
4491 }
4492 return resultobj;
4493 fail:
4494 {
4495 if (arg6) delete [] arg6;
4496 }
4497 {
4498 if (temp8)
4499 delete arg9;
4500 }
4501 return NULL;
4502 }
4503
4504
4505 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4506 PyObject *resultobj;
4507 wxListBox *result;
4508 char *kwnames[] = {
4509 NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (wxListBox *)new wxListBox();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxListBox *arg1 = (wxListBox *) 0 ;
4530 wxWindow *arg2 = (wxWindow *) 0 ;
4531 int arg3 ;
4532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4534 wxSize const &arg5_defvalue = wxDefaultSize ;
4535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4536 int arg6 = (int) 0 ;
4537 wxString *arg7 = (wxString *) NULL ;
4538 long arg8 = (long) 0 ;
4539 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4540 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4541 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4542 wxString *arg10 = (wxString *) &arg10_defvalue ;
4543 bool result;
4544 wxPoint temp4 ;
4545 wxSize temp5 ;
4546 bool temp9 = False ;
4547 PyObject * obj0 = 0 ;
4548 PyObject * obj1 = 0 ;
4549 PyObject * obj3 = 0 ;
4550 PyObject * obj4 = 0 ;
4551 PyObject * obj5 = 0 ;
4552 PyObject * obj7 = 0 ;
4553 PyObject * obj8 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4561 if (obj3) {
4562 {
4563 arg4 = &temp4;
4564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4565 }
4566 }
4567 if (obj4) {
4568 {
4569 arg5 = &temp5;
4570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4571 }
4572 }
4573 if (obj5) {
4574 {
4575 arg6 = PyList_Size(obj5);
4576 arg7 = wxString_LIST_helper(obj5);
4577 if (arg7 == NULL) SWIG_fail;
4578 }
4579 }
4580 if (obj7) {
4581 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 if (arg9 == NULL) {
4583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4584 }
4585 }
4586 if (obj8) {
4587 {
4588 arg10 = wxString_in_helper(obj8);
4589 if (arg10 == NULL) SWIG_fail;
4590 temp9 = True;
4591 }
4592 }
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 resultobj = PyInt_FromLong((long)result);
4601 {
4602 if (arg7) delete [] arg7;
4603 }
4604 {
4605 if (temp9)
4606 delete arg10;
4607 }
4608 return resultobj;
4609 fail:
4610 {
4611 if (arg7) delete [] arg7;
4612 }
4613 {
4614 if (temp9)
4615 delete arg10;
4616 }
4617 return NULL;
4618 }
4619
4620
4621 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxListBox *arg1 = (wxListBox *) 0 ;
4624 wxString *arg2 = 0 ;
4625 int arg3 ;
4626 PyObject *arg4 = (PyObject *) NULL ;
4627 bool temp2 = False ;
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 PyObject * obj3 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 {
4638 arg2 = wxString_in_helper(obj1);
4639 if (arg2 == NULL) SWIG_fail;
4640 temp2 = True;
4641 }
4642 if (obj3) {
4643 arg4 = obj3;
4644 }
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 Py_INCREF(Py_None); resultobj = Py_None;
4653 {
4654 if (temp2)
4655 delete arg2;
4656 }
4657 return resultobj;
4658 fail:
4659 {
4660 if (temp2)
4661 delete arg2;
4662 }
4663 return NULL;
4664 }
4665
4666
4667 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj;
4669 wxListBox *arg1 = (wxListBox *) 0 ;
4670 wxArrayString *arg2 = 0 ;
4671 int arg3 ;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "items",(char *) "pos", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4680 {
4681 if (! PySequence_Check(obj1)) {
4682 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4683 SWIG_fail;
4684 }
4685 arg2 = new wxArrayString;
4686 int i, len=PySequence_Length(obj1);
4687 for (i=0; i<len; i++) {
4688 PyObject* item = PySequence_GetItem(obj1, i);
4689 #if wxUSE_UNICODE
4690 PyObject* str = PyObject_Unicode(item);
4691 #else
4692 PyObject* str = PyObject_Str(item);
4693 #endif
4694 arg2->Add(Py2wxString(str));
4695 Py_DECREF(item);
4696 Py_DECREF(str);
4697 }
4698 }
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 Py_INCREF(Py_None); resultobj = Py_None;
4707 {
4708 if (arg2) delete arg2;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (arg2) delete arg2;
4714 }
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxListBox *arg1 = (wxListBox *) 0 ;
4722 wxArrayString *arg2 = 0 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "items", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 {
4732 if (! PySequence_Check(obj1)) {
4733 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4734 SWIG_fail;
4735 }
4736 arg2 = new wxArrayString;
4737 int i, len=PySequence_Length(obj1);
4738 for (i=0; i<len; i++) {
4739 PyObject* item = PySequence_GetItem(obj1, i);
4740 #if wxUSE_UNICODE
4741 PyObject* str = PyObject_Unicode(item);
4742 #else
4743 PyObject* str = PyObject_Str(item);
4744 #endif
4745 arg2->Add(Py2wxString(str));
4746 Py_DECREF(item);
4747 Py_DECREF(str);
4748 }
4749 }
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 (arg1)->Set((wxArrayString const &)*arg2);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 Py_INCREF(Py_None); resultobj = Py_None;
4758 {
4759 if (arg2) delete arg2;
4760 }
4761 return resultobj;
4762 fail:
4763 {
4764 if (arg2) delete arg2;
4765 }
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxListBox *arg1 = (wxListBox *) 0 ;
4773 int arg2 ;
4774 bool result;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self",(char *) "n", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 resultobj = PyInt_FromLong((long)result);
4790 return resultobj;
4791 fail:
4792 return NULL;
4793 }
4794
4795
4796 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxListBox *arg1 = (wxListBox *) 0 ;
4799 int arg2 ;
4800 bool arg3 = (bool) True ;
4801 PyObject * obj0 = 0 ;
4802 PyObject * obj2 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "n",(char *) "select", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 if (obj2) {
4810 arg3 = PyInt_AsLong(obj2) ? true : false;
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 (arg1)->SetSelection(arg2,arg3);
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 Py_INCREF(Py_None); resultobj = Py_None;
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxListBox *arg1 = (wxListBox *) 0 ;
4830 int arg2 ;
4831 PyObject * obj0 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self",(char *) "n", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 (arg1)->Select(arg2);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 Py_INCREF(Py_None); resultobj = Py_None;
4846 return resultobj;
4847 fail:
4848 return NULL;
4849 }
4850
4851
4852 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxListBox *arg1 = (wxListBox *) 0 ;
4855 int arg2 ;
4856 PyObject * obj0 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self",(char *) "n", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 (arg1)->Deselect(arg2);
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 Py_INCREF(Py_None); resultobj = Py_None;
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4878 PyObject *resultobj;
4879 wxListBox *arg1 = (wxListBox *) 0 ;
4880 int arg2 = (int) -1 ;
4881 PyObject * obj0 = 0 ;
4882 char *kwnames[] = {
4883 (char *) "self",(char *) "itemToLeaveSelected", NULL
4884 };
4885
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 (arg1)->DeselectAll(arg2);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 Py_INCREF(Py_None); resultobj = Py_None;
4896 return resultobj;
4897 fail:
4898 return NULL;
4899 }
4900
4901
4902 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj;
4904 wxListBox *arg1 = (wxListBox *) 0 ;
4905 wxString *arg2 = 0 ;
4906 bool arg3 = (bool) True ;
4907 bool result;
4908 bool temp2 = False ;
4909 PyObject * obj0 = 0 ;
4910 PyObject * obj1 = 0 ;
4911 PyObject * obj2 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self",(char *) "s",(char *) "select", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4918 {
4919 arg2 = wxString_in_helper(obj1);
4920 if (arg2 == NULL) SWIG_fail;
4921 temp2 = True;
4922 }
4923 if (obj2) {
4924 arg3 = PyInt_AsLong(obj2) ? true : false;
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 resultobj = PyInt_FromLong((long)result);
4935 {
4936 if (temp2)
4937 delete arg2;
4938 }
4939 return resultobj;
4940 fail:
4941 {
4942 if (temp2)
4943 delete arg2;
4944 }
4945 return NULL;
4946 }
4947
4948
4949 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxListBox *arg1 = (wxListBox *) 0 ;
4952 PyObject *result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 result = (PyObject *)wxListBox_GetSelections(arg1);
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 resultobj = result;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxListBox *arg1 = (wxListBox *) 0 ;
4977 int arg2 ;
4978 PyObject * obj0 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self",(char *) "n", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 (arg1)->SetFirstItem(arg2);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxListBox *arg1 = (wxListBox *) 0 ;
5002 wxString *arg2 = 0 ;
5003 bool temp2 = False ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "s", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 {
5013 arg2 = wxString_in_helper(obj1);
5014 if (arg2 == NULL) SWIG_fail;
5015 temp2 = True;
5016 }
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 (arg1)->SetFirstItem((wxString const &)*arg2);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 Py_INCREF(Py_None); resultobj = Py_None;
5025 {
5026 if (temp2)
5027 delete arg2;
5028 }
5029 return resultobj;
5030 fail:
5031 {
5032 if (temp2)
5033 delete arg2;
5034 }
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxListBox *arg1 = (wxListBox *) 0 ;
5042 int arg2 ;
5043 PyObject * obj0 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "self",(char *) "n", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->EnsureVisible(arg2);
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxListBox *arg1 = (wxListBox *) 0 ;
5067 wxString *arg2 = 0 ;
5068 bool temp2 = False ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self",(char *) "s", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5077 {
5078 arg2 = wxString_in_helper(obj1);
5079 if (arg2 == NULL) SWIG_fail;
5080 temp2 = True;
5081 }
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 Py_INCREF(Py_None); resultobj = Py_None;
5090 {
5091 if (temp2)
5092 delete arg2;
5093 }
5094 return resultobj;
5095 fail:
5096 {
5097 if (temp2)
5098 delete arg2;
5099 }
5100 return NULL;
5101 }
5102
5103
5104 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxListBox *arg1 = (wxListBox *) 0 ;
5107 bool result;
5108 PyObject * obj0 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (bool)((wxListBox const *)arg1)->IsSorted();
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 resultobj = PyInt_FromLong((long)result);
5123 return resultobj;
5124 fail:
5125 return NULL;
5126 }
5127
5128
5129 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5130 PyObject *obj;
5131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5132 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5133 Py_INCREF(obj);
5134 return Py_BuildValue((char *)"");
5135 }
5136 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxWindow *arg1 = (wxWindow *) 0 ;
5139 int arg2 ;
5140 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5141 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5142 wxSize const &arg4_defvalue = wxDefaultSize ;
5143 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5144 int arg5 = (int) 0 ;
5145 wxString *arg6 = (wxString *) NULL ;
5146 long arg7 = (long) 0 ;
5147 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5148 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5149 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5150 wxString *arg9 = (wxString *) &arg9_defvalue ;
5151 wxCheckListBox *result;
5152 wxPoint temp3 ;
5153 wxSize temp4 ;
5154 bool temp8 = False ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj2 = 0 ;
5157 PyObject * obj3 = 0 ;
5158 PyObject * obj4 = 0 ;
5159 PyObject * obj6 = 0 ;
5160 PyObject * obj7 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 if (obj2) {
5168 {
5169 arg3 = &temp3;
5170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5171 }
5172 }
5173 if (obj3) {
5174 {
5175 arg4 = &temp4;
5176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5177 }
5178 }
5179 if (obj4) {
5180 {
5181 arg5 = PyList_Size(obj4);
5182 arg6 = wxString_LIST_helper(obj4);
5183 if (arg6 == NULL) SWIG_fail;
5184 }
5185 }
5186 if (obj6) {
5187 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5188 if (arg8 == NULL) {
5189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5190 }
5191 }
5192 if (obj7) {
5193 {
5194 arg9 = wxString_in_helper(obj7);
5195 if (arg9 == NULL) SWIG_fail;
5196 temp8 = True;
5197 }
5198 }
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5207 {
5208 if (arg6) delete [] arg6;
5209 }
5210 {
5211 if (temp8)
5212 delete arg9;
5213 }
5214 return resultobj;
5215 fail:
5216 {
5217 if (arg6) delete [] arg6;
5218 }
5219 {
5220 if (temp8)
5221 delete arg9;
5222 }
5223 return NULL;
5224 }
5225
5226
5227 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxCheckListBox *result;
5230 char *kwnames[] = {
5231 NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (wxCheckListBox *)new wxCheckListBox();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5252 wxWindow *arg2 = (wxWindow *) 0 ;
5253 int arg3 ;
5254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5256 wxSize const &arg5_defvalue = wxDefaultSize ;
5257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5258 int arg6 = (int) 0 ;
5259 wxString *arg7 = (wxString *) NULL ;
5260 long arg8 = (long) 0 ;
5261 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5262 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5263 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5264 wxString *arg10 = (wxString *) &arg10_defvalue ;
5265 bool result;
5266 wxPoint temp4 ;
5267 wxSize temp5 ;
5268 bool temp9 = False ;
5269 PyObject * obj0 = 0 ;
5270 PyObject * obj1 = 0 ;
5271 PyObject * obj3 = 0 ;
5272 PyObject * obj4 = 0 ;
5273 PyObject * obj5 = 0 ;
5274 PyObject * obj7 = 0 ;
5275 PyObject * obj8 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5283 if (obj3) {
5284 {
5285 arg4 = &temp4;
5286 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5287 }
5288 }
5289 if (obj4) {
5290 {
5291 arg5 = &temp5;
5292 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5293 }
5294 }
5295 if (obj5) {
5296 {
5297 arg6 = PyList_Size(obj5);
5298 arg7 = wxString_LIST_helper(obj5);
5299 if (arg7 == NULL) SWIG_fail;
5300 }
5301 }
5302 if (obj7) {
5303 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5304 if (arg9 == NULL) {
5305 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5306 }
5307 }
5308 if (obj8) {
5309 {
5310 arg10 = wxString_in_helper(obj8);
5311 if (arg10 == NULL) SWIG_fail;
5312 temp9 = True;
5313 }
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 resultobj = PyInt_FromLong((long)result);
5323 {
5324 if (arg7) delete [] arg7;
5325 }
5326 {
5327 if (temp9)
5328 delete arg10;
5329 }
5330 return resultobj;
5331 fail:
5332 {
5333 if (arg7) delete [] arg7;
5334 }
5335 {
5336 if (temp9)
5337 delete arg10;
5338 }
5339 return NULL;
5340 }
5341
5342
5343 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5346 int arg2 ;
5347 bool result;
5348 PyObject * obj0 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "index", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (bool)(arg1)->IsChecked(arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 resultobj = PyInt_FromLong((long)result);
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5372 int arg2 ;
5373 int arg3 = (int) True ;
5374 PyObject * obj0 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "index",(char *) "check", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 (arg1)->Check(arg2,arg3);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 Py_INCREF(Py_None); resultobj = Py_None;
5389 return resultobj;
5390 fail:
5391 return NULL;
5392 }
5393
5394
5395 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj;
5397 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5398 int result;
5399 PyObject * obj0 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 result = (int)(arg1)->GetItemHeight();
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 resultobj = PyInt_FromLong((long)result);
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5423 wxPoint *arg2 = 0 ;
5424 int result;
5425 wxPoint temp2 ;
5426 PyObject * obj0 = 0 ;
5427 PyObject * obj1 = 0 ;
5428 char *kwnames[] = {
5429 (char *) "self",(char *) "pt", NULL
5430 };
5431
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5434 {
5435 arg2 = &temp2;
5436 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5437 }
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 resultobj = PyInt_FromLong((long)result);
5446 return resultobj;
5447 fail:
5448 return NULL;
5449 }
5450
5451
5452 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5455 int arg2 ;
5456 int arg3 ;
5457 int result;
5458 PyObject * obj0 = 0 ;
5459 char *kwnames[] = {
5460 (char *) "self",(char *) "x",(char *) "y", NULL
5461 };
5462
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5468
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 resultobj = PyInt_FromLong((long)result);
5473 return resultobj;
5474 fail:
5475 return NULL;
5476 }
5477
5478
5479 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5480 PyObject *obj;
5481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5482 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5483 Py_INCREF(obj);
5484 return Py_BuildValue((char *)"");
5485 }
5486 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5487 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5488 return 1;
5489 }
5490
5491
5492 static PyObject *_wrap_TextCtrlNameStr_get() {
5493 PyObject *pyobj;
5494
5495 {
5496 #if wxUSE_UNICODE
5497 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5498 #else
5499 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5500 #endif
5501 }
5502 return pyobj;
5503 }
5504
5505
5506 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5507 PyObject *resultobj;
5508 wxTextAttr *result;
5509
5510 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (wxTextAttr *)new wxTextAttr();
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5519 return resultobj;
5520 fail:
5521 return NULL;
5522 }
5523
5524
5525 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5526 PyObject *resultobj;
5527 wxColour *arg1 = 0 ;
5528 wxColour const &arg2_defvalue = wxNullColour ;
5529 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5530 wxFont const &arg3_defvalue = wxNullFont ;
5531 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5532 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5533 wxTextAttr *result;
5534 wxColour temp1 ;
5535 wxColour temp2 ;
5536 PyObject * obj0 = 0 ;
5537 PyObject * obj1 = 0 ;
5538 PyObject * obj2 = 0 ;
5539
5540 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5541 {
5542 arg1 = &temp1;
5543 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5544 }
5545 if (obj1) {
5546 {
5547 arg2 = &temp2;
5548 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5549 }
5550 }
5551 if (obj2) {
5552 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5553 if (arg3 == NULL) {
5554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5555 }
5556 }
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5572 int argc;
5573 PyObject *argv[5];
5574 int ii;
5575
5576 argc = PyObject_Length(args);
5577 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5578 argv[ii] = PyTuple_GetItem(args,ii);
5579 }
5580 if (argc == 0) {
5581 return _wrap_new_TextAttr__SWIG_0(self,args);
5582 }
5583 if ((argc >= 1) && (argc <= 4)) {
5584 int _v;
5585 {
5586 _v = wxColour_typecheck(argv[0]);
5587 }
5588 if (_v) {
5589 if (argc <= 1) {
5590 return _wrap_new_TextAttr__SWIG_1(self,args);
5591 }
5592 {
5593 _v = wxColour_typecheck(argv[1]);
5594 }
5595 if (_v) {
5596 if (argc <= 2) {
5597 return _wrap_new_TextAttr__SWIG_1(self,args);
5598 }
5599 {
5600 void *ptr;
5601 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5602 _v = 0;
5603 PyErr_Clear();
5604 } else {
5605 _v = 1;
5606 }
5607 }
5608 if (_v) {
5609 if (argc <= 3) {
5610 return _wrap_new_TextAttr__SWIG_1(self,args);
5611 }
5612 {
5613 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5614 }
5615 if (_v) {
5616 return _wrap_new_TextAttr__SWIG_1(self,args);
5617 }
5618 }
5619 }
5620 }
5621 }
5622
5623 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5631 PyObject * obj0 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 (arg1)->Init();
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 Py_INCREF(Py_None); resultobj = Py_None;
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5655 wxColour *arg2 = 0 ;
5656 wxColour temp2 ;
5657 PyObject * obj0 = 0 ;
5658 PyObject * obj1 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "colText", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5665 {
5666 arg2 = &temp2;
5667 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 (arg1)->SetTextColour((wxColour const &)*arg2);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 Py_INCREF(Py_None); resultobj = Py_None;
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5686 wxColour *arg2 = 0 ;
5687 wxColour temp2 ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "colBack", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 {
5697 arg2 = &temp2;
5698 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5699 }
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5717 wxFont *arg2 = 0 ;
5718 long arg3 = (long) wxTEXT_ATTR_FONT ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "font",(char *) "flags", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5728 if (arg2 == NULL) {
5729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 Py_INCREF(Py_None); resultobj = Py_None;
5739 return resultobj;
5740 fail:
5741 return NULL;
5742 }
5743
5744
5745 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5748 int arg2 ;
5749 PyObject * obj0 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self",(char *) "alignment", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 Py_INCREF(Py_None); resultobj = Py_None;
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5773 wxArrayInt *arg2 = 0 ;
5774 PyObject * obj0 = 0 ;
5775 PyObject * obj1 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "tabs", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 if (! PySequence_Check(obj1)) {
5784 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5785 SWIG_fail;
5786 }
5787 arg2 = new wxArrayInt;
5788 int i, len=PySequence_Length(obj1);
5789 for (i=0; i<len; i++) {
5790 PyObject* item = PySequence_GetItem(obj1, i);
5791 PyObject* number = PyNumber_Int(item);
5792 arg2->Add(PyInt_AS_LONG(number));
5793 Py_DECREF(item);
5794 Py_DECREF(number);
5795 }
5796 }
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 Py_INCREF(Py_None); resultobj = Py_None;
5805 {
5806 if (arg2) delete arg2;
5807 }
5808 return resultobj;
5809 fail:
5810 {
5811 if (arg2) delete arg2;
5812 }
5813 return NULL;
5814 }
5815
5816
5817 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj;
5819 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5820 int arg2 ;
5821 PyObject * obj0 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self",(char *) "indent", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 (arg1)->SetLeftIndent(arg2);
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 Py_INCREF(Py_None); resultobj = Py_None;
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5845 int arg2 ;
5846 PyObject * obj0 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "self",(char *) "indent", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 (arg1)->SetRightIndent(arg2);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 Py_INCREF(Py_None); resultobj = Py_None;
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5870 long arg2 ;
5871 PyObject * obj0 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self",(char *) "flags", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetFlags(arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5895 bool result;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 resultobj = PyInt_FromLong((long)result);
5911 return resultobj;
5912 fail:
5913 return NULL;
5914 }
5915
5916
5917 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj;
5919 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5920 bool result;
5921 PyObject * obj0 = 0 ;
5922 char *kwnames[] = {
5923 (char *) "self", NULL
5924 };
5925
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 resultobj = PyInt_FromLong((long)result);
5936 return resultobj;
5937 fail:
5938 return NULL;
5939 }
5940
5941
5942 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5945 bool result;
5946 PyObject * obj0 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 resultobj = PyInt_FromLong((long)result);
5961 return resultobj;
5962 fail:
5963 return NULL;
5964 }
5965
5966
5967 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5970 bool result;
5971 PyObject * obj0 = 0 ;
5972 char *kwnames[] = {
5973 (char *) "self", NULL
5974 };
5975
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 resultobj = PyInt_FromLong((long)result);
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5995 bool result;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 resultobj = PyInt_FromLong((long)result);
6011 return resultobj;
6012 fail:
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6020 bool result;
6021 PyObject * obj0 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 resultobj = PyInt_FromLong((long)result);
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6045 bool result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 resultobj = PyInt_FromLong((long)result);
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6070 long arg2 ;
6071 bool result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self",(char *) "flag", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 resultobj = PyInt_FromLong((long)result);
6087 return resultobj;
6088 fail:
6089 return NULL;
6090 }
6091
6092
6093 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6096 wxColour *result;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 {
6107 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6108 result = (wxColour *) &_result_ref;
6109 }
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6115 return resultobj;
6116 fail:
6117 return NULL;
6118 }
6119
6120
6121 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6124 wxColour *result;
6125 PyObject * obj0 = 0 ;
6126 char *kwnames[] = {
6127 (char *) "self", NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 {
6135 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6136 result = (wxColour *) &_result_ref;
6137 }
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6152 wxFont *result;
6153 PyObject * obj0 = 0 ;
6154 char *kwnames[] = {
6155 (char *) "self", NULL
6156 };
6157
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 {
6163 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6164 result = (wxFont *) &_result_ref;
6165 }
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj;
6179 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6180 int result;
6181 PyObject * obj0 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "self", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6191
6192 wxPyEndAllowThreads(__tstate);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 resultobj = PyInt_FromLong((long)result);
6196 return resultobj;
6197 fail:
6198 return NULL;
6199 }
6200
6201
6202 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6205 wxArrayInt *result;
6206 PyObject * obj0 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 {
6216 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6217 result = (wxArrayInt *) &_result_ref;
6218 }
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 {
6224 resultobj = PyList_New(0);
6225 size_t idx;
6226 for (idx = 0; idx < result->GetCount(); idx += 1) {
6227 PyObject* val = PyInt_FromLong( result->Item(idx) );
6228 PyList_Append(resultobj, val);
6229 Py_DECREF(val);
6230 }
6231 }
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6241 long result;
6242 PyObject * obj0 = 0 ;
6243 char *kwnames[] = {
6244 (char *) "self", NULL
6245 };
6246
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6252
6253 wxPyEndAllowThreads(__tstate);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 resultobj = PyInt_FromLong((long)result);
6257 return resultobj;
6258 fail:
6259 return NULL;
6260 }
6261
6262
6263 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj;
6265 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6266 long result;
6267 PyObject * obj0 = 0 ;
6268 char *kwnames[] = {
6269 (char *) "self", NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 resultobj = PyInt_FromLong((long)result);
6282 return resultobj;
6283 fail:
6284 return NULL;
6285 }
6286
6287
6288 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6289 PyObject *resultobj;
6290 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6291 long result;
6292 PyObject * obj0 = 0 ;
6293 char *kwnames[] = {
6294 (char *) "self", NULL
6295 };
6296
6297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6302
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 resultobj = PyInt_FromLong((long)result);
6307 return resultobj;
6308 fail:
6309 return NULL;
6310 }
6311
6312
6313 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject *resultobj;
6315 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6316 bool result;
6317 PyObject * obj0 = 0 ;
6318 char *kwnames[] = {
6319 (char *) "self", NULL
6320 };
6321
6322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 resultobj = PyInt_FromLong((long)result);
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj;
6340 wxTextAttr *arg1 = 0 ;
6341 wxTextAttr *arg2 = 0 ;
6342 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6343 wxTextAttr result;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 PyObject * obj2 = 0 ;
6347 char *kwnames[] = {
6348 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353 if (arg1 == NULL) {
6354 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6355 }
6356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6357 if (arg2 == NULL) {
6358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6359 }
6360 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 wxTextAttr * resultptr;
6370 resultptr = new wxTextAttr((wxTextAttr &) result);
6371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6372 }
6373 return resultobj;
6374 fail:
6375 return NULL;
6376 }
6377
6378
6379 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6380 PyObject *obj;
6381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6382 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6383 Py_INCREF(obj);
6384 return Py_BuildValue((char *)"");
6385 }
6386 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6387 PyObject *resultobj;
6388 wxWindow *arg1 = (wxWindow *) 0 ;
6389 int arg2 ;
6390 wxString const &arg3_defvalue = wxPyEmptyString ;
6391 wxString *arg3 = (wxString *) &arg3_defvalue ;
6392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6394 wxSize const &arg5_defvalue = wxDefaultSize ;
6395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6396 long arg6 = (long) 0 ;
6397 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6398 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6399 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6400 wxString *arg8 = (wxString *) &arg8_defvalue ;
6401 wxTextCtrl *result;
6402 bool temp3 = False ;
6403 wxPoint temp4 ;
6404 wxSize temp5 ;
6405 bool temp8 = False ;
6406 PyObject * obj0 = 0 ;
6407 PyObject * obj2 = 0 ;
6408 PyObject * obj3 = 0 ;
6409 PyObject * obj4 = 0 ;
6410 PyObject * obj6 = 0 ;
6411 PyObject * obj7 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6418 if (obj2) {
6419 {
6420 arg3 = wxString_in_helper(obj2);
6421 if (arg3 == NULL) SWIG_fail;
6422 temp3 = True;
6423 }
6424 }
6425 if (obj3) {
6426 {
6427 arg4 = &temp4;
6428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6429 }
6430 }
6431 if (obj4) {
6432 {
6433 arg5 = &temp5;
6434 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6435 }
6436 }
6437 if (obj6) {
6438 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6439 if (arg7 == NULL) {
6440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6441 }
6442 }
6443 if (obj7) {
6444 {
6445 arg8 = wxString_in_helper(obj7);
6446 if (arg8 == NULL) SWIG_fail;
6447 temp8 = True;
6448 }
6449 }
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 {
6458 resultobj = wxPyMake_wxObject(result);
6459 }
6460 {
6461 if (temp3)
6462 delete arg3;
6463 }
6464 {
6465 if (temp8)
6466 delete arg8;
6467 }
6468 return resultobj;
6469 fail:
6470 {
6471 if (temp3)
6472 delete arg3;
6473 }
6474 {
6475 if (temp8)
6476 delete arg8;
6477 }
6478 return NULL;
6479 }
6480
6481
6482 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxTextCtrl *result;
6485 char *kwnames[] = {
6486 NULL
6487 };
6488
6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (wxTextCtrl *)new wxTextCtrl();
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 {
6498 resultobj = wxPyMake_wxObject(result);
6499 }
6500 return resultobj;
6501 fail:
6502 return NULL;
6503 }
6504
6505
6506 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject *resultobj;
6508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6509 wxWindow *arg2 = (wxWindow *) 0 ;
6510 int arg3 ;
6511 wxString const &arg4_defvalue = wxPyEmptyString ;
6512 wxString *arg4 = (wxString *) &arg4_defvalue ;
6513 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6514 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6515 wxSize const &arg6_defvalue = wxDefaultSize ;
6516 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6517 long arg7 = (long) 0 ;
6518 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6519 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6520 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6521 wxString *arg9 = (wxString *) &arg9_defvalue ;
6522 bool result;
6523 bool temp4 = False ;
6524 wxPoint temp5 ;
6525 wxSize temp6 ;
6526 bool temp9 = False ;
6527 PyObject * obj0 = 0 ;
6528 PyObject * obj1 = 0 ;
6529 PyObject * obj3 = 0 ;
6530 PyObject * obj4 = 0 ;
6531 PyObject * obj5 = 0 ;
6532 PyObject * obj7 = 0 ;
6533 PyObject * obj8 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6541 if (obj3) {
6542 {
6543 arg4 = wxString_in_helper(obj3);
6544 if (arg4 == NULL) SWIG_fail;
6545 temp4 = True;
6546 }
6547 }
6548 if (obj4) {
6549 {
6550 arg5 = &temp5;
6551 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6552 }
6553 }
6554 if (obj5) {
6555 {
6556 arg6 = &temp6;
6557 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6558 }
6559 }
6560 if (obj7) {
6561 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6562 if (arg8 == NULL) {
6563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6564 }
6565 }
6566 if (obj8) {
6567 {
6568 arg9 = wxString_in_helper(obj8);
6569 if (arg9 == NULL) SWIG_fail;
6570 temp9 = True;
6571 }
6572 }
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 resultobj = PyInt_FromLong((long)result);
6581 {
6582 if (temp4)
6583 delete arg4;
6584 }
6585 {
6586 if (temp9)
6587 delete arg9;
6588 }
6589 return resultobj;
6590 fail:
6591 {
6592 if (temp4)
6593 delete arg4;
6594 }
6595 {
6596 if (temp9)
6597 delete arg9;
6598 }
6599 return NULL;
6600 }
6601
6602
6603 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6606 wxString result;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = ((wxTextCtrl const *)arg1)->GetValue();
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 {
6622 #if wxUSE_UNICODE
6623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6624 #else
6625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6626 #endif
6627 }
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6637 wxString *arg2 = 0 ;
6638 bool temp2 = False ;
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "value", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6647 {
6648 arg2 = wxString_in_helper(obj1);
6649 if (arg2 == NULL) SWIG_fail;
6650 temp2 = True;
6651 }
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 (arg1)->SetValue((wxString const &)*arg2);
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 Py_INCREF(Py_None); resultobj = Py_None;
6660 {
6661 if (temp2)
6662 delete arg2;
6663 }
6664 return resultobj;
6665 fail:
6666 {
6667 if (temp2)
6668 delete arg2;
6669 }
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6677 long arg2 ;
6678 long arg3 ;
6679 wxString result;
6680 PyObject * obj0 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "from",(char *) "to", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 #if wxUSE_UNICODE
6696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6697 #else
6698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6699 #endif
6700 }
6701 return resultobj;
6702 fail:
6703 return NULL;
6704 }
6705
6706
6707 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6708 PyObject *resultobj;
6709 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6710 long arg2 ;
6711 int result;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self",(char *) "lineNo", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 resultobj = PyInt_FromLong((long)result);
6727 return resultobj;
6728 fail:
6729 return NULL;
6730 }
6731
6732
6733 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6736 long arg2 ;
6737 wxString result;
6738 PyObject * obj0 = 0 ;
6739 char *kwnames[] = {
6740 (char *) "self",(char *) "lineNo", NULL
6741 };
6742
6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 {
6753 #if wxUSE_UNICODE
6754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6755 #else
6756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6757 #endif
6758 }
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6768 int result;
6769 PyObject * obj0 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = PyInt_FromLong((long)result);
6784 return resultobj;
6785 fail:
6786 return NULL;
6787 }
6788
6789
6790 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj;
6792 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6793 bool result;
6794 PyObject * obj0 = 0 ;
6795 char *kwnames[] = {
6796 (char *) "self", NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6804
6805 wxPyEndAllowThreads(__tstate);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 }
6808 resultobj = PyInt_FromLong((long)result);
6809 return resultobj;
6810 fail:
6811 return NULL;
6812 }
6813
6814
6815 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj;
6817 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6818 bool result;
6819 PyObject * obj0 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6829
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 }
6833 resultobj = PyInt_FromLong((long)result);
6834 return resultobj;
6835 fail:
6836 return NULL;
6837 }
6838
6839
6840 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6843 bool result;
6844 PyObject * obj0 = 0 ;
6845 char *kwnames[] = {
6846 (char *) "self", NULL
6847 };
6848
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = PyInt_FromLong((long)result);
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6868 bool result;
6869 PyObject * obj0 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",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 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6879
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 resultobj = PyInt_FromLong((long)result);
6884 return resultobj;
6885 fail:
6886 return NULL;
6887 }
6888
6889
6890 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6893 long *arg2 = (long *) 0 ;
6894 long *arg3 = (long *) 0 ;
6895 long temp2 ;
6896 long temp3 ;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self", NULL
6900 };
6901
6902 arg2 = &temp2;
6903 arg3 = &temp3;
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 {
6915 PyObject *o = PyInt_FromLong((long) (*arg2));
6916 resultobj = t_output_helper(resultobj,o);
6917 }
6918 {
6919 PyObject *o = PyInt_FromLong((long) (*arg3));
6920 resultobj = t_output_helper(resultobj,o);
6921 }
6922 return resultobj;
6923 fail:
6924 return NULL;
6925 }
6926
6927
6928 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6931 wxString result;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",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 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947 #if wxUSE_UNICODE
6948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6949 #else
6950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6951 #endif
6952 }
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6962 PyObject * obj0 = 0 ;
6963 char *kwnames[] = {
6964 (char *) "self", NULL
6965 };
6966
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 (arg1)->Clear();
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 Py_INCREF(Py_None); resultobj = Py_None;
6977 return resultobj;
6978 fail:
6979 return NULL;
6980 }
6981
6982
6983 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6984 PyObject *resultobj;
6985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6986 long arg2 ;
6987 long arg3 ;
6988 wxString *arg4 = 0 ;
6989 bool temp4 = False ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj3 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6998 {
6999 arg4 = wxString_in_helper(obj3);
7000 if (arg4 == NULL) SWIG_fail;
7001 temp4 = True;
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 {
7012 if (temp4)
7013 delete arg4;
7014 }
7015 return resultobj;
7016 fail:
7017 {
7018 if (temp4)
7019 delete arg4;
7020 }
7021 return NULL;
7022 }
7023
7024
7025 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject *resultobj;
7027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7028 long arg2 ;
7029 long arg3 ;
7030 PyObject * obj0 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self",(char *) "from",(char *) "to", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 (arg1)->Remove(arg2,arg3);
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 Py_INCREF(Py_None); resultobj = Py_None;
7045 return resultobj;
7046 fail:
7047 return NULL;
7048 }
7049
7050
7051 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7054 wxString *arg2 = 0 ;
7055 bool result;
7056 bool temp2 = False ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self",(char *) "file", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 arg2 = wxString_in_helper(obj1);
7067 if (arg2 == NULL) SWIG_fail;
7068 temp2 = True;
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = PyInt_FromLong((long)result);
7078 {
7079 if (temp2)
7080 delete arg2;
7081 }
7082 return resultobj;
7083 fail:
7084 {
7085 if (temp2)
7086 delete arg2;
7087 }
7088 return NULL;
7089 }
7090
7091
7092 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7095 wxString const &arg2_defvalue = wxPyEmptyString ;
7096 wxString *arg2 = (wxString *) &arg2_defvalue ;
7097 bool result;
7098 bool temp2 = False ;
7099 PyObject * obj0 = 0 ;
7100 PyObject * obj1 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self",(char *) "file", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7107 if (obj1) {
7108 {
7109 arg2 = wxString_in_helper(obj1);
7110 if (arg2 == NULL) SWIG_fail;
7111 temp2 = True;
7112 }
7113 }
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = PyInt_FromLong((long)result);
7122 {
7123 if (temp2)
7124 delete arg2;
7125 }
7126 return resultobj;
7127 fail:
7128 {
7129 if (temp2)
7130 delete arg2;
7131 }
7132 return NULL;
7133 }
7134
7135
7136 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj;
7138 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->MarkDirty();
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7163 PyObject * obj0 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "self", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 (arg1)->DiscardEdits();
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 Py_INCREF(Py_None); resultobj = Py_None;
7178 return resultobj;
7179 fail:
7180 return NULL;
7181 }
7182
7183
7184 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7187 unsigned long arg2 ;
7188 PyObject * obj0 = 0 ;
7189 PyObject * obj1 = 0 ;
7190 char *kwnames[] = {
7191 (char *) "self",(char *) "len", NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7196 arg2 = (unsigned long) PyInt_AsLong(obj1);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 (arg1)->SetMaxLength(arg2);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 Py_INCREF(Py_None); resultobj = Py_None;
7206 return resultobj;
7207 fail:
7208 return NULL;
7209 }
7210
7211
7212 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7215 wxString *arg2 = 0 ;
7216 bool temp2 = False ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self",(char *) "text", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7225 {
7226 arg2 = wxString_in_helper(obj1);
7227 if (arg2 == NULL) SWIG_fail;
7228 temp2 = True;
7229 }
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 (arg1)->WriteText((wxString const &)*arg2);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 {
7239 if (temp2)
7240 delete arg2;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp2)
7246 delete arg2;
7247 }
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7255 wxString *arg2 = 0 ;
7256 bool temp2 = False ;
7257 PyObject * obj0 = 0 ;
7258 PyObject * obj1 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self",(char *) "text", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7265 {
7266 arg2 = wxString_in_helper(obj1);
7267 if (arg2 == NULL) SWIG_fail;
7268 temp2 = True;
7269 }
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 (arg1)->AppendText((wxString const &)*arg2);
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 Py_INCREF(Py_None); resultobj = Py_None;
7278 {
7279 if (temp2)
7280 delete arg2;
7281 }
7282 return resultobj;
7283 fail:
7284 {
7285 if (temp2)
7286 delete arg2;
7287 }
7288 return NULL;
7289 }
7290
7291
7292 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7295 wxKeyEvent *arg2 = 0 ;
7296 bool result;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "event", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7306 if (arg2 == NULL) {
7307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7308 }
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 resultobj = PyInt_FromLong((long)result);
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7326 long arg2 ;
7327 long arg3 ;
7328 wxTextAttr *arg4 = 0 ;
7329 bool result;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj3 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7338 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7339 if (arg4 == NULL) {
7340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7341 }
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 resultobj = PyInt_FromLong((long)result);
7350 return resultobj;
7351 fail:
7352 return NULL;
7353 }
7354
7355
7356 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7359 long arg2 ;
7360 wxTextAttr *arg3 = 0 ;
7361 bool result;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj2 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "self",(char *) "position",(char *) "style", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7370 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7371 if (arg3 == NULL) {
7372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7373 }
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 resultobj = PyInt_FromLong((long)result);
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7391 wxTextAttr *arg2 = 0 ;
7392 bool result;
7393 PyObject * obj0 = 0 ;
7394 PyObject * obj1 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self",(char *) "style", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7402 if (arg2 == NULL) {
7403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7404 }
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = PyInt_FromLong((long)result);
7413 return resultobj;
7414 fail:
7415 return NULL;
7416 }
7417
7418
7419 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7422 wxTextAttr *result;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 {
7433 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7434 result = (wxTextAttr *) &_result_ref;
7435 }
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7450 long arg2 ;
7451 long arg3 ;
7452 long result;
7453 PyObject * obj0 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "x",(char *) "y", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 resultobj = PyInt_FromLong((long)result);
7468 return resultobj;
7469 fail:
7470 return NULL;
7471 }
7472
7473
7474 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7477 long arg2 ;
7478 long *arg3 = (long *) 0 ;
7479 long *arg4 = (long *) 0 ;
7480 long temp3 ;
7481 long temp4 ;
7482 PyObject * obj0 = 0 ;
7483 char *kwnames[] = {
7484 (char *) "self",(char *) "pos", NULL
7485 };
7486
7487 arg3 = &temp3;
7488 arg4 = &temp4;
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 Py_INCREF(Py_None); resultobj = Py_None;
7499 {
7500 PyObject *o = PyInt_FromLong((long) (*arg3));
7501 resultobj = t_output_helper(resultobj,o);
7502 }
7503 {
7504 PyObject *o = PyInt_FromLong((long) (*arg4));
7505 resultobj = t_output_helper(resultobj,o);
7506 }
7507 return resultobj;
7508 fail:
7509 return NULL;
7510 }
7511
7512
7513 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7514 PyObject *resultobj;
7515 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7516 long arg2 ;
7517 PyObject * obj0 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "pos", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 (arg1)->ShowPosition(arg2);
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 Py_INCREF(Py_None); resultobj = Py_None;
7532 return resultobj;
7533 fail:
7534 return NULL;
7535 }
7536
7537
7538 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7541 PyObject * obj0 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7548 {
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 (arg1)->Copy();
7551
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 Py_INCREF(Py_None); resultobj = Py_None;
7556 return resultobj;
7557 fail:
7558 return NULL;
7559 }
7560
7561
7562 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 (arg1)->Cut();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 Py_INCREF(Py_None); resultobj = Py_None;
7580 return resultobj;
7581 fail:
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7589 PyObject * obj0 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 (arg1)->Paste();
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 Py_INCREF(Py_None); resultobj = Py_None;
7604 return resultobj;
7605 fail:
7606 return NULL;
7607 }
7608
7609
7610 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj;
7612 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7613 bool result;
7614 PyObject * obj0 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 resultobj = PyInt_FromLong((long)result);
7629 return resultobj;
7630 fail:
7631 return NULL;
7632 }
7633
7634
7635 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj;
7637 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7638 bool result;
7639 PyObject * obj0 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "self", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 resultobj = PyInt_FromLong((long)result);
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7663 bool result;
7664 PyObject * obj0 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "self", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = PyInt_FromLong((long)result);
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 (arg1)->Undo();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 (arg1)->Redo();
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 return resultobj;
7728 fail:
7729 return NULL;
7730 }
7731
7732
7733 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7736 bool result;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = PyInt_FromLong((long)result);
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7761 bool result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = PyInt_FromLong((long)result);
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7786 long arg2 ;
7787 PyObject * obj0 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self",(char *) "pos", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 (arg1)->SetInsertionPoint(arg2);
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 Py_INCREF(Py_None); resultobj = Py_None;
7802 return resultobj;
7803 fail:
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7811 PyObject * obj0 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->SetInsertionPointEnd();
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7835 long result;
7836 PyObject * obj0 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = PyInt_FromLong((long)result);
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7860 long result;
7861 PyObject * obj0 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 resultobj = PyInt_FromLong((long)result);
7876 return resultobj;
7877 fail:
7878 return NULL;
7879 }
7880
7881
7882 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7885 long arg2 ;
7886 long arg3 ;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "from",(char *) "to", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetSelection(arg2,arg3);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7911 PyObject * obj0 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 (arg1)->SelectAll();
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 Py_INCREF(Py_None); resultobj = Py_None;
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj;
7934 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7935 bool arg2 ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "editable", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7944 arg2 = PyInt_AsLong(obj1) ? true : false;
7945 if (PyErr_Occurred()) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->SetEditable(arg2);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7963 wxString *arg2 = 0 ;
7964 bool temp2 = False ;
7965 PyObject * obj0 = 0 ;
7966 PyObject * obj1 = 0 ;
7967 char *kwnames[] = {
7968 (char *) "self",(char *) "text", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7973 {
7974 arg2 = wxString_in_helper(obj1);
7975 if (arg2 == NULL) SWIG_fail;
7976 temp2 = True;
7977 }
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 Py_INCREF(Py_None); resultobj = Py_None;
7986 {
7987 if (temp2)
7988 delete arg2;
7989 }
7990 return resultobj;
7991 fail:
7992 {
7993 if (temp2)
7994 delete arg2;
7995 }
7996 return NULL;
7997 }
7998
7999
8000 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj;
8002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8003 long arg2 ;
8004 long arg3 ;
8005 wxString result;
8006 PyObject * obj0 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "self",(char *) "from",(char *) "to", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 {
8021 #if wxUSE_UNICODE
8022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8023 #else
8024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8025 #endif
8026 }
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8034 PyObject *obj;
8035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8036 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8037 Py_INCREF(obj);
8038 return Py_BuildValue((char *)"");
8039 }
8040 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 int arg1 ;
8043 wxMouseEvent *arg2 = 0 ;
8044 long arg3 ;
8045 long arg4 ;
8046 wxTextUrlEvent *result;
8047 PyObject * obj1 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8054 if (arg2 == NULL) {
8055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8056 }
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8074 wxMouseEvent *result;
8075 PyObject * obj0 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 {
8085 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8086 result = (wxMouseEvent *) &_result_ref;
8087 }
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8093 return resultobj;
8094 fail:
8095 return NULL;
8096 }
8097
8098
8099 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8102 long result;
8103 PyObject * obj0 = 0 ;
8104 char *kwnames[] = {
8105 (char *) "self", NULL
8106 };
8107
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 resultobj = PyInt_FromLong((long)result);
8118 return resultobj;
8119 fail:
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8127 long result;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = PyInt_FromLong((long)result);
8143 return resultobj;
8144 fail:
8145 return NULL;
8146 }
8147
8148
8149 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8150 PyObject *obj;
8151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8152 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8153 Py_INCREF(obj);
8154 return Py_BuildValue((char *)"");
8155 }
8156 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8157 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8158 return 1;
8159 }
8160
8161
8162 static PyObject *_wrap_ScrollBarNameStr_get() {
8163 PyObject *pyobj;
8164
8165 {
8166 #if wxUSE_UNICODE
8167 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8168 #else
8169 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8170 #endif
8171 }
8172 return pyobj;
8173 }
8174
8175
8176 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxWindow *arg1 = (wxWindow *) 0 ;
8179 int arg2 = (int) -1 ;
8180 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8181 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8182 wxSize const &arg4_defvalue = wxDefaultSize ;
8183 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8184 long arg5 = (long) wxSB_HORIZONTAL ;
8185 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8186 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8187 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8188 wxString *arg7 = (wxString *) &arg7_defvalue ;
8189 wxScrollBar *result;
8190 wxPoint temp3 ;
8191 wxSize temp4 ;
8192 bool temp7 = False ;
8193 PyObject * obj0 = 0 ;
8194 PyObject * obj2 = 0 ;
8195 PyObject * obj3 = 0 ;
8196 PyObject * obj5 = 0 ;
8197 PyObject * obj6 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 if (obj2) {
8205 {
8206 arg3 = &temp3;
8207 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8208 }
8209 }
8210 if (obj3) {
8211 {
8212 arg4 = &temp4;
8213 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8214 }
8215 }
8216 if (obj5) {
8217 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8218 if (arg6 == NULL) {
8219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8220 }
8221 }
8222 if (obj6) {
8223 {
8224 arg7 = wxString_in_helper(obj6);
8225 if (arg7 == NULL) SWIG_fail;
8226 temp7 = True;
8227 }
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8237 {
8238 if (temp7)
8239 delete arg7;
8240 }
8241 return resultobj;
8242 fail:
8243 {
8244 if (temp7)
8245 delete arg7;
8246 }
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxScrollBar *result;
8254 char *kwnames[] = {
8255 NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (wxScrollBar *)new wxScrollBar();
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8267 return resultobj;
8268 fail:
8269 return NULL;
8270 }
8271
8272
8273 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8276 wxWindow *arg2 = (wxWindow *) 0 ;
8277 int arg3 = (int) -1 ;
8278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8280 wxSize const &arg5_defvalue = wxDefaultSize ;
8281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8282 long arg6 = (long) wxSB_HORIZONTAL ;
8283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8285 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8286 wxString *arg8 = (wxString *) &arg8_defvalue ;
8287 bool result;
8288 wxPoint temp4 ;
8289 wxSize temp5 ;
8290 bool temp8 = False ;
8291 PyObject * obj0 = 0 ;
8292 PyObject * obj1 = 0 ;
8293 PyObject * obj3 = 0 ;
8294 PyObject * obj4 = 0 ;
8295 PyObject * obj6 = 0 ;
8296 PyObject * obj7 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8304 if (obj3) {
8305 {
8306 arg4 = &temp4;
8307 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8308 }
8309 }
8310 if (obj4) {
8311 {
8312 arg5 = &temp5;
8313 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8314 }
8315 }
8316 if (obj6) {
8317 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8318 if (arg7 == NULL) {
8319 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8320 }
8321 }
8322 if (obj7) {
8323 {
8324 arg8 = wxString_in_helper(obj7);
8325 if (arg8 == NULL) SWIG_fail;
8326 temp8 = True;
8327 }
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 resultobj = PyInt_FromLong((long)result);
8337 {
8338 if (temp8)
8339 delete arg8;
8340 }
8341 return resultobj;
8342 fail:
8343 {
8344 if (temp8)
8345 delete arg8;
8346 }
8347 return NULL;
8348 }
8349
8350
8351 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8354 int result;
8355 PyObject * obj0 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "self", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 resultobj = PyInt_FromLong((long)result);
8370 return resultobj;
8371 fail:
8372 return NULL;
8373 }
8374
8375
8376 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8379 int result;
8380 PyObject * obj0 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 resultobj = PyInt_FromLong((long)result);
8395 return resultobj;
8396 fail:
8397 return NULL;
8398 }
8399
8400
8401 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8402 PyObject *resultobj;
8403 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8404 int result;
8405 PyObject * obj0 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = PyInt_FromLong((long)result);
8420 return resultobj;
8421 fail:
8422 return NULL;
8423 }
8424
8425
8426 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj;
8428 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8429 int result;
8430 PyObject * obj0 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (int)((wxScrollBar const *)arg1)->GetRange();
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 resultobj = PyInt_FromLong((long)result);
8445 return resultobj;
8446 fail:
8447 return NULL;
8448 }
8449
8450
8451 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject *resultobj;
8453 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8454 bool result;
8455 PyObject * obj0 = 0 ;
8456 char *kwnames[] = {
8457 (char *) "self", NULL
8458 };
8459
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 resultobj = PyInt_FromLong((long)result);
8470 return resultobj;
8471 fail:
8472 return NULL;
8473 }
8474
8475
8476 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8477 PyObject *resultobj;
8478 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8479 int arg2 ;
8480 PyObject * obj0 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "viewStart", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 (arg1)->SetThumbPosition(arg2);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 Py_INCREF(Py_None); resultobj = Py_None;
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8504 int arg2 ;
8505 int arg3 ;
8506 int arg4 ;
8507 int arg5 ;
8508 bool arg6 = (bool) True ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj5 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8517 if (obj5) {
8518 arg6 = PyInt_AsLong(obj5) ? true : false;
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 {
8522 PyThreadState* __tstate = wxPyBeginAllowThreads();
8523 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8524
8525 wxPyEndAllowThreads(__tstate);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 Py_INCREF(Py_None); resultobj = Py_None;
8529 return resultobj;
8530 fail:
8531 return NULL;
8532 }
8533
8534
8535 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8536 PyObject *obj;
8537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8538 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8539 Py_INCREF(obj);
8540 return Py_BuildValue((char *)"");
8541 }
8542 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8543 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8544 return 1;
8545 }
8546
8547
8548 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8549 PyObject *pyobj;
8550
8551 {
8552 #if wxUSE_UNICODE
8553 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8554 #else
8555 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8556 #endif
8557 }
8558 return pyobj;
8559 }
8560
8561
8562 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8563 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8564 return 1;
8565 }
8566
8567
8568 static PyObject *_wrap_SpinCtrlNameStr_get() {
8569 PyObject *pyobj;
8570
8571 {
8572 #if wxUSE_UNICODE
8573 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8574 #else
8575 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8576 #endif
8577 }
8578 return pyobj;
8579 }
8580
8581
8582 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj;
8584 wxWindow *arg1 = (wxWindow *) 0 ;
8585 int arg2 = (int) -1 ;
8586 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8587 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8588 wxSize const &arg4_defvalue = wxDefaultSize ;
8589 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8590 long arg5 = (long) wxSP_HORIZONTAL ;
8591 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8592 wxString *arg6 = (wxString *) &arg6_defvalue ;
8593 wxSpinButton *result;
8594 wxPoint temp3 ;
8595 wxSize temp4 ;
8596 bool temp6 = False ;
8597 PyObject * obj0 = 0 ;
8598 PyObject * obj2 = 0 ;
8599 PyObject * obj3 = 0 ;
8600 PyObject * obj5 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8607 if (obj2) {
8608 {
8609 arg3 = &temp3;
8610 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8611 }
8612 }
8613 if (obj3) {
8614 {
8615 arg4 = &temp4;
8616 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8617 }
8618 }
8619 if (obj5) {
8620 {
8621 arg6 = wxString_in_helper(obj5);
8622 if (arg6 == NULL) SWIG_fail;
8623 temp6 = True;
8624 }
8625 }
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8634 {
8635 if (temp6)
8636 delete arg6;
8637 }
8638 return resultobj;
8639 fail:
8640 {
8641 if (temp6)
8642 delete arg6;
8643 }
8644 return NULL;
8645 }
8646
8647
8648 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8649 PyObject *resultobj;
8650 wxSpinButton *result;
8651 char *kwnames[] = {
8652 NULL
8653 };
8654
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (wxSpinButton *)new wxSpinButton();
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8673 wxWindow *arg2 = (wxWindow *) 0 ;
8674 int arg3 = (int) -1 ;
8675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8677 wxSize const &arg5_defvalue = wxDefaultSize ;
8678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8679 long arg6 = (long) wxSP_HORIZONTAL ;
8680 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8681 wxString *arg7 = (wxString *) &arg7_defvalue ;
8682 bool result;
8683 wxPoint temp4 ;
8684 wxSize temp5 ;
8685 bool temp7 = False ;
8686 PyObject * obj0 = 0 ;
8687 PyObject * obj1 = 0 ;
8688 PyObject * obj3 = 0 ;
8689 PyObject * obj4 = 0 ;
8690 PyObject * obj6 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8698 if (obj3) {
8699 {
8700 arg4 = &temp4;
8701 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8702 }
8703 }
8704 if (obj4) {
8705 {
8706 arg5 = &temp5;
8707 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8708 }
8709 }
8710 if (obj6) {
8711 {
8712 arg7 = wxString_in_helper(obj6);
8713 if (arg7 == NULL) SWIG_fail;
8714 temp7 = True;
8715 }
8716 }
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8720
8721 wxPyEndAllowThreads(__tstate);
8722 if (PyErr_Occurred()) SWIG_fail;
8723 }
8724 resultobj = PyInt_FromLong((long)result);
8725 {
8726 if (temp7)
8727 delete arg7;
8728 }
8729 return resultobj;
8730 fail:
8731 {
8732 if (temp7)
8733 delete arg7;
8734 }
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8742 int result;
8743 PyObject * obj0 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (int)((wxSpinButton const *)arg1)->GetValue();
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = PyInt_FromLong((long)result);
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8767 int result;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (int)((wxSpinButton const *)arg1)->GetMin();
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 resultobj = PyInt_FromLong((long)result);
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8792 int result;
8793 PyObject * obj0 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (int)((wxSpinButton const *)arg1)->GetMax();
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = PyInt_FromLong((long)result);
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj;
8816 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8817 int arg2 ;
8818 PyObject * obj0 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "val", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 (arg1)->SetValue(arg2);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 Py_INCREF(Py_None); resultobj = Py_None;
8833 return resultobj;
8834 fail:
8835 return NULL;
8836 }
8837
8838
8839 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8842 int arg2 ;
8843 PyObject * obj0 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self",(char *) "minVal", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 (arg1)->SetMin(arg2);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 Py_INCREF(Py_None); resultobj = Py_None;
8858 return resultobj;
8859 fail:
8860 return NULL;
8861 }
8862
8863
8864 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj;
8866 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8867 int arg2 ;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self",(char *) "maxVal", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 (arg1)->SetMax(arg2);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 Py_INCREF(Py_None); resultobj = Py_None;
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8892 int arg2 ;
8893 int arg3 ;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->SetRange(arg2,arg3);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8918 bool result;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 resultobj = PyInt_FromLong((long)result);
8934 return resultobj;
8935 fail:
8936 return NULL;
8937 }
8938
8939
8940 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8941 PyObject *obj;
8942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8943 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8944 Py_INCREF(obj);
8945 return Py_BuildValue((char *)"");
8946 }
8947 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxWindow *arg1 = (wxWindow *) 0 ;
8950 int arg2 = (int) -1 ;
8951 wxString const &arg3_defvalue = wxPyEmptyString ;
8952 wxString *arg3 = (wxString *) &arg3_defvalue ;
8953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8955 wxSize const &arg5_defvalue = wxDefaultSize ;
8956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8957 long arg6 = (long) wxSP_ARROW_KEYS ;
8958 int arg7 = (int) 0 ;
8959 int arg8 = (int) 100 ;
8960 int arg9 = (int) 0 ;
8961 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8962 wxString *arg10 = (wxString *) &arg10_defvalue ;
8963 wxSpinCtrl *result;
8964 bool temp3 = False ;
8965 wxPoint temp4 ;
8966 wxSize temp5 ;
8967 bool temp10 = False ;
8968 PyObject * obj0 = 0 ;
8969 PyObject * obj2 = 0 ;
8970 PyObject * obj3 = 0 ;
8971 PyObject * obj4 = 0 ;
8972 PyObject * obj9 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8979 if (obj2) {
8980 {
8981 arg3 = wxString_in_helper(obj2);
8982 if (arg3 == NULL) SWIG_fail;
8983 temp3 = True;
8984 }
8985 }
8986 if (obj3) {
8987 {
8988 arg4 = &temp4;
8989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8990 }
8991 }
8992 if (obj4) {
8993 {
8994 arg5 = &temp5;
8995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8996 }
8997 }
8998 if (obj9) {
8999 {
9000 arg10 = wxString_in_helper(obj9);
9001 if (arg10 == NULL) SWIG_fail;
9002 temp10 = True;
9003 }
9004 }
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9013 {
9014 if (temp3)
9015 delete arg3;
9016 }
9017 {
9018 if (temp10)
9019 delete arg10;
9020 }
9021 return resultobj;
9022 fail:
9023 {
9024 if (temp3)
9025 delete arg3;
9026 }
9027 {
9028 if (temp10)
9029 delete arg10;
9030 }
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxSpinCtrl *result;
9038 char *kwnames[] = {
9039 NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = (wxSpinCtrl *)new wxSpinCtrl();
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9051 return resultobj;
9052 fail:
9053 return NULL;
9054 }
9055
9056
9057 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9058 PyObject *resultobj;
9059 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9060 wxWindow *arg2 = (wxWindow *) 0 ;
9061 int arg3 = (int) -1 ;
9062 wxString const &arg4_defvalue = wxPyEmptyString ;
9063 wxString *arg4 = (wxString *) &arg4_defvalue ;
9064 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9065 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9066 wxSize const &arg6_defvalue = wxDefaultSize ;
9067 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9068 long arg7 = (long) wxSP_ARROW_KEYS ;
9069 int arg8 = (int) 0 ;
9070 int arg9 = (int) 100 ;
9071 int arg10 = (int) 0 ;
9072 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9073 wxString *arg11 = (wxString *) &arg11_defvalue ;
9074 bool result;
9075 bool temp4 = False ;
9076 wxPoint temp5 ;
9077 wxSize temp6 ;
9078 bool temp11 = False ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj3 = 0 ;
9082 PyObject * obj4 = 0 ;
9083 PyObject * obj5 = 0 ;
9084 PyObject * obj10 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9092 if (obj3) {
9093 {
9094 arg4 = wxString_in_helper(obj3);
9095 if (arg4 == NULL) SWIG_fail;
9096 temp4 = True;
9097 }
9098 }
9099 if (obj4) {
9100 {
9101 arg5 = &temp5;
9102 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9103 }
9104 }
9105 if (obj5) {
9106 {
9107 arg6 = &temp6;
9108 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9109 }
9110 }
9111 if (obj10) {
9112 {
9113 arg11 = wxString_in_helper(obj10);
9114 if (arg11 == NULL) SWIG_fail;
9115 temp11 = True;
9116 }
9117 }
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = PyInt_FromLong((long)result);
9126 {
9127 if (temp4)
9128 delete arg4;
9129 }
9130 {
9131 if (temp11)
9132 delete arg11;
9133 }
9134 return resultobj;
9135 fail:
9136 {
9137 if (temp4)
9138 delete arg4;
9139 }
9140 {
9141 if (temp11)
9142 delete arg11;
9143 }
9144 return NULL;
9145 }
9146
9147
9148 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9149 PyObject *resultobj;
9150 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9151 int result;
9152 PyObject * obj0 = 0 ;
9153 char *kwnames[] = {
9154 (char *) "self", NULL
9155 };
9156
9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 resultobj = PyInt_FromLong((long)result);
9167 return resultobj;
9168 fail:
9169 return NULL;
9170 }
9171
9172
9173 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9176 int arg2 ;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self",(char *) "value", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 (arg1)->SetValue(arg2);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 Py_INCREF(Py_None); resultobj = Py_None;
9192 return resultobj;
9193 fail:
9194 return NULL;
9195 }
9196
9197
9198 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9201 wxString *arg2 = 0 ;
9202 bool temp2 = False ;
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "text", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9211 {
9212 arg2 = wxString_in_helper(obj1);
9213 if (arg2 == NULL) SWIG_fail;
9214 temp2 = True;
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->SetValue((wxString const &)*arg2);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 Py_INCREF(Py_None); resultobj = Py_None;
9224 {
9225 if (temp2)
9226 delete arg2;
9227 }
9228 return resultobj;
9229 fail:
9230 {
9231 if (temp2)
9232 delete arg2;
9233 }
9234 return NULL;
9235 }
9236
9237
9238 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9241 int arg2 ;
9242 int arg3 ;
9243 PyObject * obj0 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 (arg1)->SetRange(arg2,arg3);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 Py_INCREF(Py_None); resultobj = Py_None;
9258 return resultobj;
9259 fail:
9260 return NULL;
9261 }
9262
9263
9264 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9267 int result;
9268 PyObject * obj0 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 resultobj = PyInt_FromLong((long)result);
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9292 int result;
9293 PyObject * obj0 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = PyInt_FromLong((long)result);
9308 return resultobj;
9309 fail:
9310 return NULL;
9311 }
9312
9313
9314 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9317 long arg2 ;
9318 long arg3 ;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self",(char *) "from",(char *) "to", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 Py_INCREF(Py_None); resultobj = Py_None;
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9341 PyObject *obj;
9342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9343 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9344 Py_INCREF(obj);
9345 return Py_BuildValue((char *)"");
9346 }
9347 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9348 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9349 return 1;
9350 }
9351
9352
9353 static PyObject *_wrap_RadioBoxNameStr_get() {
9354 PyObject *pyobj;
9355
9356 {
9357 #if wxUSE_UNICODE
9358 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9359 #else
9360 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9361 #endif
9362 }
9363 return pyobj;
9364 }
9365
9366
9367 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9368 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9369 return 1;
9370 }
9371
9372
9373 static PyObject *_wrap_RadioButtonNameStr_get() {
9374 PyObject *pyobj;
9375
9376 {
9377 #if wxUSE_UNICODE
9378 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9379 #else
9380 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9381 #endif
9382 }
9383 return pyobj;
9384 }
9385
9386
9387 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxWindow *arg1 = (wxWindow *) 0 ;
9390 int arg2 ;
9391 wxString *arg3 = 0 ;
9392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9394 wxSize const &arg5_defvalue = wxDefaultSize ;
9395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9396 int arg6 = (int) 0 ;
9397 wxString *arg7 = (wxString *) NULL ;
9398 int arg8 = (int) 0 ;
9399 long arg9 = (long) wxRA_HORIZONTAL ;
9400 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9401 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9402 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9403 wxString *arg11 = (wxString *) &arg11_defvalue ;
9404 wxRadioBox *result;
9405 bool temp3 = False ;
9406 wxPoint temp4 ;
9407 wxSize temp5 ;
9408 bool temp10 = False ;
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj2 = 0 ;
9411 PyObject * obj3 = 0 ;
9412 PyObject * obj4 = 0 ;
9413 PyObject * obj5 = 0 ;
9414 PyObject * obj8 = 0 ;
9415 PyObject * obj9 = 0 ;
9416 char *kwnames[] = {
9417 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9422 {
9423 arg3 = wxString_in_helper(obj2);
9424 if (arg3 == NULL) SWIG_fail;
9425 temp3 = True;
9426 }
9427 if (obj3) {
9428 {
9429 arg4 = &temp4;
9430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9431 }
9432 }
9433 if (obj4) {
9434 {
9435 arg5 = &temp5;
9436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9437 }
9438 }
9439 if (obj5) {
9440 {
9441 arg6 = PyList_Size(obj5);
9442 arg7 = wxString_LIST_helper(obj5);
9443 if (arg7 == NULL) SWIG_fail;
9444 }
9445 }
9446 if (obj8) {
9447 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9448 if (arg10 == NULL) {
9449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9450 }
9451 }
9452 if (obj9) {
9453 {
9454 arg11 = wxString_in_helper(obj9);
9455 if (arg11 == NULL) SWIG_fail;
9456 temp10 = True;
9457 }
9458 }
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 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);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9467 {
9468 if (temp3)
9469 delete arg3;
9470 }
9471 {
9472 if (arg7) delete [] arg7;
9473 }
9474 {
9475 if (temp10)
9476 delete arg11;
9477 }
9478 return resultobj;
9479 fail:
9480 {
9481 if (temp3)
9482 delete arg3;
9483 }
9484 {
9485 if (arg7) delete [] arg7;
9486 }
9487 {
9488 if (temp10)
9489 delete arg11;
9490 }
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxRadioBox *result;
9498 char *kwnames[] = {
9499 NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (wxRadioBox *)new wxRadioBox();
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9520 wxWindow *arg2 = (wxWindow *) 0 ;
9521 int arg3 ;
9522 wxString *arg4 = 0 ;
9523 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9524 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9525 wxSize const &arg6_defvalue = wxDefaultSize ;
9526 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9527 int arg7 = (int) 0 ;
9528 wxString *arg8 = (wxString *) NULL ;
9529 int arg9 = (int) 0 ;
9530 long arg10 = (long) wxRA_HORIZONTAL ;
9531 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9532 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9533 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9534 wxString *arg12 = (wxString *) &arg12_defvalue ;
9535 bool result;
9536 bool temp4 = False ;
9537 wxPoint temp5 ;
9538 wxSize temp6 ;
9539 bool temp11 = False ;
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 PyObject * obj3 = 0 ;
9543 PyObject * obj4 = 0 ;
9544 PyObject * obj5 = 0 ;
9545 PyObject * obj6 = 0 ;
9546 PyObject * obj9 = 0 ;
9547 PyObject * obj10 = 0 ;
9548 char *kwnames[] = {
9549 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9550 };
9551
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9555 {
9556 arg4 = wxString_in_helper(obj3);
9557 if (arg4 == NULL) SWIG_fail;
9558 temp4 = True;
9559 }
9560 if (obj4) {
9561 {
9562 arg5 = &temp5;
9563 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9564 }
9565 }
9566 if (obj5) {
9567 {
9568 arg6 = &temp6;
9569 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9570 }
9571 }
9572 if (obj6) {
9573 {
9574 arg7 = PyList_Size(obj6);
9575 arg8 = wxString_LIST_helper(obj6);
9576 if (arg8 == NULL) SWIG_fail;
9577 }
9578 }
9579 if (obj9) {
9580 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9581 if (arg11 == NULL) {
9582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9583 }
9584 }
9585 if (obj10) {
9586 {
9587 arg12 = wxString_in_helper(obj10);
9588 if (arg12 == NULL) SWIG_fail;
9589 temp11 = True;
9590 }
9591 }
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 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);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 resultobj = PyInt_FromLong((long)result);
9600 {
9601 if (temp4)
9602 delete arg4;
9603 }
9604 {
9605 if (arg8) delete [] arg8;
9606 }
9607 {
9608 if (temp11)
9609 delete arg12;
9610 }
9611 return resultobj;
9612 fail:
9613 {
9614 if (temp4)
9615 delete arg4;
9616 }
9617 {
9618 if (arg8) delete [] arg8;
9619 }
9620 {
9621 if (temp11)
9622 delete arg12;
9623 }
9624 return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9631 int arg2 ;
9632 PyObject * obj0 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "n", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 (arg1)->SetSelection(arg2);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 Py_INCREF(Py_None); resultobj = Py_None;
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9656 int result;
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9667
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 resultobj = PyInt_FromLong((long)result);
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9681 wxString result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697 #if wxUSE_UNICODE
9698 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9699 #else
9700 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9701 #endif
9702 }
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9712 wxString *arg2 = 0 ;
9713 bool result;
9714 bool temp2 = False ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char *kwnames[] = {
9718 (char *) "self",(char *) "s", NULL
9719 };
9720
9721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9723 {
9724 arg2 = wxString_in_helper(obj1);
9725 if (arg2 == NULL) SWIG_fail;
9726 temp2 = True;
9727 }
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = PyInt_FromLong((long)result);
9736 {
9737 if (temp2)
9738 delete arg2;
9739 }
9740 return resultobj;
9741 fail:
9742 {
9743 if (temp2)
9744 delete arg2;
9745 }
9746 return NULL;
9747 }
9748
9749
9750 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj;
9752 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9753 int result;
9754 PyObject * obj0 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self", NULL
9757 };
9758
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (int)((wxRadioBox const *)arg1)->GetCount();
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 resultobj = PyInt_FromLong((long)result);
9769 return resultobj;
9770 fail:
9771 return NULL;
9772 }
9773
9774
9775 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9778 wxString *arg2 = 0 ;
9779 int result;
9780 bool temp2 = False ;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self",(char *) "s", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9789 {
9790 arg2 = wxString_in_helper(obj1);
9791 if (arg2 == NULL) SWIG_fail;
9792 temp2 = True;
9793 }
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 resultobj = PyInt_FromLong((long)result);
9802 {
9803 if (temp2)
9804 delete arg2;
9805 }
9806 return resultobj;
9807 fail:
9808 {
9809 if (temp2)
9810 delete arg2;
9811 }
9812 return NULL;
9813 }
9814
9815
9816 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj;
9818 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9819 int arg2 ;
9820 wxString result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self",(char *) "n", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 {
9836 #if wxUSE_UNICODE
9837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9838 #else
9839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9840 #endif
9841 }
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9851 int arg2 ;
9852 wxString *arg3 = 0 ;
9853 bool temp3 = False ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj2 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self",(char *) "n",(char *) "label", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9862 {
9863 arg3 = wxString_in_helper(obj2);
9864 if (arg3 == NULL) SWIG_fail;
9865 temp3 = True;
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 (arg1)->SetString(arg2,(wxString const &)*arg3);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 Py_INCREF(Py_None); resultobj = Py_None;
9875 {
9876 if (temp3)
9877 delete arg3;
9878 }
9879 return resultobj;
9880 fail:
9881 {
9882 if (temp3)
9883 delete arg3;
9884 }
9885 return NULL;
9886 }
9887
9888
9889 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj;
9891 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9892 int arg2 ;
9893 bool arg3 = (bool) True ;
9894 PyObject * obj0 = 0 ;
9895 PyObject * obj2 = 0 ;
9896 char *kwnames[] = {
9897 (char *) "self",(char *) "n",(char *) "enable", NULL
9898 };
9899
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9902 if (obj2) {
9903 arg3 = PyInt_AsLong(obj2) ? true : false;
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 (arg1)->Enable(arg2,arg3);
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 Py_INCREF(Py_None); resultobj = Py_None;
9914 return resultobj;
9915 fail:
9916 return NULL;
9917 }
9918
9919
9920 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9923 int arg2 ;
9924 bool arg3 = (bool) True ;
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "n",(char *) "show", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9933 if (obj2) {
9934 arg3 = PyInt_AsLong(obj2) ? true : false;
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->Show(arg2,arg3);
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 Py_INCREF(Py_None); resultobj = Py_None;
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj;
9953 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9954 int result;
9955 PyObject * obj0 = 0 ;
9956 char *kwnames[] = {
9957 (char *) "self", NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = PyInt_FromLong((long)result);
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj;
9978 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9979 int result;
9980 PyObject * obj0 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 resultobj = PyInt_FromLong((long)result);
9995 return resultobj;
9996 fail:
9997 return NULL;
9998 }
9999
10000
10001 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj;
10003 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10004 int arg2 ;
10005 int arg3 ;
10006 long arg4 ;
10007 int result;
10008 PyObject * obj0 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 resultobj = PyInt_FromLong((long)result);
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10030 PyObject *obj;
10031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10032 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10033 Py_INCREF(obj);
10034 return Py_BuildValue((char *)"");
10035 }
10036 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxWindow *arg1 = (wxWindow *) 0 ;
10039 int arg2 ;
10040 wxString *arg3 = 0 ;
10041 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10042 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10043 wxSize const &arg5_defvalue = wxDefaultSize ;
10044 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10045 long arg6 = (long) 0 ;
10046 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10047 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10048 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10049 wxString *arg8 = (wxString *) &arg8_defvalue ;
10050 wxRadioButton *result;
10051 bool temp3 = False ;
10052 wxPoint temp4 ;
10053 wxSize temp5 ;
10054 bool temp8 = False ;
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj2 = 0 ;
10057 PyObject * obj3 = 0 ;
10058 PyObject * obj4 = 0 ;
10059 PyObject * obj6 = 0 ;
10060 PyObject * obj7 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10067 {
10068 arg3 = wxString_in_helper(obj2);
10069 if (arg3 == NULL) SWIG_fail;
10070 temp3 = True;
10071 }
10072 if (obj3) {
10073 {
10074 arg4 = &temp4;
10075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10076 }
10077 }
10078 if (obj4) {
10079 {
10080 arg5 = &temp5;
10081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10082 }
10083 }
10084 if (obj6) {
10085 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10086 if (arg7 == NULL) {
10087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10088 }
10089 }
10090 if (obj7) {
10091 {
10092 arg8 = wxString_in_helper(obj7);
10093 if (arg8 == NULL) SWIG_fail;
10094 temp8 = True;
10095 }
10096 }
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10105 {
10106 if (temp3)
10107 delete arg3;
10108 }
10109 {
10110 if (temp8)
10111 delete arg8;
10112 }
10113 return resultobj;
10114 fail:
10115 {
10116 if (temp3)
10117 delete arg3;
10118 }
10119 {
10120 if (temp8)
10121 delete arg8;
10122 }
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxRadioButton *result;
10130 char *kwnames[] = {
10131 NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (wxRadioButton *)new wxRadioButton();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10152 wxWindow *arg2 = (wxWindow *) 0 ;
10153 int arg3 ;
10154 wxString *arg4 = 0 ;
10155 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10156 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10157 wxSize const &arg6_defvalue = wxDefaultSize ;
10158 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10159 long arg7 = (long) 0 ;
10160 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10161 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10162 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10163 wxString *arg9 = (wxString *) &arg9_defvalue ;
10164 bool result;
10165 bool temp4 = False ;
10166 wxPoint temp5 ;
10167 wxSize temp6 ;
10168 bool temp9 = False ;
10169 PyObject * obj0 = 0 ;
10170 PyObject * obj1 = 0 ;
10171 PyObject * obj3 = 0 ;
10172 PyObject * obj4 = 0 ;
10173 PyObject * obj5 = 0 ;
10174 PyObject * obj7 = 0 ;
10175 PyObject * obj8 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10183 {
10184 arg4 = wxString_in_helper(obj3);
10185 if (arg4 == NULL) SWIG_fail;
10186 temp4 = True;
10187 }
10188 if (obj4) {
10189 {
10190 arg5 = &temp5;
10191 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10192 }
10193 }
10194 if (obj5) {
10195 {
10196 arg6 = &temp6;
10197 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10198 }
10199 }
10200 if (obj7) {
10201 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10202 if (arg8 == NULL) {
10203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10204 }
10205 }
10206 if (obj8) {
10207 {
10208 arg9 = wxString_in_helper(obj8);
10209 if (arg9 == NULL) SWIG_fail;
10210 temp9 = True;
10211 }
10212 }
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = PyInt_FromLong((long)result);
10221 {
10222 if (temp4)
10223 delete arg4;
10224 }
10225 {
10226 if (temp9)
10227 delete arg9;
10228 }
10229 return resultobj;
10230 fail:
10231 {
10232 if (temp4)
10233 delete arg4;
10234 }
10235 {
10236 if (temp9)
10237 delete arg9;
10238 }
10239 return NULL;
10240 }
10241
10242
10243 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10246 bool result;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 result = (bool)(arg1)->GetValue();
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = PyInt_FromLong((long)result);
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10271 bool arg2 ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self",(char *) "value", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280 arg2 = PyInt_AsLong(obj1) ? true : false;
10281 if (PyErr_Occurred()) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 (arg1)->SetValue(arg2);
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 Py_INCREF(Py_None); resultobj = Py_None;
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10297 PyObject *obj;
10298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10299 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10300 Py_INCREF(obj);
10301 return Py_BuildValue((char *)"");
10302 }
10303 static int _wrap_SliderNameStr_set(PyObject *_val) {
10304 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10305 return 1;
10306 }
10307
10308
10309 static PyObject *_wrap_SliderNameStr_get() {
10310 PyObject *pyobj;
10311
10312 {
10313 #if wxUSE_UNICODE
10314 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10315 #else
10316 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10317 #endif
10318 }
10319 return pyobj;
10320 }
10321
10322
10323 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxWindow *arg1 = (wxWindow *) 0 ;
10326 int arg2 ;
10327 int arg3 ;
10328 int arg4 ;
10329 int arg5 ;
10330 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10331 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10332 wxSize const &arg7_defvalue = wxDefaultSize ;
10333 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10334 long arg8 = (long) wxSL_HORIZONTAL ;
10335 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10336 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10337 wxString const &arg10_defvalue = wxPySliderNameStr ;
10338 wxString *arg10 = (wxString *) &arg10_defvalue ;
10339 wxSlider *result;
10340 wxPoint temp6 ;
10341 wxSize temp7 ;
10342 bool temp10 = False ;
10343 PyObject * obj0 = 0 ;
10344 PyObject * obj5 = 0 ;
10345 PyObject * obj6 = 0 ;
10346 PyObject * obj8 = 0 ;
10347 PyObject * obj9 = 0 ;
10348 char *kwnames[] = {
10349 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10354 if (obj5) {
10355 {
10356 arg6 = &temp6;
10357 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10358 }
10359 }
10360 if (obj6) {
10361 {
10362 arg7 = &temp7;
10363 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10364 }
10365 }
10366 if (obj8) {
10367 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10368 if (arg9 == NULL) {
10369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10370 }
10371 }
10372 if (obj9) {
10373 {
10374 arg10 = wxString_in_helper(obj9);
10375 if (arg10 == NULL) SWIG_fail;
10376 temp10 = True;
10377 }
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10387 {
10388 if (temp10)
10389 delete arg10;
10390 }
10391 return resultobj;
10392 fail:
10393 {
10394 if (temp10)
10395 delete arg10;
10396 }
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxSlider *result;
10404 char *kwnames[] = {
10405 NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (wxSlider *)new wxSlider();
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxSlider *arg1 = (wxSlider *) 0 ;
10426 wxWindow *arg2 = (wxWindow *) 0 ;
10427 int arg3 ;
10428 int arg4 ;
10429 int arg5 ;
10430 int arg6 ;
10431 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10432 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10433 wxSize const &arg8_defvalue = wxDefaultSize ;
10434 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10435 long arg9 = (long) wxSL_HORIZONTAL ;
10436 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10437 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10438 wxString const &arg11_defvalue = wxPySliderNameStr ;
10439 wxString *arg11 = (wxString *) &arg11_defvalue ;
10440 bool result;
10441 wxPoint temp7 ;
10442 wxSize temp8 ;
10443 bool temp11 = False ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 PyObject * obj6 = 0 ;
10447 PyObject * obj7 = 0 ;
10448 PyObject * obj9 = 0 ;
10449 PyObject * obj10 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10457 if (obj6) {
10458 {
10459 arg7 = &temp7;
10460 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10461 }
10462 }
10463 if (obj7) {
10464 {
10465 arg8 = &temp8;
10466 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10467 }
10468 }
10469 if (obj9) {
10470 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10471 if (arg10 == NULL) {
10472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10473 }
10474 }
10475 if (obj10) {
10476 {
10477 arg11 = wxString_in_helper(obj10);
10478 if (arg11 == NULL) SWIG_fail;
10479 temp11 = True;
10480 }
10481 }
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = PyInt_FromLong((long)result);
10490 {
10491 if (temp11)
10492 delete arg11;
10493 }
10494 return resultobj;
10495 fail:
10496 {
10497 if (temp11)
10498 delete arg11;
10499 }
10500 return NULL;
10501 }
10502
10503
10504 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj;
10506 wxSlider *arg1 = (wxSlider *) 0 ;
10507 int result;
10508 PyObject * obj0 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10515 {
10516 PyThreadState* __tstate = wxPyBeginAllowThreads();
10517 result = (int)((wxSlider const *)arg1)->GetValue();
10518
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 resultobj = PyInt_FromLong((long)result);
10523 return resultobj;
10524 fail:
10525 return NULL;
10526 }
10527
10528
10529 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10530 PyObject *resultobj;
10531 wxSlider *arg1 = (wxSlider *) 0 ;
10532 int arg2 ;
10533 PyObject * obj0 = 0 ;
10534 char *kwnames[] = {
10535 (char *) "self",(char *) "value", NULL
10536 };
10537
10538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 (arg1)->SetValue(arg2);
10543
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 Py_INCREF(Py_None); resultobj = Py_None;
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxSlider *arg1 = (wxSlider *) 0 ;
10557 int arg2 ;
10558 int arg3 ;
10559 PyObject * obj0 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 (arg1)->SetRange(arg2,arg3);
10569
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 Py_INCREF(Py_None); resultobj = Py_None;
10574 return resultobj;
10575 fail:
10576 return NULL;
10577 }
10578
10579
10580 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj;
10582 wxSlider *arg1 = (wxSlider *) 0 ;
10583 int result;
10584 PyObject * obj0 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 result = (int)((wxSlider const *)arg1)->GetMin();
10594
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 resultobj = PyInt_FromLong((long)result);
10599 return resultobj;
10600 fail:
10601 return NULL;
10602 }
10603
10604
10605 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10606 PyObject *resultobj;
10607 wxSlider *arg1 = (wxSlider *) 0 ;
10608 int result;
10609 PyObject * obj0 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (int)((wxSlider const *)arg1)->GetMax();
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 resultobj = PyInt_FromLong((long)result);
10624 return resultobj;
10625 fail:
10626 return NULL;
10627 }
10628
10629
10630 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10631 PyObject *resultobj;
10632 wxSlider *arg1 = (wxSlider *) 0 ;
10633 int arg2 ;
10634 PyObject * obj0 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self",(char *) "minValue", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 (arg1)->SetMin(arg2);
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 Py_INCREF(Py_None); resultobj = Py_None;
10649 return resultobj;
10650 fail:
10651 return NULL;
10652 }
10653
10654
10655 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj;
10657 wxSlider *arg1 = (wxSlider *) 0 ;
10658 int arg2 ;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self",(char *) "maxValue", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 (arg1)->SetMax(arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 Py_INCREF(Py_None); resultobj = Py_None;
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxSlider *arg1 = (wxSlider *) 0 ;
10683 int arg2 ;
10684 PyObject * obj0 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "lineSize", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 (arg1)->SetLineSize(arg2);
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 Py_INCREF(Py_None); resultobj = Py_None;
10699 return resultobj;
10700 fail:
10701 return NULL;
10702 }
10703
10704
10705 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject *resultobj;
10707 wxSlider *arg1 = (wxSlider *) 0 ;
10708 int arg2 ;
10709 PyObject * obj0 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self",(char *) "pageSize", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 (arg1)->SetPageSize(arg2);
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 Py_INCREF(Py_None); resultobj = Py_None;
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj;
10732 wxSlider *arg1 = (wxSlider *) 0 ;
10733 int result;
10734 PyObject * obj0 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (int)((wxSlider const *)arg1)->GetLineSize();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 resultobj = PyInt_FromLong((long)result);
10749 return resultobj;
10750 fail:
10751 return NULL;
10752 }
10753
10754
10755 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10756 PyObject *resultobj;
10757 wxSlider *arg1 = (wxSlider *) 0 ;
10758 int result;
10759 PyObject * obj0 = 0 ;
10760 char *kwnames[] = {
10761 (char *) "self", NULL
10762 };
10763
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 result = (int)((wxSlider const *)arg1)->GetPageSize();
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 resultobj = PyInt_FromLong((long)result);
10774 return resultobj;
10775 fail:
10776 return NULL;
10777 }
10778
10779
10780 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj;
10782 wxSlider *arg1 = (wxSlider *) 0 ;
10783 int arg2 ;
10784 PyObject * obj0 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "lenPixels", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 (arg1)->SetThumbLength(arg2);
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 Py_INCREF(Py_None); resultobj = Py_None;
10799 return resultobj;
10800 fail:
10801 return NULL;
10802 }
10803
10804
10805 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj;
10807 wxSlider *arg1 = (wxSlider *) 0 ;
10808 int result;
10809 PyObject * obj0 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 resultobj = PyInt_FromLong((long)result);
10824 return resultobj;
10825 fail:
10826 return NULL;
10827 }
10828
10829
10830 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxSlider *arg1 = (wxSlider *) 0 ;
10833 int arg2 ;
10834 int arg3 ;
10835 PyObject * obj0 = 0 ;
10836 char *kwnames[] = {
10837 (char *) "self",(char *) "n",(char *) "pos", NULL
10838 };
10839
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 (arg1)->SetTickFreq(arg2,arg3);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 Py_INCREF(Py_None); resultobj = Py_None;
10850 return resultobj;
10851 fail:
10852 return NULL;
10853 }
10854
10855
10856 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10857 PyObject *resultobj;
10858 wxSlider *arg1 = (wxSlider *) 0 ;
10859 int result;
10860 PyObject * obj0 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 resultobj = PyInt_FromLong((long)result);
10875 return resultobj;
10876 fail:
10877 return NULL;
10878 }
10879
10880
10881 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10882 PyObject *resultobj;
10883 wxSlider *arg1 = (wxSlider *) 0 ;
10884 PyObject * obj0 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 (arg1)->ClearTicks();
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 Py_INCREF(Py_None); resultobj = Py_None;
10899 return resultobj;
10900 fail:
10901 return NULL;
10902 }
10903
10904
10905 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10906 PyObject *resultobj;
10907 wxSlider *arg1 = (wxSlider *) 0 ;
10908 int arg2 ;
10909 PyObject * obj0 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self",(char *) "tickPos", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SetTick(arg2);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 return resultobj;
10925 fail:
10926 return NULL;
10927 }
10928
10929
10930 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxSlider *arg1 = (wxSlider *) 0 ;
10933 PyObject * obj0 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 (arg1)->ClearSel();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 Py_INCREF(Py_None); resultobj = Py_None;
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxSlider *arg1 = (wxSlider *) 0 ;
10957 int result;
10958 PyObject * obj0 = 0 ;
10959 char *kwnames[] = {
10960 (char *) "self", NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 resultobj = PyInt_FromLong((long)result);
10973 return resultobj;
10974 fail:
10975 return NULL;
10976 }
10977
10978
10979 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10980 PyObject *resultobj;
10981 wxSlider *arg1 = (wxSlider *) 0 ;
10982 int result;
10983 PyObject * obj0 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "self", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 result = (int)((wxSlider const *)arg1)->GetSelStart();
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 resultobj = PyInt_FromLong((long)result);
10998 return resultobj;
10999 fail:
11000 return NULL;
11001 }
11002
11003
11004 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj;
11006 wxSlider *arg1 = (wxSlider *) 0 ;
11007 int arg2 ;
11008 int arg3 ;
11009 PyObject * obj0 = 0 ;
11010 char *kwnames[] = {
11011 (char *) "self",(char *) "min",(char *) "max", NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 (arg1)->SetSelection(arg2,arg3);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 Py_INCREF(Py_None); resultobj = Py_None;
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11031 PyObject *obj;
11032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11033 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11034 Py_INCREF(obj);
11035 return Py_BuildValue((char *)"");
11036 }
11037 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11038 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11039 return 1;
11040 }
11041
11042
11043 static PyObject *_wrap_ToggleButtonNameStr_get() {
11044 PyObject *pyobj;
11045
11046 {
11047 #if wxUSE_UNICODE
11048 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11049 #else
11050 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11051 #endif
11052 }
11053 return pyobj;
11054 }
11055
11056
11057 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxWindow *arg1 = (wxWindow *) 0 ;
11060 int arg2 ;
11061 wxString *arg3 = 0 ;
11062 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11063 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11064 wxSize const &arg5_defvalue = wxDefaultSize ;
11065 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11066 long arg6 = (long) 0 ;
11067 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11068 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11069 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11070 wxString *arg8 = (wxString *) &arg8_defvalue ;
11071 wxToggleButton *result;
11072 bool temp3 = False ;
11073 wxPoint temp4 ;
11074 wxSize temp5 ;
11075 bool temp8 = False ;
11076 PyObject * obj0 = 0 ;
11077 PyObject * obj2 = 0 ;
11078 PyObject * obj3 = 0 ;
11079 PyObject * obj4 = 0 ;
11080 PyObject * obj6 = 0 ;
11081 PyObject * obj7 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11088 {
11089 arg3 = wxString_in_helper(obj2);
11090 if (arg3 == NULL) SWIG_fail;
11091 temp3 = True;
11092 }
11093 if (obj3) {
11094 {
11095 arg4 = &temp4;
11096 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11097 }
11098 }
11099 if (obj4) {
11100 {
11101 arg5 = &temp5;
11102 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11103 }
11104 }
11105 if (obj6) {
11106 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11107 if (arg7 == NULL) {
11108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11109 }
11110 }
11111 if (obj7) {
11112 {
11113 arg8 = wxString_in_helper(obj7);
11114 if (arg8 == NULL) SWIG_fail;
11115 temp8 = True;
11116 }
11117 }
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11126 {
11127 if (temp3)
11128 delete arg3;
11129 }
11130 {
11131 if (temp8)
11132 delete arg8;
11133 }
11134 return resultobj;
11135 fail:
11136 {
11137 if (temp3)
11138 delete arg3;
11139 }
11140 {
11141 if (temp8)
11142 delete arg8;
11143 }
11144 return NULL;
11145 }
11146
11147
11148 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxToggleButton *result;
11151 char *kwnames[] = {
11152 NULL
11153 };
11154
11155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (wxToggleButton *)new wxToggleButton();
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11173 wxWindow *arg2 = (wxWindow *) 0 ;
11174 int arg3 ;
11175 wxString *arg4 = 0 ;
11176 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11177 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11178 wxSize const &arg6_defvalue = wxDefaultSize ;
11179 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11180 long arg7 = (long) 0 ;
11181 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11182 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11183 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11184 wxString *arg9 = (wxString *) &arg9_defvalue ;
11185 bool result;
11186 bool temp4 = False ;
11187 wxPoint temp5 ;
11188 wxSize temp6 ;
11189 bool temp9 = False ;
11190 PyObject * obj0 = 0 ;
11191 PyObject * obj1 = 0 ;
11192 PyObject * obj3 = 0 ;
11193 PyObject * obj4 = 0 ;
11194 PyObject * obj5 = 0 ;
11195 PyObject * obj7 = 0 ;
11196 PyObject * obj8 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 {
11205 arg4 = wxString_in_helper(obj3);
11206 if (arg4 == NULL) SWIG_fail;
11207 temp4 = True;
11208 }
11209 if (obj4) {
11210 {
11211 arg5 = &temp5;
11212 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11213 }
11214 }
11215 if (obj5) {
11216 {
11217 arg6 = &temp6;
11218 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11219 }
11220 }
11221 if (obj7) {
11222 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11223 if (arg8 == NULL) {
11224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11225 }
11226 }
11227 if (obj8) {
11228 {
11229 arg9 = wxString_in_helper(obj8);
11230 if (arg9 == NULL) SWIG_fail;
11231 temp9 = True;
11232 }
11233 }
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = PyInt_FromLong((long)result);
11242 {
11243 if (temp4)
11244 delete arg4;
11245 }
11246 {
11247 if (temp9)
11248 delete arg9;
11249 }
11250 return resultobj;
11251 fail:
11252 {
11253 if (temp4)
11254 delete arg4;
11255 }
11256 {
11257 if (temp9)
11258 delete arg9;
11259 }
11260 return NULL;
11261 }
11262
11263
11264 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11267 bool arg2 ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "value", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11276 arg2 = PyInt_AsLong(obj1) ? true : false;
11277 if (PyErr_Occurred()) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 (arg1)->SetValue(arg2);
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 Py_INCREF(Py_None); resultobj = Py_None;
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11295 bool result;
11296 PyObject * obj0 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = PyInt_FromLong((long)result);
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11320 wxString *arg2 = 0 ;
11321 bool temp2 = False ;
11322 PyObject * obj0 = 0 ;
11323 PyObject * obj1 = 0 ;
11324 char *kwnames[] = {
11325 (char *) "self",(char *) "label", NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11330 {
11331 arg2 = wxString_in_helper(obj1);
11332 if (arg2 == NULL) SWIG_fail;
11333 temp2 = True;
11334 }
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 (arg1)->SetLabel((wxString const &)*arg2);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 Py_INCREF(Py_None); resultobj = Py_None;
11343 {
11344 if (temp2)
11345 delete arg2;
11346 }
11347 return resultobj;
11348 fail:
11349 {
11350 if (temp2)
11351 delete arg2;
11352 }
11353 return NULL;
11354 }
11355
11356
11357 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11358 PyObject *obj;
11359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11360 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11361 Py_INCREF(obj);
11362 return Py_BuildValue((char *)"");
11363 }
11364 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11365 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11366 return 1;
11367 }
11368
11369
11370 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11371 PyObject *pyobj;
11372
11373 {
11374 #if wxUSE_UNICODE
11375 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11376 #else
11377 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11378 #endif
11379 }
11380 return pyobj;
11381 }
11382
11383
11384 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11385 PyObject *resultobj;
11386 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11387 size_t result;
11388 PyObject * obj0 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 resultobj = PyInt_FromLong((long)result);
11403 return resultobj;
11404 fail:
11405 return NULL;
11406 }
11407
11408
11409 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11412 size_t arg2 ;
11413 wxWindow *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_GetPage",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 = (wxWindow *)(arg1)->GetPage(arg2);
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 {
11432 resultobj = wxPyMake_wxObject(result);
11433 }
11434 return resultobj;
11435 fail:
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11443 int result;
11444 PyObject * obj0 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = PyInt_FromLong((long)result);
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11468 size_t arg2 ;
11469 wxString *arg3 = 0 ;
11470 bool result;
11471 bool temp3 = False ;
11472 PyObject * obj0 = 0 ;
11473 PyObject * obj1 = 0 ;
11474 PyObject * obj2 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "n",(char *) "strText", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11481 arg2 = (size_t) PyInt_AsLong(obj1);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 {
11484 arg3 = wxString_in_helper(obj2);
11485 if (arg3 == NULL) SWIG_fail;
11486 temp3 = True;
11487 }
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11491
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 resultobj = PyInt_FromLong((long)result);
11496 {
11497 if (temp3)
11498 delete arg3;
11499 }
11500 return resultobj;
11501 fail:
11502 {
11503 if (temp3)
11504 delete arg3;
11505 }
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11513 size_t arg2 ;
11514 wxString result;
11515 PyObject * obj0 = 0 ;
11516 PyObject * obj1 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self",(char *) "n", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11523 arg2 = (size_t) PyInt_AsLong(obj1);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 #if wxUSE_UNICODE
11534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11535 #else
11536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11537 #endif
11538 }
11539 return resultobj;
11540 fail:
11541 return NULL;
11542 }
11543
11544
11545 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11548 wxImageList *arg2 = (wxImageList *) 0 ;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "imageList", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SetImageList(arg2);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11575 wxImageList *arg2 = (wxImageList *) 0 ;
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self",(char *) "imageList", NULL
11580 };
11581
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 (arg1)->AssignImageList(arg2);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 Py_INCREF(Py_None); resultobj = Py_None;
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11602 wxImageList *result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 {
11618 resultobj = wxPyMake_wxObject(result);
11619 }
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11629 size_t arg2 ;
11630 int result;
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self",(char *) "n", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11639 arg2 = (size_t) PyInt_AsLong(obj1);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 resultobj = PyInt_FromLong((long)result);
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11656 PyObject *resultobj;
11657 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11658 size_t arg2 ;
11659 int arg3 ;
11660 bool result;
11661 PyObject * obj0 = 0 ;
11662 PyObject * obj1 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self",(char *) "n",(char *) "imageId", NULL
11665 };
11666
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 arg2 = (size_t) PyInt_AsLong(obj1);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 resultobj = PyInt_FromLong((long)result);
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11688 wxSize *arg2 = 0 ;
11689 wxSize temp2 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "size", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11698 {
11699 arg2 = &temp2;
11700 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11701 }
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->SetPageSize((wxSize const &)*arg2);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj;
11718 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11719 wxSize *arg2 = 0 ;
11720 wxSize result;
11721 wxSize temp2 ;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self",(char *) "sizePage", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11730 {
11731 arg2 = &temp2;
11732 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11733 }
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 {
11742 wxSize * resultptr;
11743 resultptr = new wxSize((wxSize &) result);
11744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11745 }
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj;
11754 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11755 size_t arg2 ;
11756 bool result;
11757 PyObject * obj0 = 0 ;
11758 PyObject * obj1 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self",(char *) "n", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11765 arg2 = (size_t) PyInt_AsLong(obj1);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 result = (bool)(arg1)->DeletePage(arg2);
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 resultobj = PyInt_FromLong((long)result);
11775 return resultobj;
11776 fail:
11777 return NULL;
11778 }
11779
11780
11781 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj;
11783 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11784 size_t arg2 ;
11785 bool result;
11786 PyObject * obj0 = 0 ;
11787 PyObject * obj1 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self",(char *) "n", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11794 arg2 = (size_t) PyInt_AsLong(obj1);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 result = (bool)(arg1)->RemovePage(arg2);
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 resultobj = PyInt_FromLong((long)result);
11804 return resultobj;
11805 fail:
11806 return NULL;
11807 }
11808
11809
11810 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj;
11812 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11813 bool result;
11814 PyObject * obj0 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "self", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = (bool)(arg1)->DeleteAllPages();
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 resultobj = PyInt_FromLong((long)result);
11829 return resultobj;
11830 fail:
11831 return NULL;
11832 }
11833
11834
11835 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj;
11837 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11838 wxWindow *arg2 = (wxWindow *) 0 ;
11839 wxString *arg3 = 0 ;
11840 bool arg4 = (bool) False ;
11841 int arg5 = (int) -1 ;
11842 bool result;
11843 bool temp3 = False ;
11844 PyObject * obj0 = 0 ;
11845 PyObject * obj1 = 0 ;
11846 PyObject * obj2 = 0 ;
11847 PyObject * obj3 = 0 ;
11848 char *kwnames[] = {
11849 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11850 };
11851
11852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11854 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11855 {
11856 arg3 = wxString_in_helper(obj2);
11857 if (arg3 == NULL) SWIG_fail;
11858 temp3 = True;
11859 }
11860 if (obj3) {
11861 arg4 = PyInt_AsLong(obj3) ? true : false;
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 resultobj = PyInt_FromLong((long)result);
11872 {
11873 if (temp3)
11874 delete arg3;
11875 }
11876 return resultobj;
11877 fail:
11878 {
11879 if (temp3)
11880 delete arg3;
11881 }
11882 return NULL;
11883 }
11884
11885
11886 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11889 size_t arg2 ;
11890 wxWindow *arg3 = (wxWindow *) 0 ;
11891 wxString *arg4 = 0 ;
11892 bool arg5 = (bool) False ;
11893 int arg6 = (int) -1 ;
11894 bool result;
11895 bool temp4 = False ;
11896 PyObject * obj0 = 0 ;
11897 PyObject * obj1 = 0 ;
11898 PyObject * obj2 = 0 ;
11899 PyObject * obj3 = 0 ;
11900 PyObject * obj4 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11907 arg2 = (size_t) PyInt_AsLong(obj1);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11910 {
11911 arg4 = wxString_in_helper(obj3);
11912 if (arg4 == NULL) SWIG_fail;
11913 temp4 = True;
11914 }
11915 if (obj4) {
11916 arg5 = PyInt_AsLong(obj4) ? true : false;
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11922
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = PyInt_FromLong((long)result);
11927 {
11928 if (temp4)
11929 delete arg4;
11930 }
11931 return resultobj;
11932 fail:
11933 {
11934 if (temp4)
11935 delete arg4;
11936 }
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11944 size_t arg2 ;
11945 int result;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self",(char *) "n", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11954 arg2 = (size_t) PyInt_AsLong(obj1);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 result = (int)(arg1)->SetSelection(arg2);
11959
11960 wxPyEndAllowThreads(__tstate);
11961 if (PyErr_Occurred()) SWIG_fail;
11962 }
11963 resultobj = PyInt_FromLong((long)result);
11964 return resultobj;
11965 fail:
11966 return NULL;
11967 }
11968
11969
11970 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj;
11972 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11973 bool arg2 = (bool) True ;
11974 PyObject * obj0 = 0 ;
11975 PyObject * obj1 = 0 ;
11976 char *kwnames[] = {
11977 (char *) "self",(char *) "forward", NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11982 if (obj1) {
11983 arg2 = PyInt_AsLong(obj1) ? true : false;
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->AdvanceSelection(arg2);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 Py_INCREF(Py_None); resultobj = Py_None;
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12001 PyObject *obj;
12002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12003 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12004 Py_INCREF(obj);
12005 return Py_BuildValue((char *)"");
12006 }
12007 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12010 int arg2 = (int) 0 ;
12011 int arg3 = (int) -1 ;
12012 int arg4 = (int) -1 ;
12013 wxBookCtrlEvent *result;
12014 char *kwnames[] = {
12015 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12036 int result;
12037 PyObject * obj0 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 resultobj = PyInt_FromLong((long)result);
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12061 int arg2 ;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self",(char *) "nSel", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->SetSelection(arg2);
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 Py_INCREF(Py_None); resultobj = Py_None;
12077 return resultobj;
12078 fail:
12079 return NULL;
12080 }
12081
12082
12083 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12086 int result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = PyInt_FromLong((long)result);
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12111 int arg2 ;
12112 PyObject * obj0 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self",(char *) "nOldSel", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 (arg1)->SetOldSelection(arg2);
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12134 PyObject *obj;
12135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12136 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12137 Py_INCREF(obj);
12138 return Py_BuildValue((char *)"");
12139 }
12140 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxWindow *arg1 = (wxWindow *) 0 ;
12143 int arg2 ;
12144 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12145 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12146 wxSize const &arg4_defvalue = wxDefaultSize ;
12147 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12148 long arg5 = (long) 0 ;
12149 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12150 wxString *arg6 = (wxString *) &arg6_defvalue ;
12151 wxNotebook *result;
12152 wxPoint temp3 ;
12153 wxSize temp4 ;
12154 bool temp6 = False ;
12155 PyObject * obj0 = 0 ;
12156 PyObject * obj2 = 0 ;
12157 PyObject * obj3 = 0 ;
12158 PyObject * obj5 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12165 if (obj2) {
12166 {
12167 arg3 = &temp3;
12168 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12169 }
12170 }
12171 if (obj3) {
12172 {
12173 arg4 = &temp4;
12174 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12175 }
12176 }
12177 if (obj5) {
12178 {
12179 arg6 = wxString_in_helper(obj5);
12180 if (arg6 == NULL) SWIG_fail;
12181 temp6 = True;
12182 }
12183 }
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 {
12192 resultobj = wxPyMake_wxObject(result);
12193 }
12194 {
12195 if (temp6)
12196 delete arg6;
12197 }
12198 return resultobj;
12199 fail:
12200 {
12201 if (temp6)
12202 delete arg6;
12203 }
12204 return NULL;
12205 }
12206
12207
12208 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxNotebook *result;
12211 char *kwnames[] = {
12212 NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 result = (wxNotebook *)new wxNotebook();
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 {
12224 resultobj = wxPyMake_wxObject(result);
12225 }
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxNotebook *arg1 = (wxNotebook *) 0 ;
12235 wxWindow *arg2 = (wxWindow *) 0 ;
12236 int arg3 ;
12237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12239 wxSize const &arg5_defvalue = wxDefaultSize ;
12240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12241 long arg6 = (long) 0 ;
12242 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12243 wxString *arg7 = (wxString *) &arg7_defvalue ;
12244 bool result;
12245 wxPoint temp4 ;
12246 wxSize temp5 ;
12247 bool temp7 = False ;
12248 PyObject * obj0 = 0 ;
12249 PyObject * obj1 = 0 ;
12250 PyObject * obj3 = 0 ;
12251 PyObject * obj4 = 0 ;
12252 PyObject * obj6 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12255 };
12256
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12260 if (obj3) {
12261 {
12262 arg4 = &temp4;
12263 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12264 }
12265 }
12266 if (obj4) {
12267 {
12268 arg5 = &temp5;
12269 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12270 }
12271 }
12272 if (obj6) {
12273 {
12274 arg7 = wxString_in_helper(obj6);
12275 if (arg7 == NULL) SWIG_fail;
12276 temp7 = True;
12277 }
12278 }
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = PyInt_FromLong((long)result);
12287 {
12288 if (temp7)
12289 delete arg7;
12290 }
12291 return resultobj;
12292 fail:
12293 {
12294 if (temp7)
12295 delete arg7;
12296 }
12297 return NULL;
12298 }
12299
12300
12301 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj;
12303 wxNotebook *arg1 = (wxNotebook *) 0 ;
12304 int result;
12305 PyObject * obj0 = 0 ;
12306 char *kwnames[] = {
12307 (char *) "self", NULL
12308 };
12309
12310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = PyInt_FromLong((long)result);
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxNotebook *arg1 = (wxNotebook *) 0 ;
12329 wxSize *arg2 = 0 ;
12330 wxSize temp2 ;
12331 PyObject * obj0 = 0 ;
12332 PyObject * obj1 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self",(char *) "padding", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12339 {
12340 arg2 = &temp2;
12341 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->SetPadding((wxSize const &)*arg2);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354 }
12355
12356
12357 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxNotebook *arg1 = (wxNotebook *) 0 ;
12360 wxSize *arg2 = 0 ;
12361 wxSize temp2 ;
12362 PyObject * obj0 = 0 ;
12363 PyObject * obj1 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self",(char *) "sz", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12370 {
12371 arg2 = &temp2;
12372 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12373 }
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 (arg1)->SetTabSize((wxSize const &)*arg2);
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 Py_INCREF(Py_None); resultobj = Py_None;
12382 return resultobj;
12383 fail:
12384 return NULL;
12385 }
12386
12387
12388 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxNotebook *arg1 = (wxNotebook *) 0 ;
12391 wxPoint *arg2 = 0 ;
12392 long *arg3 = (long *) 0 ;
12393 int result;
12394 wxPoint temp2 ;
12395 long temp3 ;
12396 PyObject * obj0 = 0 ;
12397 PyObject * obj1 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "pt", NULL
12400 };
12401
12402 arg3 = &temp3;
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12405 {
12406 arg2 = &temp2;
12407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12408 }
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 resultobj = PyInt_FromLong((long)result);
12417 {
12418 PyObject *o = PyInt_FromLong((long) (*arg3));
12419 resultobj = t_output_helper(resultobj,o);
12420 }
12421 return resultobj;
12422 fail:
12423 return NULL;
12424 }
12425
12426
12427 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12428 PyObject *resultobj;
12429 wxNotebook *arg1 = (wxNotebook *) 0 ;
12430 wxSize *arg2 = 0 ;
12431 wxSize result;
12432 wxSize temp2 ;
12433 PyObject * obj0 = 0 ;
12434 PyObject * obj1 = 0 ;
12435 char *kwnames[] = {
12436 (char *) "self",(char *) "sizePage", NULL
12437 };
12438
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12441 {
12442 arg2 = &temp2;
12443 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12444 }
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 {
12453 wxSize * resultptr;
12454 resultptr = new wxSize((wxSize &) result);
12455 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12456 }
12457 return resultobj;
12458 fail:
12459 return NULL;
12460 }
12461
12462
12463 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12464 PyObject *obj;
12465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12466 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12467 Py_INCREF(obj);
12468 return Py_BuildValue((char *)"");
12469 }
12470 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj;
12472 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12473 int arg2 = (int) 0 ;
12474 int arg3 = (int) -1 ;
12475 int arg4 = (int) -1 ;
12476 wxNotebookEvent *result;
12477 char *kwnames[] = {
12478 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12479 };
12480
12481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12497 PyObject *obj;
12498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12499 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12500 Py_INCREF(obj);
12501 return Py_BuildValue((char *)"");
12502 }
12503 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj;
12505 wxWindow *arg1 = (wxWindow *) 0 ;
12506 int arg2 ;
12507 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12508 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12509 wxSize const &arg4_defvalue = wxDefaultSize ;
12510 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12511 long arg5 = (long) 0 ;
12512 wxString const &arg6_defvalue = wxPyEmptyString ;
12513 wxString *arg6 = (wxString *) &arg6_defvalue ;
12514 wxListbook *result;
12515 wxPoint temp3 ;
12516 wxSize temp4 ;
12517 bool temp6 = False ;
12518 PyObject * obj0 = 0 ;
12519 PyObject * obj2 = 0 ;
12520 PyObject * obj3 = 0 ;
12521 PyObject * obj5 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12528 if (obj2) {
12529 {
12530 arg3 = &temp3;
12531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12532 }
12533 }
12534 if (obj3) {
12535 {
12536 arg4 = &temp4;
12537 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12538 }
12539 }
12540 if (obj5) {
12541 {
12542 arg6 = wxString_in_helper(obj5);
12543 if (arg6 == NULL) SWIG_fail;
12544 temp6 = True;
12545 }
12546 }
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12555 {
12556 if (temp6)
12557 delete arg6;
12558 }
12559 return resultobj;
12560 fail:
12561 {
12562 if (temp6)
12563 delete arg6;
12564 }
12565 return NULL;
12566 }
12567
12568
12569 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12570 PyObject *resultobj;
12571 wxListbook *result;
12572 char *kwnames[] = {
12573 NULL
12574 };
12575
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = (wxListbook *)new wxListbook();
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12585 return resultobj;
12586 fail:
12587 return NULL;
12588 }
12589
12590
12591 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12592 PyObject *resultobj;
12593 wxListbook *arg1 = (wxListbook *) 0 ;
12594 wxWindow *arg2 = (wxWindow *) 0 ;
12595 int arg3 ;
12596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12598 wxSize const &arg5_defvalue = wxDefaultSize ;
12599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12600 long arg6 = (long) 0 ;
12601 wxString const &arg7_defvalue = wxPyEmptyString ;
12602 wxString *arg7 = (wxString *) &arg7_defvalue ;
12603 bool result;
12604 wxPoint temp4 ;
12605 wxSize temp5 ;
12606 bool temp7 = False ;
12607 PyObject * obj0 = 0 ;
12608 PyObject * obj1 = 0 ;
12609 PyObject * obj3 = 0 ;
12610 PyObject * obj4 = 0 ;
12611 PyObject * obj6 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12619 if (obj3) {
12620 {
12621 arg4 = &temp4;
12622 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12623 }
12624 }
12625 if (obj4) {
12626 {
12627 arg5 = &temp5;
12628 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12629 }
12630 }
12631 if (obj6) {
12632 {
12633 arg7 = wxString_in_helper(obj6);
12634 if (arg7 == NULL) SWIG_fail;
12635 temp7 = True;
12636 }
12637 }
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 resultobj = PyInt_FromLong((long)result);
12646 {
12647 if (temp7)
12648 delete arg7;
12649 }
12650 return resultobj;
12651 fail:
12652 {
12653 if (temp7)
12654 delete arg7;
12655 }
12656 return NULL;
12657 }
12658
12659
12660 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12661 PyObject *resultobj;
12662 wxListbook *arg1 = (wxListbook *) 0 ;
12663 bool result;
12664 PyObject * obj0 = 0 ;
12665 char *kwnames[] = {
12666 (char *) "self", NULL
12667 };
12668
12669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 result = (bool)((wxListbook const *)arg1)->IsVertical();
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 resultobj = PyInt_FromLong((long)result);
12679 return resultobj;
12680 fail:
12681 return NULL;
12682 }
12683
12684
12685 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12686 PyObject *obj;
12687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12688 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12689 Py_INCREF(obj);
12690 return Py_BuildValue((char *)"");
12691 }
12692 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12695 int arg2 = (int) 0 ;
12696 int arg3 = (int) -1 ;
12697 int arg4 = (int) -1 ;
12698 wxListbookEvent *result;
12699 char *kwnames[] = {
12700 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12712 return resultobj;
12713 fail:
12714 return NULL;
12715 }
12716
12717
12718 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12719 PyObject *obj;
12720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12722 Py_INCREF(obj);
12723 return Py_BuildValue((char *)"");
12724 }
12725 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12728 wxBookCtrlSizer *result;
12729 PyObject * obj0 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "nb", NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12744 return resultobj;
12745 fail:
12746 return NULL;
12747 }
12748
12749
12750 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12753 PyObject * obj0 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 (arg1)->RecalcSizes();
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 Py_INCREF(Py_None); resultobj = Py_None;
12768 return resultobj;
12769 fail:
12770 return NULL;
12771 }
12772
12773
12774 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12777 wxSize result;
12778 PyObject * obj0 = 0 ;
12779 char *kwnames[] = {
12780 (char *) "self", NULL
12781 };
12782
12783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 result = (arg1)->CalcMin();
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 {
12793 wxSize * resultptr;
12794 resultptr = new wxSize((wxSize &) result);
12795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12796 }
12797 return resultobj;
12798 fail:
12799 return NULL;
12800 }
12801
12802
12803 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject *resultobj;
12805 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12806 wxBookCtrl *result;
12807 PyObject * obj0 = 0 ;
12808 char *kwnames[] = {
12809 (char *) "self", NULL
12810 };
12811
12812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 result = (wxBookCtrl *)(arg1)->GetControl();
12817
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12822 return resultobj;
12823 fail:
12824 return NULL;
12825 }
12826
12827
12828 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12829 PyObject *obj;
12830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12831 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12832 Py_INCREF(obj);
12833 return Py_BuildValue((char *)"");
12834 }
12835 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12836 PyObject *resultobj;
12837 wxNotebook *arg1 = (wxNotebook *) 0 ;
12838 wxNotebookSizer *result;
12839 PyObject * obj0 = 0 ;
12840 char *kwnames[] = {
12841 (char *) "nb", NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12849
12850 wxPyEndAllowThreads(__tstate);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 }
12853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12854 return resultobj;
12855 fail:
12856 return NULL;
12857 }
12858
12859
12860 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12861 PyObject *resultobj;
12862 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12863 PyObject * obj0 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->RecalcSizes();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 Py_INCREF(Py_None); resultobj = Py_None;
12878 return resultobj;
12879 fail:
12880 return NULL;
12881 }
12882
12883
12884 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj;
12886 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12887 wxSize result;
12888 PyObject * obj0 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (arg1)->CalcMin();
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 {
12903 wxSize * resultptr;
12904 resultptr = new wxSize((wxSize &) result);
12905 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12906 }
12907 return resultobj;
12908 fail:
12909 return NULL;
12910 }
12911
12912
12913 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj;
12915 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12916 wxNotebook *result;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12924 {
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 result = (wxNotebook *)(arg1)->GetNotebook();
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 {
12932 resultobj = wxPyMake_wxObject(result);
12933 }
12934 return resultobj;
12935 fail:
12936 return NULL;
12937 }
12938
12939
12940 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12941 PyObject *obj;
12942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12943 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12944 Py_INCREF(obj);
12945 return Py_BuildValue((char *)"");
12946 }
12947 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12948 PyObject *resultobj;
12949 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12950 int result;
12951 PyObject * obj0 = 0 ;
12952 char *kwnames[] = {
12953 (char *) "self", NULL
12954 };
12955
12956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (int)(arg1)->GetId();
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 resultobj = PyInt_FromLong((long)result);
12966 return resultobj;
12967 fail:
12968 return NULL;
12969 }
12970
12971
12972 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12973 PyObject *resultobj;
12974 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12975 wxControl *result;
12976 PyObject * obj0 = 0 ;
12977 char *kwnames[] = {
12978 (char *) "self", NULL
12979 };
12980
12981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 result = (wxControl *)(arg1)->GetControl();
12986
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 {
12991 resultobj = wxPyMake_wxObject(result);
12992 }
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13002 wxToolBarBase *result;
13003 PyObject * obj0 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxToolBarBase *)(arg1)->GetToolBar();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 {
13018 resultobj = wxPyMake_wxObject(result);
13019 }
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13029 int result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (int)(arg1)->IsButton();
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = PyInt_FromLong((long)result);
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj;
13053 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13054 int result;
13055 PyObject * obj0 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 result = (int)(arg1)->IsControl();
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 resultobj = PyInt_FromLong((long)result);
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13079 int result;
13080 PyObject * obj0 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (int)(arg1)->IsSeparator();
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 resultobj = PyInt_FromLong((long)result);
13095 return resultobj;
13096 fail:
13097 return NULL;
13098 }
13099
13100
13101 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13102 PyObject *resultobj;
13103 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13104 int result;
13105 PyObject * obj0 = 0 ;
13106 char *kwnames[] = {
13107 (char *) "self", NULL
13108 };
13109
13110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (int)(arg1)->GetStyle();
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 resultobj = PyInt_FromLong((long)result);
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (int)(arg1)->GetKind();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 resultobj = PyInt_FromLong((long)result);
13145 return resultobj;
13146 fail:
13147 return NULL;
13148 }
13149
13150
13151 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13154 bool result;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 result = (bool)(arg1)->IsEnabled();
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 resultobj = PyInt_FromLong((long)result);
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13179 bool result;
13180 PyObject * obj0 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (bool)(arg1)->IsToggled();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 resultobj = PyInt_FromLong((long)result);
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13204 bool result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (bool)(arg1)->CanBeToggled();
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = PyInt_FromLong((long)result);
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13229 wxBitmap *result;
13230 PyObject * obj0 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 {
13240 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13241 result = (wxBitmap *) &_result_ref;
13242 }
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13248 return resultobj;
13249 fail:
13250 return NULL;
13251 }
13252
13253
13254 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13255 PyObject *resultobj;
13256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13257 wxBitmap *result;
13258 PyObject * obj0 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13265 {
13266 PyThreadState* __tstate = wxPyBeginAllowThreads();
13267 {
13268 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13269 result = (wxBitmap *) &_result_ref;
13270 }
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13276 return resultobj;
13277 fail:
13278 return NULL;
13279 }
13280
13281
13282 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13285 wxBitmap result;
13286 PyObject * obj0 = 0 ;
13287 char *kwnames[] = {
13288 (char *) "self", NULL
13289 };
13290
13291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 result = (arg1)->GetBitmap();
13296
13297 wxPyEndAllowThreads(__tstate);
13298 if (PyErr_Occurred()) SWIG_fail;
13299 }
13300 {
13301 wxBitmap * resultptr;
13302 resultptr = new wxBitmap((wxBitmap &) result);
13303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13304 }
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13314 wxString result;
13315 PyObject * obj0 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (arg1)->GetLabel();
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 {
13330 #if wxUSE_UNICODE
13331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13332 #else
13333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13334 #endif
13335 }
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13345 wxString result;
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (arg1)->GetShortHelp();
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 {
13361 #if wxUSE_UNICODE
13362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13363 #else
13364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13365 #endif
13366 }
13367 return resultobj;
13368 fail:
13369 return NULL;
13370 }
13371
13372
13373 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13376 wxString result;
13377 PyObject * obj0 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "self", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 result = (arg1)->GetLongHelp();
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 {
13392 #if wxUSE_UNICODE
13393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13394 #else
13395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13396 #endif
13397 }
13398 return resultobj;
13399 fail:
13400 return NULL;
13401 }
13402
13403
13404 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13405 PyObject *resultobj;
13406 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13407 bool arg2 ;
13408 bool result;
13409 PyObject * obj0 = 0 ;
13410 PyObject * obj1 = 0 ;
13411 char *kwnames[] = {
13412 (char *) "self",(char *) "enable", NULL
13413 };
13414
13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13417 arg2 = PyInt_AsLong(obj1) ? true : false;
13418 if (PyErr_Occurred()) SWIG_fail;
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (bool)(arg1)->Enable(arg2);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 resultobj = PyInt_FromLong((long)result);
13427 return resultobj;
13428 fail:
13429 return NULL;
13430 }
13431
13432
13433 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13434 PyObject *resultobj;
13435 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13436 PyObject * obj0 = 0 ;
13437 char *kwnames[] = {
13438 (char *) "self", NULL
13439 };
13440
13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->Toggle();
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 return resultobj;
13452 fail:
13453 return NULL;
13454 }
13455
13456
13457 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13460 bool arg2 ;
13461 bool result;
13462 PyObject * obj0 = 0 ;
13463 PyObject * obj1 = 0 ;
13464 char *kwnames[] = {
13465 (char *) "self",(char *) "toggle", NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13470 arg2 = PyInt_AsLong(obj1) ? true : false;
13471 if (PyErr_Occurred()) SWIG_fail;
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (bool)(arg1)->SetToggle(arg2);
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 resultobj = PyInt_FromLong((long)result);
13480 return resultobj;
13481 fail:
13482 return NULL;
13483 }
13484
13485
13486 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13489 wxString *arg2 = 0 ;
13490 bool result;
13491 bool temp2 = False ;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "help", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 {
13501 arg2 = wxString_in_helper(obj1);
13502 if (arg2 == NULL) SWIG_fail;
13503 temp2 = True;
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = PyInt_FromLong((long)result);
13513 {
13514 if (temp2)
13515 delete arg2;
13516 }
13517 return resultobj;
13518 fail:
13519 {
13520 if (temp2)
13521 delete arg2;
13522 }
13523 return NULL;
13524 }
13525
13526
13527 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13530 wxString *arg2 = 0 ;
13531 bool result;
13532 bool temp2 = False ;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self",(char *) "help", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13541 {
13542 arg2 = wxString_in_helper(obj1);
13543 if (arg2 == NULL) SWIG_fail;
13544 temp2 = True;
13545 }
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = PyInt_FromLong((long)result);
13554 {
13555 if (temp2)
13556 delete arg2;
13557 }
13558 return resultobj;
13559 fail:
13560 {
13561 if (temp2)
13562 delete arg2;
13563 }
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13571 wxBitmap *arg2 = 0 ;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "self",(char *) "bmp", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13581 if (arg2 == NULL) {
13582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13601 wxBitmap *arg2 = 0 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "bmp", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13611 if (arg2 == NULL) {
13612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13613 }
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 Py_INCREF(Py_None); resultobj = Py_None;
13622 return resultobj;
13623 fail:
13624 return NULL;
13625 }
13626
13627
13628 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13629 PyObject *resultobj;
13630 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13631 wxString *arg2 = 0 ;
13632 bool temp2 = False ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self",(char *) "label", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 {
13642 arg2 = wxString_in_helper(obj1);
13643 if (arg2 == NULL) SWIG_fail;
13644 temp2 = True;
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->SetLabel((wxString const &)*arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 Py_INCREF(Py_None); resultobj = Py_None;
13654 {
13655 if (temp2)
13656 delete arg2;
13657 }
13658 return resultobj;
13659 fail:
13660 {
13661 if (temp2)
13662 delete arg2;
13663 }
13664 return NULL;
13665 }
13666
13667
13668 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj;
13670 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13671 PyObject * obj0 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 (arg1)->Detach();
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 Py_INCREF(Py_None); resultobj = Py_None;
13686 return resultobj;
13687 fail:
13688 return NULL;
13689 }
13690
13691
13692 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13695 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "tbar", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 (arg1)->Attach(arg2);
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 Py_INCREF(Py_None); resultobj = Py_None;
13713 return resultobj;
13714 fail:
13715 return NULL;
13716 }
13717
13718
13719 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13722 PyObject *result;
13723 PyObject * obj0 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 resultobj = result;
13738 return resultobj;
13739 fail:
13740 return NULL;
13741 }
13742
13743
13744 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13747 PyObject *arg2 = (PyObject *) 0 ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "clientData", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13756 arg2 = obj1;
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 wxToolBarToolBase_SetClientData(arg1,arg2);
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 Py_INCREF(Py_None); resultobj = Py_None;
13765 return resultobj;
13766 fail:
13767 return NULL;
13768 }
13769
13770
13771 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13772 PyObject *obj;
13773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13774 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13775 Py_INCREF(obj);
13776 return Py_BuildValue((char *)"");
13777 }
13778 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj;
13780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13781 int arg2 ;
13782 wxString *arg3 = 0 ;
13783 wxBitmap *arg4 = 0 ;
13784 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13785 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13786 int arg6 = (int) wxITEM_NORMAL ;
13787 wxString const &arg7_defvalue = wxPyEmptyString ;
13788 wxString *arg7 = (wxString *) &arg7_defvalue ;
13789 wxString const &arg8_defvalue = wxPyEmptyString ;
13790 wxString *arg8 = (wxString *) &arg8_defvalue ;
13791 PyObject *arg9 = (PyObject *) NULL ;
13792 wxToolBarToolBase *result;
13793 bool temp3 = False ;
13794 bool temp7 = False ;
13795 bool temp8 = False ;
13796 PyObject * obj0 = 0 ;
13797 PyObject * obj2 = 0 ;
13798 PyObject * obj3 = 0 ;
13799 PyObject * obj4 = 0 ;
13800 PyObject * obj6 = 0 ;
13801 PyObject * obj7 = 0 ;
13802 PyObject * obj8 = 0 ;
13803 char *kwnames[] = {
13804 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13805 };
13806
13807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13809 {
13810 arg3 = wxString_in_helper(obj2);
13811 if (arg3 == NULL) SWIG_fail;
13812 temp3 = True;
13813 }
13814 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13815 if (arg4 == NULL) {
13816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13817 }
13818 if (obj4) {
13819 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13820 if (arg5 == NULL) {
13821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13822 }
13823 }
13824 if (obj6) {
13825 {
13826 arg7 = wxString_in_helper(obj6);
13827 if (arg7 == NULL) SWIG_fail;
13828 temp7 = True;
13829 }
13830 }
13831 if (obj7) {
13832 {
13833 arg8 = wxString_in_helper(obj7);
13834 if (arg8 == NULL) SWIG_fail;
13835 temp8 = True;
13836 }
13837 }
13838 if (obj8) {
13839 arg9 = obj8;
13840 }
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 {
13849 resultobj = wxPyMake_wxObject(result);
13850 }
13851 {
13852 if (temp3)
13853 delete arg3;
13854 }
13855 {
13856 if (temp7)
13857 delete arg7;
13858 }
13859 {
13860 if (temp8)
13861 delete arg8;
13862 }
13863 return resultobj;
13864 fail:
13865 {
13866 if (temp3)
13867 delete arg3;
13868 }
13869 {
13870 if (temp7)
13871 delete arg7;
13872 }
13873 {
13874 if (temp8)
13875 delete arg8;
13876 }
13877 return NULL;
13878 }
13879
13880
13881 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj;
13883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13884 size_t arg2 ;
13885 int arg3 ;
13886 wxString *arg4 = 0 ;
13887 wxBitmap *arg5 = 0 ;
13888 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13889 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13890 int arg7 = (int) wxITEM_NORMAL ;
13891 wxString const &arg8_defvalue = wxPyEmptyString ;
13892 wxString *arg8 = (wxString *) &arg8_defvalue ;
13893 wxString const &arg9_defvalue = wxPyEmptyString ;
13894 wxString *arg9 = (wxString *) &arg9_defvalue ;
13895 PyObject *arg10 = (PyObject *) NULL ;
13896 wxToolBarToolBase *result;
13897 bool temp4 = False ;
13898 bool temp8 = False ;
13899 bool temp9 = False ;
13900 PyObject * obj0 = 0 ;
13901 PyObject * obj1 = 0 ;
13902 PyObject * obj3 = 0 ;
13903 PyObject * obj4 = 0 ;
13904 PyObject * obj5 = 0 ;
13905 PyObject * obj7 = 0 ;
13906 PyObject * obj8 = 0 ;
13907 PyObject * obj9 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13914 arg2 = (size_t) PyInt_AsLong(obj1);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 {
13917 arg4 = wxString_in_helper(obj3);
13918 if (arg4 == NULL) SWIG_fail;
13919 temp4 = True;
13920 }
13921 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13922 if (arg5 == NULL) {
13923 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13924 }
13925 if (obj5) {
13926 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13927 if (arg6 == NULL) {
13928 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13929 }
13930 }
13931 if (obj7) {
13932 {
13933 arg8 = wxString_in_helper(obj7);
13934 if (arg8 == NULL) SWIG_fail;
13935 temp8 = True;
13936 }
13937 }
13938 if (obj8) {
13939 {
13940 arg9 = wxString_in_helper(obj8);
13941 if (arg9 == NULL) SWIG_fail;
13942 temp9 = True;
13943 }
13944 }
13945 if (obj9) {
13946 arg10 = obj9;
13947 }
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 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);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 {
13956 resultobj = wxPyMake_wxObject(result);
13957 }
13958 {
13959 if (temp4)
13960 delete arg4;
13961 }
13962 {
13963 if (temp8)
13964 delete arg8;
13965 }
13966 {
13967 if (temp9)
13968 delete arg9;
13969 }
13970 return resultobj;
13971 fail:
13972 {
13973 if (temp4)
13974 delete arg4;
13975 }
13976 {
13977 if (temp8)
13978 delete arg8;
13979 }
13980 {
13981 if (temp9)
13982 delete arg9;
13983 }
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13991 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
13992 wxToolBarToolBase *result;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "tool", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 {
14010 resultobj = wxPyMake_wxObject(result);
14011 }
14012 return resultobj;
14013 fail:
14014 return NULL;
14015 }
14016
14017
14018 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14021 size_t arg2 ;
14022 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14023 wxToolBarToolBase *result;
14024 PyObject * obj0 = 0 ;
14025 PyObject * obj1 = 0 ;
14026 PyObject * obj2 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self",(char *) "pos",(char *) "tool", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14033 arg2 = (size_t) PyInt_AsLong(obj1);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 {
14044 resultobj = wxPyMake_wxObject(result);
14045 }
14046 return resultobj;
14047 fail:
14048 return NULL;
14049 }
14050
14051
14052 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14053 PyObject *resultobj;
14054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14055 wxControl *arg2 = (wxControl *) 0 ;
14056 wxToolBarToolBase *result;
14057 PyObject * obj0 = 0 ;
14058 PyObject * obj1 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "control", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 {
14074 resultobj = wxPyMake_wxObject(result);
14075 }
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14085 size_t arg2 ;
14086 wxControl *arg3 = (wxControl *) 0 ;
14087 wxToolBarToolBase *result;
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 PyObject * obj2 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self",(char *) "pos",(char *) "control", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14097 arg2 = (size_t) PyInt_AsLong(obj1);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14103
14104 wxPyEndAllowThreads(__tstate);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 {
14108 resultobj = wxPyMake_wxObject(result);
14109 }
14110 return resultobj;
14111 fail:
14112 return NULL;
14113 }
14114
14115
14116 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj;
14118 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14119 int arg2 ;
14120 wxControl *result;
14121 PyObject * obj0 = 0 ;
14122 char *kwnames[] = {
14123 (char *) "self",(char *) "id", NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (wxControl *)(arg1)->FindControl(arg2);
14131
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 {
14136 resultobj = wxPyMake_wxObject(result);
14137 }
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14147 wxToolBarToolBase *result;
14148 PyObject * obj0 = 0 ;
14149 char *kwnames[] = {
14150 (char *) "self", NULL
14151 };
14152
14153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 {
14163 resultobj = wxPyMake_wxObject(result);
14164 }
14165 return resultobj;
14166 fail:
14167 return NULL;
14168 }
14169
14170
14171 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj;
14173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14174 size_t arg2 ;
14175 wxToolBarToolBase *result;
14176 PyObject * obj0 = 0 ;
14177 PyObject * obj1 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "pos", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14184 arg2 = (size_t) PyInt_AsLong(obj1);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 {
14194 resultobj = wxPyMake_wxObject(result);
14195 }
14196 return resultobj;
14197 fail:
14198 return NULL;
14199 }
14200
14201
14202 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14205 int arg2 ;
14206 wxToolBarToolBase *result;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "id", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 {
14222 resultobj = wxPyMake_wxObject(result);
14223 }
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14233 size_t arg2 ;
14234 bool result;
14235 PyObject * obj0 = 0 ;
14236 PyObject * obj1 = 0 ;
14237 char *kwnames[] = {
14238 (char *) "self",(char *) "pos", NULL
14239 };
14240
14241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14243 arg2 = (size_t) PyInt_AsLong(obj1);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (bool)(arg1)->DeleteToolByPos(arg2);
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = PyInt_FromLong((long)result);
14253 return resultobj;
14254 fail:
14255 return NULL;
14256 }
14257
14258
14259 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14262 int arg2 ;
14263 bool result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "id", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (bool)(arg1)->DeleteTool(arg2);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 resultobj = PyInt_FromLong((long)result);
14279 return resultobj;
14280 fail:
14281 return NULL;
14282 }
14283
14284
14285 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14288 PyObject * obj0 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 (arg1)->ClearTools();
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 Py_INCREF(Py_None); resultobj = Py_None;
14303 return resultobj;
14304 fail:
14305 return NULL;
14306 }
14307
14308
14309 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14310 PyObject *resultobj;
14311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14312 bool result;
14313 PyObject * obj0 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "self", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 result = (bool)(arg1)->Realize();
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 resultobj = PyInt_FromLong((long)result);
14328 return resultobj;
14329 fail:
14330 return NULL;
14331 }
14332
14333
14334 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14337 int arg2 ;
14338 bool arg3 ;
14339 PyObject * obj0 = 0 ;
14340 PyObject * obj2 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "self",(char *) "id",(char *) "enable", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14347 arg3 = PyInt_AsLong(obj2) ? true : false;
14348 if (PyErr_Occurred()) SWIG_fail;
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 (arg1)->EnableTool(arg2,arg3);
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 Py_INCREF(Py_None); resultobj = Py_None;
14357 return resultobj;
14358 fail:
14359 return NULL;
14360 }
14361
14362
14363 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14364 PyObject *resultobj;
14365 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14366 int arg2 ;
14367 bool arg3 ;
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 char *kwnames[] = {
14371 (char *) "self",(char *) "id",(char *) "toggle", NULL
14372 };
14373
14374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14376 arg3 = PyInt_AsLong(obj2) ? true : false;
14377 if (PyErr_Occurred()) SWIG_fail;
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 (arg1)->ToggleTool(arg2,arg3);
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 Py_INCREF(Py_None); resultobj = Py_None;
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14395 int arg2 ;
14396 bool arg3 ;
14397 PyObject * obj0 = 0 ;
14398 PyObject * obj2 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "id",(char *) "toggle", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14405 arg3 = PyInt_AsLong(obj2) ? true : false;
14406 if (PyErr_Occurred()) SWIG_fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 (arg1)->SetToggle(arg2,arg3);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 Py_INCREF(Py_None); resultobj = Py_None;
14415 return resultobj;
14416 fail:
14417 return NULL;
14418 }
14419
14420
14421 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14424 int arg2 ;
14425 PyObject *result;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self",(char *) "id", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14436
14437 wxPyEndAllowThreads(__tstate);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 }
14440 resultobj = result;
14441 return resultobj;
14442 fail:
14443 return NULL;
14444 }
14445
14446
14447 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14448 PyObject *resultobj;
14449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14450 int arg2 ;
14451 PyObject *arg3 = (PyObject *) 0 ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj2 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "id",(char *) "clientData", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14460 arg3 = obj2;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 Py_INCREF(Py_None); resultobj = Py_None;
14469 return resultobj;
14470 fail:
14471 return NULL;
14472 }
14473
14474
14475 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14478 int arg2 ;
14479 int result;
14480 PyObject * obj0 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "id", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 resultobj = PyInt_FromLong((long)result);
14495 return resultobj;
14496 fail:
14497 return NULL;
14498 }
14499
14500
14501 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj;
14503 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14504 int arg2 ;
14505 bool result;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self",(char *) "id", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14513 {
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 result = (bool)(arg1)->GetToolState(arg2);
14516
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 resultobj = PyInt_FromLong((long)result);
14521 return resultobj;
14522 fail:
14523 return NULL;
14524 }
14525
14526
14527 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14530 int arg2 ;
14531 bool result;
14532 PyObject * obj0 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "self",(char *) "id", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = (bool)(arg1)->GetToolEnabled(arg2);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 resultobj = PyInt_FromLong((long)result);
14547 return resultobj;
14548 fail:
14549 return NULL;
14550 }
14551
14552
14553 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14556 int arg2 ;
14557 wxString *arg3 = 0 ;
14558 bool temp3 = False ;
14559 PyObject * obj0 = 0 ;
14560 PyObject * obj2 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self",(char *) "id",(char *) "helpString", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14567 {
14568 arg3 = wxString_in_helper(obj2);
14569 if (arg3 == NULL) SWIG_fail;
14570 temp3 = True;
14571 }
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 Py_INCREF(Py_None); resultobj = Py_None;
14580 {
14581 if (temp3)
14582 delete arg3;
14583 }
14584 return resultobj;
14585 fail:
14586 {
14587 if (temp3)
14588 delete arg3;
14589 }
14590 return NULL;
14591 }
14592
14593
14594 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14597 int arg2 ;
14598 wxString result;
14599 PyObject * obj0 = 0 ;
14600 char *kwnames[] = {
14601 (char *) "self",(char *) "id", NULL
14602 };
14603
14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (arg1)->GetToolShortHelp(arg2);
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 {
14614 #if wxUSE_UNICODE
14615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14616 #else
14617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14618 #endif
14619 }
14620 return resultobj;
14621 fail:
14622 return NULL;
14623 }
14624
14625
14626 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14629 int arg2 ;
14630 wxString *arg3 = 0 ;
14631 bool temp3 = False ;
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj2 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self",(char *) "id",(char *) "helpString", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14640 {
14641 arg3 = wxString_in_helper(obj2);
14642 if (arg3 == NULL) SWIG_fail;
14643 temp3 = True;
14644 }
14645 {
14646 PyThreadState* __tstate = wxPyBeginAllowThreads();
14647 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14648
14649 wxPyEndAllowThreads(__tstate);
14650 if (PyErr_Occurred()) SWIG_fail;
14651 }
14652 Py_INCREF(Py_None); resultobj = Py_None;
14653 {
14654 if (temp3)
14655 delete arg3;
14656 }
14657 return resultobj;
14658 fail:
14659 {
14660 if (temp3)
14661 delete arg3;
14662 }
14663 return NULL;
14664 }
14665
14666
14667 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj;
14669 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14670 int arg2 ;
14671 wxString result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self",(char *) "id", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (arg1)->GetToolLongHelp(arg2);
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 {
14687 #if wxUSE_UNICODE
14688 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14689 #else
14690 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14691 #endif
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14702 int arg2 ;
14703 int arg3 ;
14704 PyObject * obj0 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self",(char *) "x",(char *) "y", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 (arg1)->SetMargins(arg2,arg3);
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 Py_INCREF(Py_None); resultobj = Py_None;
14719 return resultobj;
14720 fail:
14721 return NULL;
14722 }
14723
14724
14725 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj;
14727 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14728 wxSize *arg2 = 0 ;
14729 wxSize temp2 ;
14730 PyObject * obj0 = 0 ;
14731 PyObject * obj1 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self",(char *) "size", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14738 {
14739 arg2 = &temp2;
14740 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14741 }
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 (arg1)->SetMargins((wxSize const &)*arg2);
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 Py_INCREF(Py_None); resultobj = Py_None;
14750 return resultobj;
14751 fail:
14752 return NULL;
14753 }
14754
14755
14756 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14759 int arg2 ;
14760 PyObject * obj0 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "self",(char *) "packing", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14767 {
14768 PyThreadState* __tstate = wxPyBeginAllowThreads();
14769 (arg1)->SetToolPacking(arg2);
14770
14771 wxPyEndAllowThreads(__tstate);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 }
14774 Py_INCREF(Py_None); resultobj = Py_None;
14775 return resultobj;
14776 fail:
14777 return NULL;
14778 }
14779
14780
14781 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14782 PyObject *resultobj;
14783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14784 int arg2 ;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self",(char *) "separation", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 (arg1)->SetToolSeparation(arg2);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 Py_INCREF(Py_None); resultobj = Py_None;
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14809 wxSize result;
14810 PyObject * obj0 = 0 ;
14811 char *kwnames[] = {
14812 (char *) "self", NULL
14813 };
14814
14815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14817 {
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (arg1)->GetToolMargins();
14820
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 {
14825 wxSize * resultptr;
14826 resultptr = new wxSize((wxSize &) result);
14827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14828 }
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14838 wxSize result;
14839 PyObject * obj0 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "self", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14846 {
14847 PyThreadState* __tstate = wxPyBeginAllowThreads();
14848 result = (arg1)->GetMargins();
14849
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 {
14854 wxSize * resultptr;
14855 resultptr = new wxSize((wxSize &) result);
14856 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14857 }
14858 return resultobj;
14859 fail:
14860 return NULL;
14861 }
14862
14863
14864 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14867 int result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (int)(arg1)->GetToolPacking();
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 resultobj = PyInt_FromLong((long)result);
14883 return resultobj;
14884 fail:
14885 return NULL;
14886 }
14887
14888
14889 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14892 int result;
14893 PyObject * obj0 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) 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 = (int)(arg1)->GetToolSeparation();
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 resultobj = PyInt_FromLong((long)result);
14908 return resultobj;
14909 fail:
14910 return NULL;
14911 }
14912
14913
14914 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14915 PyObject *resultobj;
14916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14917 int arg2 ;
14918 PyObject * obj0 = 0 ;
14919 char *kwnames[] = {
14920 (char *) "self",(char *) "nRows", NULL
14921 };
14922
14923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14925 {
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
14927 (arg1)->SetRows(arg2);
14928
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 Py_INCREF(Py_None); resultobj = Py_None;
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj;
14941 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14942 int arg2 ;
14943 int arg3 ;
14944 PyObject * obj0 = 0 ;
14945 char *kwnames[] = {
14946 (char *) "self",(char *) "rows",(char *) "cols", NULL
14947 };
14948
14949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14951 {
14952 PyThreadState* __tstate = wxPyBeginAllowThreads();
14953 (arg1)->SetMaxRowsCols(arg2,arg3);
14954
14955 wxPyEndAllowThreads(__tstate);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 Py_INCREF(Py_None); resultobj = Py_None;
14959 return resultobj;
14960 fail:
14961 return NULL;
14962 }
14963
14964
14965 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14968 int result;
14969 PyObject * obj0 = 0 ;
14970 char *kwnames[] = {
14971 (char *) "self", NULL
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 result = (int)(arg1)->GetMaxRows();
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 resultobj = PyInt_FromLong((long)result);
14984 return resultobj;
14985 fail:
14986 return NULL;
14987 }
14988
14989
14990 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj;
14992 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14993 int result;
14994 PyObject * obj0 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (int)(arg1)->GetMaxCols();
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 resultobj = PyInt_FromLong((long)result);
15009 return resultobj;
15010 fail:
15011 return NULL;
15012 }
15013
15014
15015 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15018 wxSize *arg2 = 0 ;
15019 wxSize temp2 ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self",(char *) "size", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15028 {
15029 arg2 = &temp2;
15030 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15031 }
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 Py_INCREF(Py_None); resultobj = Py_None;
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15049 wxSize result;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (arg1)->GetToolBitmapSize();
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 wxSize * resultptr;
15066 resultptr = new wxSize((wxSize &) result);
15067 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15068 }
15069 return resultobj;
15070 fail:
15071 return NULL;
15072 }
15073
15074
15075 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15078 wxSize result;
15079 PyObject * obj0 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 result = (arg1)->GetToolSize();
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 {
15094 wxSize * resultptr;
15095 resultptr = new wxSize((wxSize &) result);
15096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15097 }
15098 return resultobj;
15099 fail:
15100 return NULL;
15101 }
15102
15103
15104 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15105 PyObject *resultobj;
15106 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15107 int arg2 ;
15108 int arg3 ;
15109 wxToolBarToolBase *result;
15110 PyObject * obj0 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self",(char *) "x",(char *) "y", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 {
15125 resultobj = wxPyMake_wxObject(result);
15126 }
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15136 int arg2 ;
15137 wxToolBarToolBase *result;
15138 PyObject * obj0 = 0 ;
15139 char *kwnames[] = {
15140 (char *) "self",(char *) "toolid", NULL
15141 };
15142
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 {
15153 resultobj = wxPyMake_wxObject(result);
15154 }
15155 return resultobj;
15156 fail:
15157 return NULL;
15158 }
15159
15160
15161 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15164 bool result;
15165 PyObject * obj0 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15172 {
15173 PyThreadState* __tstate = wxPyBeginAllowThreads();
15174 result = (bool)(arg1)->IsVertical();
15175
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 resultobj = PyInt_FromLong((long)result);
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15187 PyObject *obj;
15188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15189 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15190 Py_INCREF(obj);
15191 return Py_BuildValue((char *)"");
15192 }
15193 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxWindow *arg1 = (wxWindow *) 0 ;
15196 int arg2 ;
15197 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15198 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15199 wxSize const &arg4_defvalue = wxDefaultSize ;
15200 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15201 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15202 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15203 wxString *arg6 = (wxString *) &arg6_defvalue ;
15204 wxToolBar *result;
15205 wxPoint temp3 ;
15206 wxSize temp4 ;
15207 bool temp6 = False ;
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj2 = 0 ;
15210 PyObject * obj3 = 0 ;
15211 PyObject * obj5 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15218 if (obj2) {
15219 {
15220 arg3 = &temp3;
15221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15222 }
15223 }
15224 if (obj3) {
15225 {
15226 arg4 = &temp4;
15227 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15228 }
15229 }
15230 if (obj5) {
15231 {
15232 arg6 = wxString_in_helper(obj5);
15233 if (arg6 == NULL) SWIG_fail;
15234 temp6 = True;
15235 }
15236 }
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 {
15245 resultobj = wxPyMake_wxObject(result);
15246 }
15247 {
15248 if (temp6)
15249 delete arg6;
15250 }
15251 return resultobj;
15252 fail:
15253 {
15254 if (temp6)
15255 delete arg6;
15256 }
15257 return NULL;
15258 }
15259
15260
15261 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15262 PyObject *resultobj;
15263 wxToolBar *result;
15264 char *kwnames[] = {
15265 NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (wxToolBar *)new wxToolBar();
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 {
15277 resultobj = wxPyMake_wxObject(result);
15278 }
15279 return resultobj;
15280 fail:
15281 return NULL;
15282 }
15283
15284
15285 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxToolBar *arg1 = (wxToolBar *) 0 ;
15288 wxWindow *arg2 = (wxWindow *) 0 ;
15289 int arg3 ;
15290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15292 wxSize const &arg5_defvalue = wxDefaultSize ;
15293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15294 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15295 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15296 wxString *arg7 = (wxString *) &arg7_defvalue ;
15297 bool result;
15298 wxPoint temp4 ;
15299 wxSize temp5 ;
15300 bool temp7 = False ;
15301 PyObject * obj0 = 0 ;
15302 PyObject * obj1 = 0 ;
15303 PyObject * obj3 = 0 ;
15304 PyObject * obj4 = 0 ;
15305 PyObject * obj6 = 0 ;
15306 char *kwnames[] = {
15307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15308 };
15309
15310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15313 if (obj3) {
15314 {
15315 arg4 = &temp4;
15316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15317 }
15318 }
15319 if (obj4) {
15320 {
15321 arg5 = &temp5;
15322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15323 }
15324 }
15325 if (obj6) {
15326 {
15327 arg7 = wxString_in_helper(obj6);
15328 if (arg7 == NULL) SWIG_fail;
15329 temp7 = True;
15330 }
15331 }
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 resultobj = PyInt_FromLong((long)result);
15340 {
15341 if (temp7)
15342 delete arg7;
15343 }
15344 return resultobj;
15345 fail:
15346 {
15347 if (temp7)
15348 delete arg7;
15349 }
15350 return NULL;
15351 }
15352
15353
15354 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 wxToolBar *arg1 = (wxToolBar *) 0 ;
15357 int arg2 ;
15358 int arg3 ;
15359 wxToolBarToolBase *result;
15360 PyObject * obj0 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self",(char *) "x",(char *) "y", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15370
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 {
15375 resultobj = wxPyMake_wxObject(result);
15376 }
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15384 PyObject *obj;
15385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15386 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15387 Py_INCREF(obj);
15388 return Py_BuildValue((char *)"");
15389 }
15390 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15391 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15392 return 1;
15393 }
15394
15395
15396 static PyObject *_wrap_ListCtrlNameStr_get() {
15397 PyObject *pyobj;
15398
15399 {
15400 #if wxUSE_UNICODE
15401 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15402 #else
15403 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15404 #endif
15405 }
15406 return pyobj;
15407 }
15408
15409
15410 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj;
15412 wxColour const &arg1_defvalue = wxNullColour ;
15413 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15414 wxColour const &arg2_defvalue = wxNullColour ;
15415 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15416 wxFont const &arg3_defvalue = wxNullFont ;
15417 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15418 wxListItemAttr *result;
15419 wxColour temp1 ;
15420 wxColour temp2 ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15429 if (obj0) {
15430 {
15431 arg1 = &temp1;
15432 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15433 }
15434 }
15435 if (obj1) {
15436 {
15437 arg2 = &temp2;
15438 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15439 }
15440 }
15441 if (obj2) {
15442 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15443 if (arg3 == NULL) {
15444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15445 }
15446 }
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15450
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15455 return resultobj;
15456 fail:
15457 return NULL;
15458 }
15459
15460
15461 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15462 PyObject *resultobj;
15463 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15464 wxColour *arg2 = 0 ;
15465 wxColour temp2 ;
15466 PyObject * obj0 = 0 ;
15467 PyObject * obj1 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self",(char *) "colText", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15474 {
15475 arg2 = &temp2;
15476 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 (arg1)->SetTextColour((wxColour const &)*arg2);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 Py_INCREF(Py_None); resultobj = Py_None;
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15495 wxColour *arg2 = 0 ;
15496 wxColour temp2 ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self",(char *) "colBack", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15505 {
15506 arg2 = &temp2;
15507 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15508 }
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15512
15513 wxPyEndAllowThreads(__tstate);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 Py_INCREF(Py_None); resultobj = Py_None;
15517 return resultobj;
15518 fail:
15519 return NULL;
15520 }
15521
15522
15523 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj;
15525 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15526 wxFont *arg2 = 0 ;
15527 PyObject * obj0 = 0 ;
15528 PyObject * obj1 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "font", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15536 if (arg2 == NULL) {
15537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15538 }
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->SetFont((wxFont const &)*arg2);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15556 bool result;
15557 PyObject * obj0 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 result = (bool)(arg1)->HasTextColour();
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 resultobj = PyInt_FromLong((long)result);
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15581 bool result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 result = (bool)(arg1)->HasBackgroundColour();
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 resultobj = PyInt_FromLong((long)result);
15597 return resultobj;
15598 fail:
15599 return NULL;
15600 }
15601
15602
15603 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj;
15605 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15606 bool result;
15607 PyObject * obj0 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (bool)(arg1)->HasFont();
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = PyInt_FromLong((long)result);
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15631 wxColour result;
15632 PyObject * obj0 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 result = (arg1)->GetTextColour();
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 {
15647 wxColour * resultptr;
15648 resultptr = new wxColour((wxColour &) result);
15649 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15650 }
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15660 wxColour result;
15661 PyObject * obj0 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15668 {
15669 PyThreadState* __tstate = wxPyBeginAllowThreads();
15670 result = (arg1)->GetBackgroundColour();
15671
15672 wxPyEndAllowThreads(__tstate);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 {
15676 wxColour * resultptr;
15677 resultptr = new wxColour((wxColour &) result);
15678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15679 }
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
15688 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15689 wxFont result;
15690 PyObject * obj0 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 result = (arg1)->GetFont();
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 {
15705 wxFont * resultptr;
15706 resultptr = new wxFont((wxFont &) result);
15707 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15708 }
15709 return resultobj;
15710 fail:
15711 return NULL;
15712 }
15713
15714
15715 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15718 PyObject * obj0 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15725 {
15726 PyThreadState* __tstate = wxPyBeginAllowThreads();
15727 wxListItemAttr_Destroy(arg1);
15728
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 Py_INCREF(Py_None); resultobj = Py_None;
15733 return resultobj;
15734 fail:
15735 return NULL;
15736 }
15737
15738
15739 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15740 PyObject *obj;
15741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15742 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15743 Py_INCREF(obj);
15744 return Py_BuildValue((char *)"");
15745 }
15746 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15747 PyObject *resultobj;
15748 wxListItem *result;
15749 char *kwnames[] = {
15750 NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 result = (wxListItem *)new wxListItem();
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 {
15762 resultobj = wxPyMake_wxObject(result);
15763 }
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj;
15772 wxListItem *arg1 = (wxListItem *) 0 ;
15773 PyObject * obj0 = 0 ;
15774 char *kwnames[] = {
15775 (char *) "self", NULL
15776 };
15777
15778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 delete arg1;
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 Py_INCREF(Py_None); resultobj = Py_None;
15788 return resultobj;
15789 fail:
15790 return NULL;
15791 }
15792
15793
15794 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15795 PyObject *resultobj;
15796 wxListItem *arg1 = (wxListItem *) 0 ;
15797 PyObject * obj0 = 0 ;
15798 char *kwnames[] = {
15799 (char *) "self", NULL
15800 };
15801
15802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15804 {
15805 PyThreadState* __tstate = wxPyBeginAllowThreads();
15806 (arg1)->Clear();
15807
15808 wxPyEndAllowThreads(__tstate);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 }
15811 Py_INCREF(Py_None); resultobj = Py_None;
15812 return resultobj;
15813 fail:
15814 return NULL;
15815 }
15816
15817
15818 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxListItem *arg1 = (wxListItem *) 0 ;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 (arg1)->ClearAttributes();
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 Py_INCREF(Py_None); resultobj = Py_None;
15836 return resultobj;
15837 fail:
15838 return NULL;
15839 }
15840
15841
15842 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxListItem *arg1 = (wxListItem *) 0 ;
15845 long arg2 ;
15846 PyObject * obj0 = 0 ;
15847 char *kwnames[] = {
15848 (char *) "self",(char *) "mask", NULL
15849 };
15850
15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 (arg1)->SetMask(arg2);
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 Py_INCREF(Py_None); resultobj = Py_None;
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxListItem *arg1 = (wxListItem *) 0 ;
15870 long arg2 ;
15871 PyObject * obj0 = 0 ;
15872 char *kwnames[] = {
15873 (char *) "self",(char *) "id", NULL
15874 };
15875
15876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 (arg1)->SetId(arg2);
15881
15882 wxPyEndAllowThreads(__tstate);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
15885 Py_INCREF(Py_None); resultobj = Py_None;
15886 return resultobj;
15887 fail:
15888 return NULL;
15889 }
15890
15891
15892 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15893 PyObject *resultobj;
15894 wxListItem *arg1 = (wxListItem *) 0 ;
15895 int arg2 ;
15896 PyObject * obj0 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "col", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 (arg1)->SetColumn(arg2);
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 Py_INCREF(Py_None); resultobj = Py_None;
15911 return resultobj;
15912 fail:
15913 return NULL;
15914 }
15915
15916
15917 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxListItem *arg1 = (wxListItem *) 0 ;
15920 long arg2 ;
15921 PyObject * obj0 = 0 ;
15922 char *kwnames[] = {
15923 (char *) "self",(char *) "state", NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15928 {
15929 PyThreadState* __tstate = wxPyBeginAllowThreads();
15930 (arg1)->SetState(arg2);
15931
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 Py_INCREF(Py_None); resultobj = Py_None;
15936 return resultobj;
15937 fail:
15938 return NULL;
15939 }
15940
15941
15942 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj;
15944 wxListItem *arg1 = (wxListItem *) 0 ;
15945 long arg2 ;
15946 PyObject * obj0 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "stateMask", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 (arg1)->SetStateMask(arg2);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964 }
15965
15966
15967 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxListItem *arg1 = (wxListItem *) 0 ;
15970 wxString *arg2 = 0 ;
15971 bool temp2 = False ;
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "self",(char *) "text", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15980 {
15981 arg2 = wxString_in_helper(obj1);
15982 if (arg2 == NULL) SWIG_fail;
15983 temp2 = True;
15984 }
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 (arg1)->SetText((wxString const &)*arg2);
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 Py_INCREF(Py_None); resultobj = Py_None;
15993 {
15994 if (temp2)
15995 delete arg2;
15996 }
15997 return resultobj;
15998 fail:
15999 {
16000 if (temp2)
16001 delete arg2;
16002 }
16003 return NULL;
16004 }
16005
16006
16007 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxListItem *arg1 = (wxListItem *) 0 ;
16010 int arg2 ;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "image", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) 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 (arg1)->SetImage(arg2);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 Py_INCREF(Py_None); resultobj = Py_None;
16026 return resultobj;
16027 fail:
16028 return NULL;
16029 }
16030
16031
16032 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 wxListItem *arg1 = (wxListItem *) 0 ;
16035 long arg2 ;
16036 PyObject * obj0 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "data", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) 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 (arg1)->SetData(arg2);
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 Py_INCREF(Py_None); resultobj = Py_None;
16051 return resultobj;
16052 fail:
16053 return NULL;
16054 }
16055
16056
16057 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16058 PyObject *resultobj;
16059 wxListItem *arg1 = (wxListItem *) 0 ;
16060 int arg2 ;
16061 PyObject * obj0 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "self",(char *) "width", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) 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 (arg1)->SetWidth(arg2);
16071
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 Py_INCREF(Py_None); resultobj = Py_None;
16076 return resultobj;
16077 fail:
16078 return NULL;
16079 }
16080
16081
16082 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj;
16084 wxListItem *arg1 = (wxListItem *) 0 ;
16085 int arg2 ;
16086 PyObject * obj0 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self",(char *) "align", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) 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 (arg1)->SetAlign((wxListColumnFormat )arg2);
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 Py_INCREF(Py_None); resultobj = Py_None;
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxListItem *arg1 = (wxListItem *) 0 ;
16110 wxColour *arg2 = 0 ;
16111 wxColour temp2 ;
16112 PyObject * obj0 = 0 ;
16113 PyObject * obj1 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "self",(char *) "colText", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16120 {
16121 arg2 = &temp2;
16122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16123 }
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 (arg1)->SetTextColour((wxColour const &)*arg2);
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 Py_INCREF(Py_None); resultobj = Py_None;
16132 return resultobj;
16133 fail:
16134 return NULL;
16135 }
16136
16137
16138 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxListItem *arg1 = (wxListItem *) 0 ;
16141 wxColour *arg2 = 0 ;
16142 wxColour temp2 ;
16143 PyObject * obj0 = 0 ;
16144 PyObject * obj1 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "colBack", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 {
16152 arg2 = &temp2;
16153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16154 }
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 Py_INCREF(Py_None); resultobj = Py_None;
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxListItem *arg1 = (wxListItem *) 0 ;
16172 wxFont *arg2 = 0 ;
16173 PyObject * obj0 = 0 ;
16174 PyObject * obj1 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "font", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16182 if (arg2 == NULL) {
16183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16184 }
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 (arg1)->SetFont((wxFont const &)*arg2);
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 Py_INCREF(Py_None); resultobj = Py_None;
16193 return resultobj;
16194 fail:
16195 return NULL;
16196 }
16197
16198
16199 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxListItem *arg1 = (wxListItem *) 0 ;
16202 long result;
16203 PyObject * obj0 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self", NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (long)(arg1)->GetMask();
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 resultobj = PyInt_FromLong((long)result);
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxListItem *arg1 = (wxListItem *) 0 ;
16227 long result;
16228 PyObject * obj0 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16235 {
16236 PyThreadState* __tstate = wxPyBeginAllowThreads();
16237 result = (long)(arg1)->GetId();
16238
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 resultobj = PyInt_FromLong((long)result);
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxListItem *arg1 = (wxListItem *) 0 ;
16252 int result;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = (int)(arg1)->GetColumn();
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 resultobj = PyInt_FromLong((long)result);
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxListItem *arg1 = (wxListItem *) 0 ;
16277 long result;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = (long)(arg1)->GetState();
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 resultobj = PyInt_FromLong((long)result);
16293 return resultobj;
16294 fail:
16295 return NULL;
16296 }
16297
16298
16299 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16300 PyObject *resultobj;
16301 wxListItem *arg1 = (wxListItem *) 0 ;
16302 wxString *result;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 {
16313 wxString const &_result_ref = (arg1)->GetText();
16314 result = (wxString *) &_result_ref;
16315 }
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 {
16321 #if wxUSE_UNICODE
16322 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16323 #else
16324 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16325 #endif
16326 }
16327 return resultobj;
16328 fail:
16329 return NULL;
16330 }
16331
16332
16333 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxListItem *arg1 = (wxListItem *) 0 ;
16336 int result;
16337 PyObject * obj0 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 result = (int)(arg1)->GetImage();
16347
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 resultobj = PyInt_FromLong((long)result);
16352 return resultobj;
16353 fail:
16354 return NULL;
16355 }
16356
16357
16358 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj;
16360 wxListItem *arg1 = (wxListItem *) 0 ;
16361 long result;
16362 PyObject * obj0 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 result = (long)(arg1)->GetData();
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 resultobj = PyInt_FromLong((long)result);
16377 return resultobj;
16378 fail:
16379 return NULL;
16380 }
16381
16382
16383 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxListItem *arg1 = (wxListItem *) 0 ;
16386 int result;
16387 PyObject * obj0 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self", NULL
16390 };
16391
16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 result = (int)(arg1)->GetWidth();
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 resultobj = PyInt_FromLong((long)result);
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxListItem *arg1 = (wxListItem *) 0 ;
16411 int result;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (int)(arg1)->GetAlign();
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 resultobj = PyInt_FromLong((long)result);
16427 return resultobj;
16428 fail:
16429 return NULL;
16430 }
16431
16432
16433 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxListItem *arg1 = (wxListItem *) 0 ;
16436 wxListItemAttr *result;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
16446 result = (wxListItemAttr *)(arg1)->GetAttributes();
16447
16448 wxPyEndAllowThreads(__tstate);
16449 if (PyErr_Occurred()) SWIG_fail;
16450 }
16451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16452 return resultobj;
16453 fail:
16454 return NULL;
16455 }
16456
16457
16458 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16459 PyObject *resultobj;
16460 wxListItem *arg1 = (wxListItem *) 0 ;
16461 bool result;
16462 PyObject * obj0 = 0 ;
16463 char *kwnames[] = {
16464 (char *) "self", NULL
16465 };
16466
16467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 result = (bool)(arg1)->HasAttributes();
16472
16473 wxPyEndAllowThreads(__tstate);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 resultobj = PyInt_FromLong((long)result);
16477 return resultobj;
16478 fail:
16479 return NULL;
16480 }
16481
16482
16483 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj;
16485 wxListItem *arg1 = (wxListItem *) 0 ;
16486 wxColour result;
16487 PyObject * obj0 = 0 ;
16488 char *kwnames[] = {
16489 (char *) "self", NULL
16490 };
16491
16492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 result = ((wxListItem const *)arg1)->GetTextColour();
16497
16498 wxPyEndAllowThreads(__tstate);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 }
16501 {
16502 wxColour * resultptr;
16503 resultptr = new wxColour((wxColour &) result);
16504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16505 }
16506 return resultobj;
16507 fail:
16508 return NULL;
16509 }
16510
16511
16512 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16513 PyObject *resultobj;
16514 wxListItem *arg1 = (wxListItem *) 0 ;
16515 wxColour result;
16516 PyObject * obj0 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self", NULL
16519 };
16520
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16523 {
16524 PyThreadState* __tstate = wxPyBeginAllowThreads();
16525 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16526
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 {
16531 wxColour * resultptr;
16532 resultptr = new wxColour((wxColour &) result);
16533 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16534 }
16535 return resultobj;
16536 fail:
16537 return NULL;
16538 }
16539
16540
16541 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16542 PyObject *resultobj;
16543 wxListItem *arg1 = (wxListItem *) 0 ;
16544 wxFont result;
16545 PyObject * obj0 = 0 ;
16546 char *kwnames[] = {
16547 (char *) "self", NULL
16548 };
16549
16550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 result = ((wxListItem const *)arg1)->GetFont();
16555
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 {
16560 wxFont * resultptr;
16561 resultptr = new wxFont((wxFont &) result);
16562 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16563 }
16564 return resultobj;
16565 fail:
16566 return NULL;
16567 }
16568
16569
16570 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16571 PyObject *resultobj;
16572 wxListItem *arg1 = (wxListItem *) 0 ;
16573 long arg2 ;
16574 PyObject * obj0 = 0 ;
16575 char *kwnames[] = {
16576 (char *) "self",(char *) "m_mask", NULL
16577 };
16578
16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16581 if (arg1) (arg1)->m_mask = arg2;
16582
16583 Py_INCREF(Py_None); resultobj = Py_None;
16584 return resultobj;
16585 fail:
16586 return NULL;
16587 }
16588
16589
16590 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16591 PyObject *resultobj;
16592 wxListItem *arg1 = (wxListItem *) 0 ;
16593 long result;
16594 PyObject * obj0 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16601 result = (long) ((arg1)->m_mask);
16602
16603 resultobj = PyInt_FromLong((long)result);
16604 return resultobj;
16605 fail:
16606 return NULL;
16607 }
16608
16609
16610 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16611 PyObject *resultobj;
16612 wxListItem *arg1 = (wxListItem *) 0 ;
16613 long arg2 ;
16614 PyObject * obj0 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self",(char *) "m_itemId", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16621 if (arg1) (arg1)->m_itemId = arg2;
16622
16623 Py_INCREF(Py_None); resultobj = Py_None;
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj;
16632 wxListItem *arg1 = (wxListItem *) 0 ;
16633 long result;
16634 PyObject * obj0 = 0 ;
16635 char *kwnames[] = {
16636 (char *) "self", NULL
16637 };
16638
16639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16641 result = (long) ((arg1)->m_itemId);
16642
16643 resultobj = PyInt_FromLong((long)result);
16644 return resultobj;
16645 fail:
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxListItem *arg1 = (wxListItem *) 0 ;
16653 int arg2 ;
16654 PyObject * obj0 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self",(char *) "m_col", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16661 if (arg1) (arg1)->m_col = arg2;
16662
16663 Py_INCREF(Py_None); resultobj = Py_None;
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxListItem *arg1 = (wxListItem *) 0 ;
16673 int result;
16674 PyObject * obj0 = 0 ;
16675 char *kwnames[] = {
16676 (char *) "self", NULL
16677 };
16678
16679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16681 result = (int) ((arg1)->m_col);
16682
16683 resultobj = PyInt_FromLong((long)result);
16684 return resultobj;
16685 fail:
16686 return NULL;
16687 }
16688
16689
16690 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj;
16692 wxListItem *arg1 = (wxListItem *) 0 ;
16693 long arg2 ;
16694 PyObject * obj0 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self",(char *) "m_state", NULL
16697 };
16698
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16701 if (arg1) (arg1)->m_state = arg2;
16702
16703 Py_INCREF(Py_None); resultobj = Py_None;
16704 return resultobj;
16705 fail:
16706 return NULL;
16707 }
16708
16709
16710 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj;
16712 wxListItem *arg1 = (wxListItem *) 0 ;
16713 long result;
16714 PyObject * obj0 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16721 result = (long) ((arg1)->m_state);
16722
16723 resultobj = PyInt_FromLong((long)result);
16724 return resultobj;
16725 fail:
16726 return NULL;
16727 }
16728
16729
16730 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16731 PyObject *resultobj;
16732 wxListItem *arg1 = (wxListItem *) 0 ;
16733 long arg2 ;
16734 PyObject * obj0 = 0 ;
16735 char *kwnames[] = {
16736 (char *) "self",(char *) "m_stateMask", NULL
16737 };
16738
16739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16741 if (arg1) (arg1)->m_stateMask = arg2;
16742
16743 Py_INCREF(Py_None); resultobj = Py_None;
16744 return resultobj;
16745 fail:
16746 return NULL;
16747 }
16748
16749
16750 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxListItem *arg1 = (wxListItem *) 0 ;
16753 long result;
16754 PyObject * obj0 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 result = (long) ((arg1)->m_stateMask);
16762
16763 resultobj = PyInt_FromLong((long)result);
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxListItem *arg1 = (wxListItem *) 0 ;
16773 wxString *arg2 = (wxString *) 0 ;
16774 PyObject * obj0 = 0 ;
16775 PyObject * obj1 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "self",(char *) "m_text", NULL
16778 };
16779
16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16783 if (arg1) (arg1)->m_text = *arg2;
16784
16785 Py_INCREF(Py_None); resultobj = Py_None;
16786 return resultobj;
16787 fail:
16788 return NULL;
16789 }
16790
16791
16792 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj;
16794 wxListItem *arg1 = (wxListItem *) 0 ;
16795 wxString *result;
16796 PyObject * obj0 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16803 result = (wxString *)& ((arg1)->m_text);
16804
16805 {
16806 #if wxUSE_UNICODE
16807 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16808 #else
16809 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16810 #endif
16811 }
16812 return resultobj;
16813 fail:
16814 return NULL;
16815 }
16816
16817
16818 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16819 PyObject *resultobj;
16820 wxListItem *arg1 = (wxListItem *) 0 ;
16821 int arg2 ;
16822 PyObject * obj0 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self",(char *) "m_image", NULL
16825 };
16826
16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16829 if (arg1) (arg1)->m_image = arg2;
16830
16831 Py_INCREF(Py_None); resultobj = Py_None;
16832 return resultobj;
16833 fail:
16834 return NULL;
16835 }
16836
16837
16838 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16839 PyObject *resultobj;
16840 wxListItem *arg1 = (wxListItem *) 0 ;
16841 int result;
16842 PyObject * obj0 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16849 result = (int) ((arg1)->m_image);
16850
16851 resultobj = PyInt_FromLong((long)result);
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxListItem *arg1 = (wxListItem *) 0 ;
16861 long arg2 ;
16862 PyObject * obj0 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self",(char *) "m_data", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16869 if (arg1) (arg1)->m_data = arg2;
16870
16871 Py_INCREF(Py_None); resultobj = Py_None;
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxListItem *arg1 = (wxListItem *) 0 ;
16881 long result;
16882 PyObject * obj0 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16889 result = (long) ((arg1)->m_data);
16890
16891 resultobj = PyInt_FromLong((long)result);
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxListItem *arg1 = (wxListItem *) 0 ;
16901 int arg2 ;
16902 PyObject * obj0 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self",(char *) "m_format", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16909 if (arg1) (arg1)->m_format = arg2;
16910
16911 Py_INCREF(Py_None); resultobj = Py_None;
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxListItem *arg1 = (wxListItem *) 0 ;
16921 int result;
16922 PyObject * obj0 = 0 ;
16923 char *kwnames[] = {
16924 (char *) "self", NULL
16925 };
16926
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16929 result = (int) ((arg1)->m_format);
16930
16931 resultobj = PyInt_FromLong((long)result);
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxListItem *arg1 = (wxListItem *) 0 ;
16941 int arg2 ;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "m_width", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16949 if (arg1) (arg1)->m_width = arg2;
16950
16951 Py_INCREF(Py_None); resultobj = Py_None;
16952 return resultobj;
16953 fail:
16954 return NULL;
16955 }
16956
16957
16958 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16959 PyObject *resultobj;
16960 wxListItem *arg1 = (wxListItem *) 0 ;
16961 int result;
16962 PyObject * obj0 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self", NULL
16965 };
16966
16967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16969 result = (int) ((arg1)->m_width);
16970
16971 resultobj = PyInt_FromLong((long)result);
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16979 PyObject *obj;
16980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16981 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16982 Py_INCREF(obj);
16983 return Py_BuildValue((char *)"");
16984 }
16985 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16988 int arg2 = (int) 0 ;
16989 wxListEvent *result;
16990 char *kwnames[] = {
16991 (char *) "commandType",(char *) "id", NULL
16992 };
16993
16994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16998
16999 wxPyEndAllowThreads(__tstate);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17003 return resultobj;
17004 fail:
17005 return NULL;
17006 }
17007
17008
17009 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17010 PyObject *resultobj;
17011 wxListEvent *arg1 = (wxListEvent *) 0 ;
17012 int arg2 ;
17013 PyObject * obj0 = 0 ;
17014 char *kwnames[] = {
17015 (char *) "self",(char *) "m_code", NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17020 if (arg1) (arg1)->m_code = arg2;
17021
17022 Py_INCREF(Py_None); resultobj = Py_None;
17023 return resultobj;
17024 fail:
17025 return NULL;
17026 }
17027
17028
17029 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj;
17031 wxListEvent *arg1 = (wxListEvent *) 0 ;
17032 int result;
17033 PyObject * obj0 = 0 ;
17034 char *kwnames[] = {
17035 (char *) "self", NULL
17036 };
17037
17038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17040 result = (int) ((arg1)->m_code);
17041
17042 resultobj = PyInt_FromLong((long)result);
17043 return resultobj;
17044 fail:
17045 return NULL;
17046 }
17047
17048
17049 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj;
17051 wxListEvent *arg1 = (wxListEvent *) 0 ;
17052 long arg2 ;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self",(char *) "m_oldItemIndex", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17060 if (arg1) (arg1)->m_oldItemIndex = arg2;
17061
17062 Py_INCREF(Py_None); resultobj = Py_None;
17063 return resultobj;
17064 fail:
17065 return NULL;
17066 }
17067
17068
17069 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17070 PyObject *resultobj;
17071 wxListEvent *arg1 = (wxListEvent *) 0 ;
17072 long result;
17073 PyObject * obj0 = 0 ;
17074 char *kwnames[] = {
17075 (char *) "self", NULL
17076 };
17077
17078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17080 result = (long) ((arg1)->m_oldItemIndex);
17081
17082 resultobj = PyInt_FromLong((long)result);
17083 return resultobj;
17084 fail:
17085 return NULL;
17086 }
17087
17088
17089 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17090 PyObject *resultobj;
17091 wxListEvent *arg1 = (wxListEvent *) 0 ;
17092 long arg2 ;
17093 PyObject * obj0 = 0 ;
17094 char *kwnames[] = {
17095 (char *) "self",(char *) "m_itemIndex", NULL
17096 };
17097
17098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17100 if (arg1) (arg1)->m_itemIndex = arg2;
17101
17102 Py_INCREF(Py_None); resultobj = Py_None;
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 wxListEvent *arg1 = (wxListEvent *) 0 ;
17112 long result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17120 result = (long) ((arg1)->m_itemIndex);
17121
17122 resultobj = PyInt_FromLong((long)result);
17123 return resultobj;
17124 fail:
17125 return NULL;
17126 }
17127
17128
17129 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17130 PyObject *resultobj;
17131 wxListEvent *arg1 = (wxListEvent *) 0 ;
17132 int arg2 ;
17133 PyObject * obj0 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self",(char *) "m_col", NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17140 if (arg1) (arg1)->m_col = arg2;
17141
17142 Py_INCREF(Py_None); resultobj = Py_None;
17143 return resultobj;
17144 fail:
17145 return NULL;
17146 }
17147
17148
17149 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17150 PyObject *resultobj;
17151 wxListEvent *arg1 = (wxListEvent *) 0 ;
17152 int result;
17153 PyObject * obj0 = 0 ;
17154 char *kwnames[] = {
17155 (char *) "self", NULL
17156 };
17157
17158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17160 result = (int) ((arg1)->m_col);
17161
17162 resultobj = PyInt_FromLong((long)result);
17163 return resultobj;
17164 fail:
17165 return NULL;
17166 }
17167
17168
17169 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17170 PyObject *resultobj;
17171 wxListEvent *arg1 = (wxListEvent *) 0 ;
17172 wxPoint *arg2 = (wxPoint *) 0 ;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self",(char *) "m_pointDrag", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17182 if (arg1) (arg1)->m_pointDrag = *arg2;
17183
17184 Py_INCREF(Py_None); resultobj = Py_None;
17185 return resultobj;
17186 fail:
17187 return NULL;
17188 }
17189
17190
17191 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj;
17193 wxListEvent *arg1 = (wxListEvent *) 0 ;
17194 wxPoint *result;
17195 PyObject * obj0 = 0 ;
17196 char *kwnames[] = {
17197 (char *) "self", NULL
17198 };
17199
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17202 result = (wxPoint *)& ((arg1)->m_pointDrag);
17203
17204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17205 return resultobj;
17206 fail:
17207 return NULL;
17208 }
17209
17210
17211 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj;
17213 wxListEvent *arg1 = (wxListEvent *) 0 ;
17214 wxListItem *result;
17215 PyObject * obj0 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "self", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17222 result = (wxListItem *)& ((arg1)->m_item);
17223
17224 {
17225 resultobj = wxPyMake_wxObject(result);
17226 }
17227 return resultobj;
17228 fail:
17229 return NULL;
17230 }
17231
17232
17233 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17234 PyObject *resultobj;
17235 wxListEvent *arg1 = (wxListEvent *) 0 ;
17236 int result;
17237 PyObject * obj0 = 0 ;
17238 char *kwnames[] = {
17239 (char *) "self", NULL
17240 };
17241
17242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 result = (int)(arg1)->GetKeyCode();
17247
17248 wxPyEndAllowThreads(__tstate);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 }
17251 resultobj = PyInt_FromLong((long)result);
17252 return resultobj;
17253 fail:
17254 return NULL;
17255 }
17256
17257
17258 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj;
17260 wxListEvent *arg1 = (wxListEvent *) 0 ;
17261 long result;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (long)(arg1)->GetIndex();
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 resultobj = PyInt_FromLong((long)result);
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxListEvent *arg1 = (wxListEvent *) 0 ;
17286 int result;
17287 PyObject * obj0 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 result = (int)(arg1)->GetColumn();
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 resultobj = PyInt_FromLong((long)result);
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxListEvent *arg1 = (wxListEvent *) 0 ;
17311 wxPoint result;
17312 PyObject * obj0 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 result = (arg1)->GetPoint();
17322
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 {
17327 wxPoint * resultptr;
17328 resultptr = new wxPoint((wxPoint &) result);
17329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17330 }
17331 return resultobj;
17332 fail:
17333 return NULL;
17334 }
17335
17336
17337 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17338 PyObject *resultobj;
17339 wxListEvent *arg1 = (wxListEvent *) 0 ;
17340 wxString *result;
17341 PyObject * obj0 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "self", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 {
17351 wxString const &_result_ref = (arg1)->GetLabel();
17352 result = (wxString *) &_result_ref;
17353 }
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 #if wxUSE_UNICODE
17360 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17361 #else
17362 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17363 #endif
17364 }
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxListEvent *arg1 = (wxListEvent *) 0 ;
17374 wxString *result;
17375 PyObject * obj0 = 0 ;
17376 char *kwnames[] = {
17377 (char *) "self", NULL
17378 };
17379
17380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 {
17385 wxString const &_result_ref = (arg1)->GetText();
17386 result = (wxString *) &_result_ref;
17387 }
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 {
17393 #if wxUSE_UNICODE
17394 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17395 #else
17396 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17397 #endif
17398 }
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxListEvent *arg1 = (wxListEvent *) 0 ;
17408 int result;
17409 PyObject * obj0 = 0 ;
17410 char *kwnames[] = {
17411 (char *) "self", NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 result = (int)(arg1)->GetImage();
17419
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 resultobj = PyInt_FromLong((long)result);
17424 return resultobj;
17425 fail:
17426 return NULL;
17427 }
17428
17429
17430 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17431 PyObject *resultobj;
17432 wxListEvent *arg1 = (wxListEvent *) 0 ;
17433 long result;
17434 PyObject * obj0 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (long)(arg1)->GetData();
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = PyInt_FromLong((long)result);
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxListEvent *arg1 = (wxListEvent *) 0 ;
17458 long result;
17459 PyObject * obj0 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (long)(arg1)->GetMask();
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = PyInt_FromLong((long)result);
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxListEvent *arg1 = (wxListEvent *) 0 ;
17483 wxListItem *result;
17484 PyObject * obj0 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 {
17494 wxListItem const &_result_ref = (arg1)->GetItem();
17495 result = (wxListItem *) &_result_ref;
17496 }
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxListEvent *arg1 = (wxListEvent *) 0 ;
17511 long result;
17512 PyObject * obj0 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = (long)(arg1)->GetCacheFrom();
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 resultobj = PyInt_FromLong((long)result);
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxListEvent *arg1 = (wxListEvent *) 0 ;
17536 long result;
17537 PyObject * obj0 = 0 ;
17538 char *kwnames[] = {
17539 (char *) "self", NULL
17540 };
17541
17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17544 {
17545 PyThreadState* __tstate = wxPyBeginAllowThreads();
17546 result = (long)(arg1)->GetCacheTo();
17547
17548 wxPyEndAllowThreads(__tstate);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 resultobj = PyInt_FromLong((long)result);
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxListEvent *arg1 = (wxListEvent *) 0 ;
17561 bool result;
17562 PyObject * obj0 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17572
17573 wxPyEndAllowThreads(__tstate);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 }
17576 resultobj = PyInt_FromLong((long)result);
17577 return resultobj;
17578 fail:
17579 return NULL;
17580 }
17581
17582
17583 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17584 PyObject *resultobj;
17585 wxListEvent *arg1 = (wxListEvent *) 0 ;
17586 bool arg2 ;
17587 PyObject * obj0 = 0 ;
17588 PyObject * obj1 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self",(char *) "editCancelled", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17595 arg2 = PyInt_AsLong(obj1) ? true : false;
17596 if (PyErr_Occurred()) SWIG_fail;
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 (arg1)->SetEditCanceled(arg2);
17600
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 Py_INCREF(Py_None); resultobj = Py_None;
17605 return resultobj;
17606 fail:
17607 return NULL;
17608 }
17609
17610
17611 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17612 PyObject *obj;
17613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17614 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17615 Py_INCREF(obj);
17616 return Py_BuildValue((char *)"");
17617 }
17618 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17619 PyObject *resultobj;
17620 wxWindow *arg1 = (wxWindow *) 0 ;
17621 int arg2 = (int) -1 ;
17622 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17623 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17624 wxSize const &arg4_defvalue = wxDefaultSize ;
17625 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17626 long arg5 = (long) wxLC_ICON ;
17627 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17628 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17629 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17630 wxString *arg7 = (wxString *) &arg7_defvalue ;
17631 wxPyListCtrl *result;
17632 wxPoint temp3 ;
17633 wxSize temp4 ;
17634 bool temp7 = False ;
17635 PyObject * obj0 = 0 ;
17636 PyObject * obj2 = 0 ;
17637 PyObject * obj3 = 0 ;
17638 PyObject * obj5 = 0 ;
17639 PyObject * obj6 = 0 ;
17640 char *kwnames[] = {
17641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17642 };
17643
17644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17646 if (obj2) {
17647 {
17648 arg3 = &temp3;
17649 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17650 }
17651 }
17652 if (obj3) {
17653 {
17654 arg4 = &temp4;
17655 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17656 }
17657 }
17658 if (obj5) {
17659 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17660 if (arg6 == NULL) {
17661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17662 }
17663 }
17664 if (obj6) {
17665 {
17666 arg7 = wxString_in_helper(obj6);
17667 if (arg7 == NULL) SWIG_fail;
17668 temp7 = True;
17669 }
17670 }
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17679 {
17680 if (temp7)
17681 delete arg7;
17682 }
17683 return resultobj;
17684 fail:
17685 {
17686 if (temp7)
17687 delete arg7;
17688 }
17689 return NULL;
17690 }
17691
17692
17693 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxPyListCtrl *result;
17696 char *kwnames[] = {
17697 NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 result = (wxPyListCtrl *)new wxPyListCtrl();
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17716 PyObject *resultobj;
17717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17718 wxWindow *arg2 = (wxWindow *) 0 ;
17719 int arg3 = (int) -1 ;
17720 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17721 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17722 wxSize const &arg5_defvalue = wxDefaultSize ;
17723 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17724 long arg6 = (long) wxLC_ICON ;
17725 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17726 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17727 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17728 wxString *arg8 = (wxString *) &arg8_defvalue ;
17729 bool result;
17730 wxPoint temp4 ;
17731 wxSize temp5 ;
17732 bool temp8 = False ;
17733 PyObject * obj0 = 0 ;
17734 PyObject * obj1 = 0 ;
17735 PyObject * obj3 = 0 ;
17736 PyObject * obj4 = 0 ;
17737 PyObject * obj6 = 0 ;
17738 PyObject * obj7 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17746 if (obj3) {
17747 {
17748 arg4 = &temp4;
17749 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17750 }
17751 }
17752 if (obj4) {
17753 {
17754 arg5 = &temp5;
17755 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17756 }
17757 }
17758 if (obj6) {
17759 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17760 if (arg7 == NULL) {
17761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17762 }
17763 }
17764 if (obj7) {
17765 {
17766 arg8 = wxString_in_helper(obj7);
17767 if (arg8 == NULL) SWIG_fail;
17768 temp8 = True;
17769 }
17770 }
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 resultobj = PyInt_FromLong((long)result);
17779 {
17780 if (temp8)
17781 delete arg8;
17782 }
17783 return resultobj;
17784 fail:
17785 {
17786 if (temp8)
17787 delete arg8;
17788 }
17789 return NULL;
17790 }
17791
17792
17793 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17794 PyObject *resultobj;
17795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17796 PyObject *arg2 = (PyObject *) 0 ;
17797 PyObject *arg3 = (PyObject *) 0 ;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 PyObject * obj2 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "self",(char *) "self",(char *) "_class", NULL
17803 };
17804
17805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17807 arg2 = obj1;
17808 arg3 = obj2;
17809 {
17810 PyThreadState* __tstate = wxPyBeginAllowThreads();
17811 (arg1)->_setCallbackInfo(arg2,arg3);
17812
17813 wxPyEndAllowThreads(__tstate);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 Py_INCREF(Py_None); resultobj = Py_None;
17817 return resultobj;
17818 fail:
17819 return NULL;
17820 }
17821
17822
17823 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17824 PyObject *resultobj;
17825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17826 wxColour *arg2 = 0 ;
17827 bool result;
17828 wxColour temp2 ;
17829 PyObject * obj0 = 0 ;
17830 PyObject * obj1 = 0 ;
17831 char *kwnames[] = {
17832 (char *) "self",(char *) "col", NULL
17833 };
17834
17835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17837 {
17838 arg2 = &temp2;
17839 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17840 }
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17844
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 resultobj = PyInt_FromLong((long)result);
17849 return resultobj;
17850 fail:
17851 return NULL;
17852 }
17853
17854
17855 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17856 PyObject *resultobj;
17857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17858 wxColour *arg2 = 0 ;
17859 bool result;
17860 wxColour temp2 ;
17861 PyObject * obj0 = 0 ;
17862 PyObject * obj1 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self",(char *) "col", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17869 {
17870 arg2 = &temp2;
17871 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17872 }
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 resultobj = PyInt_FromLong((long)result);
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj;
17889 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17890 int arg2 ;
17891 wxListItem *result;
17892 PyObject * obj0 = 0 ;
17893 char *kwnames[] = {
17894 (char *) "self",(char *) "col", NULL
17895 };
17896
17897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17899 {
17900 PyThreadState* __tstate = wxPyBeginAllowThreads();
17901 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 {
17907 resultobj = wxPyMake_wxObject(result);
17908 }
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17918 int arg2 ;
17919 wxListItem *arg3 = 0 ;
17920 bool result;
17921 PyObject * obj0 = 0 ;
17922 PyObject * obj2 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self",(char *) "col",(char *) "item", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17929 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17930 if (arg3 == NULL) {
17931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17932 }
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 resultobj = PyInt_FromLong((long)result);
17941 return resultobj;
17942 fail:
17943 return NULL;
17944 }
17945
17946
17947 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17950 int arg2 ;
17951 int result;
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self",(char *) "col", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17959 {
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = PyInt_FromLong((long)result);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17976 int arg2 ;
17977 int arg3 ;
17978 bool result;
17979 PyObject * obj0 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self",(char *) "col",(char *) "width", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17989
17990 wxPyEndAllowThreads(__tstate);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 resultobj = PyInt_FromLong((long)result);
17994 return resultobj;
17995 fail:
17996 return NULL;
17997 }
17998
17999
18000 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18001 PyObject *resultobj;
18002 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18003 int result;
18004 PyObject * obj0 = 0 ;
18005 char *kwnames[] = {
18006 (char *) "self", NULL
18007 };
18008
18009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 resultobj = PyInt_FromLong((long)result);
18019 return resultobj;
18020 fail:
18021 return NULL;
18022 }
18023
18024
18025 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18026 PyObject *resultobj;
18027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18028 wxRect result;
18029 PyObject * obj0 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) 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)->GetViewRect();
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 {
18044 wxRect * resultptr;
18045 resultptr = new wxRect((wxRect &) result);
18046 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18047 }
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18057 long arg2 ;
18058 int arg3 = (int) 0 ;
18059 wxListItem *result;
18060 PyObject * obj0 = 0 ;
18061 char *kwnames[] = {
18062 (char *) "self",(char *) "itemId",(char *) "col", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 {
18075 resultobj = wxPyMake_wxObject(result);
18076 }
18077 return resultobj;
18078 fail:
18079 return NULL;
18080 }
18081
18082
18083 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18086 wxListItem *arg2 = 0 ;
18087 bool result;
18088 PyObject * obj0 = 0 ;
18089 PyObject * obj1 = 0 ;
18090 char *kwnames[] = {
18091 (char *) "self",(char *) "info", NULL
18092 };
18093
18094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18097 if (arg2 == NULL) {
18098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18099 }
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (bool)(arg1)->SetItem(*arg2);
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 resultobj = PyInt_FromLong((long)result);
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18117 long arg2 ;
18118 int arg3 ;
18119 wxString *arg4 = 0 ;
18120 int arg5 = (int) -1 ;
18121 long result;
18122 bool temp4 = False ;
18123 PyObject * obj0 = 0 ;
18124 PyObject * obj3 = 0 ;
18125 char *kwnames[] = {
18126 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18127 };
18128
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18131 {
18132 arg4 = wxString_in_helper(obj3);
18133 if (arg4 == NULL) SWIG_fail;
18134 temp4 = True;
18135 }
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 resultobj = PyInt_FromLong((long)result);
18144 {
18145 if (temp4)
18146 delete arg4;
18147 }
18148 return resultobj;
18149 fail:
18150 {
18151 if (temp4)
18152 delete arg4;
18153 }
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18161 long arg2 ;
18162 long arg3 ;
18163 int result;
18164 PyObject * obj0 = 0 ;
18165 char *kwnames[] = {
18166 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18167 };
18168
18169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 resultobj = PyInt_FromLong((long)result);
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18188 long arg2 ;
18189 long arg3 ;
18190 long arg4 ;
18191 bool result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = PyInt_FromLong((long)result);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18216 long arg2 ;
18217 int arg3 ;
18218 int arg4 ;
18219 bool result;
18220 PyObject * obj0 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 resultobj = PyInt_FromLong((long)result);
18235 return resultobj;
18236 fail:
18237 return NULL;
18238 }
18239
18240
18241 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18242 PyObject *resultobj;
18243 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18244 long arg2 ;
18245 wxString result;
18246 PyObject * obj0 = 0 ;
18247 char *kwnames[] = {
18248 (char *) "self",(char *) "item", NULL
18249 };
18250
18251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18256
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 {
18261 #if wxUSE_UNICODE
18262 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18263 #else
18264 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18265 #endif
18266 }
18267 return resultobj;
18268 fail:
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18276 long arg2 ;
18277 wxString *arg3 = 0 ;
18278 bool temp3 = False ;
18279 PyObject * obj0 = 0 ;
18280 PyObject * obj2 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "item",(char *) "str", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 {
18288 arg3 = wxString_in_helper(obj2);
18289 if (arg3 == NULL) SWIG_fail;
18290 temp3 = True;
18291 }
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 Py_INCREF(Py_None); resultobj = Py_None;
18300 {
18301 if (temp3)
18302 delete arg3;
18303 }
18304 return resultobj;
18305 fail:
18306 {
18307 if (temp3)
18308 delete arg3;
18309 }
18310 return NULL;
18311 }
18312
18313
18314 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18317 long arg2 ;
18318 long result;
18319 PyObject * obj0 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self",(char *) "item", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 resultobj = PyInt_FromLong((long)result);
18334 return resultobj;
18335 fail:
18336 return NULL;
18337 }
18338
18339
18340 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18343 long arg2 ;
18344 long arg3 ;
18345 bool result;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self",(char *) "item",(char *) "data", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (bool)(arg1)->SetItemData(arg2,arg3);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 resultobj = PyInt_FromLong((long)result);
18361 return resultobj;
18362 fail:
18363 return NULL;
18364 }
18365
18366
18367 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18370 long arg2 ;
18371 wxPoint result;
18372 PyObject * obj0 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self",(char *) "item", NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 {
18387 wxPoint * resultptr;
18388 resultptr = new wxPoint((wxPoint &) result);
18389 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18390 }
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18400 long arg2 ;
18401 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18402 wxRect result;
18403 PyObject * obj0 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self",(char *) "item",(char *) "code", NULL
18406 };
18407
18408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 {
18418 wxRect * resultptr;
18419 resultptr = new wxRect((wxRect &) result);
18420 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18421 }
18422 return resultobj;
18423 fail:
18424 return NULL;
18425 }
18426
18427
18428 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18431 long arg2 ;
18432 wxPoint *arg3 = 0 ;
18433 bool result;
18434 wxPoint temp3 ;
18435 PyObject * obj0 = 0 ;
18436 PyObject * obj2 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self",(char *) "item",(char *) "pos", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18443 {
18444 arg3 = &temp3;
18445 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18446 }
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18450
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 resultobj = PyInt_FromLong((long)result);
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj;
18463 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18464 int result;
18465 PyObject * obj0 = 0 ;
18466 char *kwnames[] = {
18467 (char *) "self", NULL
18468 };
18469
18470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18472 {
18473 PyThreadState* __tstate = wxPyBeginAllowThreads();
18474 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18475
18476 wxPyEndAllowThreads(__tstate);
18477 if (PyErr_Occurred()) SWIG_fail;
18478 }
18479 resultobj = PyInt_FromLong((long)result);
18480 return resultobj;
18481 fail:
18482 return NULL;
18483 }
18484
18485
18486 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj;
18488 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18489 int result;
18490 PyObject * obj0 = 0 ;
18491 char *kwnames[] = {
18492 (char *) "self", NULL
18493 };
18494
18495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 resultobj = PyInt_FromLong((long)result);
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18514 wxSize result;
18515 PyObject * obj0 = 0 ;
18516 char *kwnames[] = {
18517 (char *) "self", NULL
18518 };
18519
18520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 {
18530 wxSize * resultptr;
18531 resultptr = new wxSize((wxSize &) result);
18532 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18533 }
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18541 PyObject *resultobj;
18542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18543 int arg2 ;
18544 bool arg3 = (bool) False ;
18545 PyObject * obj0 = 0 ;
18546 PyObject * obj2 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18553 if (obj2) {
18554 arg3 = PyInt_AsLong(obj2) ? true : false;
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 (arg1)->SetItemSpacing(arg2,arg3);
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 Py_INCREF(Py_None); resultobj = Py_None;
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18574 int result;
18575 PyObject * obj0 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18582 {
18583 PyThreadState* __tstate = wxPyBeginAllowThreads();
18584 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18585
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 resultobj = PyInt_FromLong((long)result);
18590 return resultobj;
18591 fail:
18592 return NULL;
18593 }
18594
18595
18596 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18597 PyObject *resultobj;
18598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18599 wxColour result;
18600 PyObject * obj0 = 0 ;
18601 char *kwnames[] = {
18602 (char *) "self", NULL
18603 };
18604
18605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 {
18615 wxColour * resultptr;
18616 resultptr = new wxColour((wxColour &) result);
18617 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18618 }
18619 return resultobj;
18620 fail:
18621 return NULL;
18622 }
18623
18624
18625 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj;
18627 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18628 wxColour *arg2 = 0 ;
18629 wxColour temp2 ;
18630 PyObject * obj0 = 0 ;
18631 PyObject * obj1 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self",(char *) "col", NULL
18634 };
18635
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18638 {
18639 arg2 = &temp2;
18640 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18641 }
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 (arg1)->SetTextColour((wxColour const &)*arg2);
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 Py_INCREF(Py_None); resultobj = Py_None;
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18659 long result;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18670
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 resultobj = PyInt_FromLong((long)result);
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18684 long arg2 ;
18685 bool arg3 = (bool) True ;
18686 PyObject * obj0 = 0 ;
18687 PyObject * obj2 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self",(char *) "style",(char *) "add", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18694 if (obj2) {
18695 arg3 = PyInt_AsLong(obj2) ? true : false;
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 (arg1)->SetSingleStyle(arg2,arg3);
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
18705 Py_INCREF(Py_None); resultobj = Py_None;
18706 return resultobj;
18707 fail:
18708 return NULL;
18709 }
18710
18711
18712 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18713 PyObject *resultobj;
18714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18715 long arg2 ;
18716 PyObject * obj0 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self",(char *) "style", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 (arg1)->SetWindowStyleFlag(arg2);
18726
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 Py_INCREF(Py_None); resultobj = Py_None;
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj;
18739 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18740 long arg2 ;
18741 int arg3 = (int) wxLIST_NEXT_ALL ;
18742 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18743 long result;
18744 PyObject * obj0 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 resultobj = PyInt_FromLong((long)result);
18759 return resultobj;
18760 fail:
18761 return NULL;
18762 }
18763
18764
18765 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj;
18767 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18768 int arg2 ;
18769 wxImageList *result;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self",(char *) "which", NULL
18773 };
18774
18775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 {
18785 resultobj = wxPyMake_wxObject(result);
18786 }
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj;
18795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18796 wxImageList *arg2 = (wxImageList *) 0 ;
18797 int arg3 ;
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj1 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self",(char *) "imageList",(char *) "which", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 (arg1)->SetImageList(arg2,arg3);
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 Py_INCREF(Py_None); resultobj = Py_None;
18815 return resultobj;
18816 fail:
18817 return NULL;
18818 }
18819
18820
18821 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18824 wxImageList *arg2 = (wxImageList *) 0 ;
18825 int arg3 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self",(char *) "imageList",(char *) "which", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18835 {
18836 PyThreadState* __tstate = wxPyBeginAllowThreads();
18837 (arg1)->AssignImageList(arg2,arg3);
18838
18839 wxPyEndAllowThreads(__tstate);
18840 if (PyErr_Occurred()) SWIG_fail;
18841 }
18842 Py_INCREF(Py_None); resultobj = Py_None;
18843 return resultobj;
18844 fail:
18845 return NULL;
18846 }
18847
18848
18849 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18850 PyObject *resultobj;
18851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18852 bool result;
18853 PyObject * obj0 = 0 ;
18854 char *kwnames[] = {
18855 (char *) "self", NULL
18856 };
18857
18858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18863
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 resultobj = PyInt_FromLong((long)result);
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18877 long arg2 ;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self",(char *) "item", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 (arg1)->RefreshItem(arg2);
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 Py_INCREF(Py_None); resultobj = Py_None;
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18902 long arg2 ;
18903 long arg3 ;
18904 PyObject * obj0 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->RefreshItems(arg2,arg3);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 return resultobj;
18920 fail:
18921 return NULL;
18922 }
18923
18924
18925 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18928 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18929 bool result;
18930 PyObject * obj0 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "flag", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (bool)(arg1)->Arrange(arg2);
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 resultobj = PyInt_FromLong((long)result);
18945 return resultobj;
18946 fail:
18947 return NULL;
18948 }
18949
18950
18951 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18952 PyObject *resultobj;
18953 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18954 long arg2 ;
18955 bool result;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self",(char *) "item", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 result = (bool)(arg1)->DeleteItem(arg2);
18966
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 resultobj = PyInt_FromLong((long)result);
18971 return resultobj;
18972 fail:
18973 return NULL;
18974 }
18975
18976
18977 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18980 bool result;
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = (bool)(arg1)->DeleteAllItems();
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 resultobj = PyInt_FromLong((long)result);
18996 return resultobj;
18997 fail:
18998 return NULL;
18999 }
19000
19001
19002 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19003 PyObject *resultobj;
19004 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19005 int arg2 ;
19006 bool result;
19007 PyObject * obj0 = 0 ;
19008 char *kwnames[] = {
19009 (char *) "self",(char *) "col", NULL
19010 };
19011
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19014 {
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 result = (bool)(arg1)->DeleteColumn(arg2);
19017
19018 wxPyEndAllowThreads(__tstate);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 resultobj = PyInt_FromLong((long)result);
19022 return resultobj;
19023 fail:
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19031 bool result;
19032 PyObject * obj0 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 result = (bool)(arg1)->DeleteAllColumns();
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 resultobj = PyInt_FromLong((long)result);
19047 return resultobj;
19048 fail:
19049 return NULL;
19050 }
19051
19052
19053 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj;
19055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19056 PyObject * obj0 = 0 ;
19057 char *kwnames[] = {
19058 (char *) "self", NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 (arg1)->ClearAll();
19066
19067 wxPyEndAllowThreads(__tstate);
19068 if (PyErr_Occurred()) SWIG_fail;
19069 }
19070 Py_INCREF(Py_None); resultobj = Py_None;
19071 return resultobj;
19072 fail:
19073 return NULL;
19074 }
19075
19076
19077 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19080 long arg2 ;
19081 PyObject * obj0 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self",(char *) "item", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 (arg1)->EditLabel(arg2);
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 Py_INCREF(Py_None); resultobj = Py_None;
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj;
19104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19105 long arg2 ;
19106 bool result;
19107 PyObject * obj0 = 0 ;
19108 char *kwnames[] = {
19109 (char *) "self",(char *) "item", NULL
19110 };
19111
19112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 result = (bool)(arg1)->EnsureVisible(arg2);
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 resultobj = PyInt_FromLong((long)result);
19122 return resultobj;
19123 fail:
19124 return NULL;
19125 }
19126
19127
19128 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj;
19130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19131 long arg2 ;
19132 wxString *arg3 = 0 ;
19133 bool arg4 = (bool) False ;
19134 long result;
19135 bool temp3 = False ;
19136 PyObject * obj0 = 0 ;
19137 PyObject * obj2 = 0 ;
19138 PyObject * obj3 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19145 {
19146 arg3 = wxString_in_helper(obj2);
19147 if (arg3 == NULL) SWIG_fail;
19148 temp3 = True;
19149 }
19150 if (obj3) {
19151 arg4 = PyInt_AsLong(obj3) ? true : false;
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = PyInt_FromLong((long)result);
19162 {
19163 if (temp3)
19164 delete arg3;
19165 }
19166 return resultobj;
19167 fail:
19168 {
19169 if (temp3)
19170 delete arg3;
19171 }
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19179 long arg2 ;
19180 long arg3 ;
19181 long result;
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self",(char *) "start",(char *) "data", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 result = (long)(arg1)->FindItem(arg2,arg3);
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 resultobj = PyInt_FromLong((long)result);
19197 return resultobj;
19198 fail:
19199 return NULL;
19200 }
19201
19202
19203 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19206 long arg2 ;
19207 wxPoint *arg3 = 0 ;
19208 int arg4 ;
19209 long result;
19210 wxPoint temp3 ;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj2 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19219 {
19220 arg3 = &temp3;
19221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19222 }
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 resultobj = PyInt_FromLong((long)result);
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19240 wxPoint *arg2 = 0 ;
19241 int *arg3 = 0 ;
19242 long result;
19243 wxPoint temp2 ;
19244 int temp3 ;
19245 PyObject * obj0 = 0 ;
19246 PyObject * obj1 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self",(char *) "point", NULL
19249 };
19250
19251 arg3 = &temp3;
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19254 {
19255 arg2 = &temp2;
19256 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19257 }
19258 {
19259 PyThreadState* __tstate = wxPyBeginAllowThreads();
19260 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19261
19262 wxPyEndAllowThreads(__tstate);
19263 if (PyErr_Occurred()) SWIG_fail;
19264 }
19265 resultobj = PyInt_FromLong((long)result);
19266 {
19267 PyObject *o = PyInt_FromLong((long) (*arg3));
19268 resultobj = t_output_helper(resultobj,o);
19269 }
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj;
19278 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19279 wxListItem *arg2 = 0 ;
19280 long result;
19281 PyObject * obj0 = 0 ;
19282 PyObject * obj1 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self",(char *) "info", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19290 if (arg2 == NULL) {
19291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19292 }
19293 {
19294 PyThreadState* __tstate = wxPyBeginAllowThreads();
19295 result = (long)(arg1)->InsertItem(*arg2);
19296
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 resultobj = PyInt_FromLong((long)result);
19301 return resultobj;
19302 fail:
19303 return NULL;
19304 }
19305
19306
19307 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj;
19309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19310 long arg2 ;
19311 wxString *arg3 = 0 ;
19312 long result;
19313 bool temp3 = False ;
19314 PyObject * obj0 = 0 ;
19315 PyObject * obj2 = 0 ;
19316 char *kwnames[] = {
19317 (char *) "self",(char *) "index",(char *) "label", NULL
19318 };
19319
19320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19322 {
19323 arg3 = wxString_in_helper(obj2);
19324 if (arg3 == NULL) SWIG_fail;
19325 temp3 = True;
19326 }
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 resultobj = PyInt_FromLong((long)result);
19335 {
19336 if (temp3)
19337 delete arg3;
19338 }
19339 return resultobj;
19340 fail:
19341 {
19342 if (temp3)
19343 delete arg3;
19344 }
19345 return NULL;
19346 }
19347
19348
19349 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19350 PyObject *resultobj;
19351 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19352 long arg2 ;
19353 int arg3 ;
19354 long result;
19355 PyObject * obj0 = 0 ;
19356 char *kwnames[] = {
19357 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19358 };
19359
19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (long)(arg1)->InsertItem(arg2,arg3);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 resultobj = PyInt_FromLong((long)result);
19370 return resultobj;
19371 fail:
19372 return NULL;
19373 }
19374
19375
19376 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19377 PyObject *resultobj;
19378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19379 long arg2 ;
19380 wxString *arg3 = 0 ;
19381 int arg4 ;
19382 long result;
19383 bool temp3 = False ;
19384 PyObject * obj0 = 0 ;
19385 PyObject * obj2 = 0 ;
19386 char *kwnames[] = {
19387 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19388 };
19389
19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19392 {
19393 arg3 = wxString_in_helper(obj2);
19394 if (arg3 == NULL) SWIG_fail;
19395 temp3 = True;
19396 }
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = PyInt_FromLong((long)result);
19405 {
19406 if (temp3)
19407 delete arg3;
19408 }
19409 return resultobj;
19410 fail:
19411 {
19412 if (temp3)
19413 delete arg3;
19414 }
19415 return NULL;
19416 }
19417
19418
19419 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19422 long arg2 ;
19423 wxListItem *arg3 = 0 ;
19424 long result;
19425 PyObject * obj0 = 0 ;
19426 PyObject * obj2 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self",(char *) "col",(char *) "info", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19433 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19434 if (arg3 == NULL) {
19435 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19436 }
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 resultobj = PyInt_FromLong((long)result);
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19454 long arg2 ;
19455 wxString *arg3 = 0 ;
19456 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19457 int arg5 = (int) -1 ;
19458 long result;
19459 bool temp3 = False ;
19460 PyObject * obj0 = 0 ;
19461 PyObject * obj2 = 0 ;
19462 char *kwnames[] = {
19463 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19464 };
19465
19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19468 {
19469 arg3 = wxString_in_helper(obj2);
19470 if (arg3 == NULL) SWIG_fail;
19471 temp3 = True;
19472 }
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19476
19477 wxPyEndAllowThreads(__tstate);
19478 if (PyErr_Occurred()) SWIG_fail;
19479 }
19480 resultobj = PyInt_FromLong((long)result);
19481 {
19482 if (temp3)
19483 delete arg3;
19484 }
19485 return resultobj;
19486 fail:
19487 {
19488 if (temp3)
19489 delete arg3;
19490 }
19491 return NULL;
19492 }
19493
19494
19495 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19498 long arg2 ;
19499 PyObject * obj0 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self",(char *) "count", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 (arg1)->SetItemCount(arg2);
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 Py_INCREF(Py_None); resultobj = Py_None;
19514 return resultobj;
19515 fail:
19516 return NULL;
19517 }
19518
19519
19520 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19523 int arg2 ;
19524 int arg3 ;
19525 bool result;
19526 PyObject * obj0 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self",(char *) "dx",(char *) "dy", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 result = (bool)(arg1)->ScrollList(arg2,arg3);
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 resultobj = PyInt_FromLong((long)result);
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19550 long arg2 ;
19551 wxColour *arg3 = 0 ;
19552 wxColour temp3 ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj2 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "item",(char *) "col", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 {
19562 arg3 = &temp3;
19563 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19564 }
19565 {
19566 PyThreadState* __tstate = wxPyBeginAllowThreads();
19567 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19568
19569 wxPyEndAllowThreads(__tstate);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 Py_INCREF(Py_None); resultobj = Py_None;
19573 return resultobj;
19574 fail:
19575 return NULL;
19576 }
19577
19578
19579 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19580 PyObject *resultobj;
19581 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19582 long arg2 ;
19583 wxColour result;
19584 PyObject * obj0 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self",(char *) "item", NULL
19587 };
19588
19589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 {
19599 wxColour * resultptr;
19600 resultptr = new wxColour((wxColour &) result);
19601 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19602 }
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj;
19611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19612 long arg2 ;
19613 wxColour *arg3 = 0 ;
19614 wxColour temp3 ;
19615 PyObject * obj0 = 0 ;
19616 PyObject * obj2 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self",(char *) "item",(char *) "col", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19623 {
19624 arg3 = &temp3;
19625 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19626 }
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 Py_INCREF(Py_None); resultobj = Py_None;
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19644 long arg2 ;
19645 wxColour result;
19646 PyObject * obj0 = 0 ;
19647 char *kwnames[] = {
19648 (char *) "self",(char *) "item", NULL
19649 };
19650
19651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 {
19661 wxColour * resultptr;
19662 resultptr = new wxColour((wxColour &) result);
19663 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19664 }
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19674 PyObject *arg2 = (PyObject *) 0 ;
19675 bool result;
19676 PyObject * obj0 = 0 ;
19677 PyObject * obj1 = 0 ;
19678 char *kwnames[] = {
19679 (char *) "self",(char *) "func", NULL
19680 };
19681
19682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19684 arg2 = obj1;
19685 {
19686 PyThreadState* __tstate = wxPyBeginAllowThreads();
19687 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19688
19689 wxPyEndAllowThreads(__tstate);
19690 if (PyErr_Occurred()) SWIG_fail;
19691 }
19692 resultobj = PyInt_FromLong((long)result);
19693 return resultobj;
19694 fail:
19695 return NULL;
19696 }
19697
19698
19699 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19700 PyObject *resultobj;
19701 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19702 wxWindow *result;
19703 PyObject * obj0 = 0 ;
19704 char *kwnames[] = {
19705 (char *) "self", NULL
19706 };
19707
19708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 {
19718 resultobj = wxPyMake_wxObject(result);
19719 }
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19727 PyObject *obj;
19728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19729 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19730 Py_INCREF(obj);
19731 return Py_BuildValue((char *)"");
19732 }
19733 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19734 PyObject *resultobj;
19735 wxWindow *arg1 = (wxWindow *) 0 ;
19736 int arg2 = (int) -1 ;
19737 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19738 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19739 wxSize const &arg4_defvalue = wxDefaultSize ;
19740 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19741 long arg5 = (long) wxLC_REPORT ;
19742 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19743 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19744 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19745 wxString *arg7 = (wxString *) &arg7_defvalue ;
19746 wxListView *result;
19747 wxPoint temp3 ;
19748 wxSize temp4 ;
19749 bool temp7 = False ;
19750 PyObject * obj0 = 0 ;
19751 PyObject * obj2 = 0 ;
19752 PyObject * obj3 = 0 ;
19753 PyObject * obj5 = 0 ;
19754 PyObject * obj6 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19761 if (obj2) {
19762 {
19763 arg3 = &temp3;
19764 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19765 }
19766 }
19767 if (obj3) {
19768 {
19769 arg4 = &temp4;
19770 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19771 }
19772 }
19773 if (obj5) {
19774 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19775 if (arg6 == NULL) {
19776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19777 }
19778 }
19779 if (obj6) {
19780 {
19781 arg7 = wxString_in_helper(obj6);
19782 if (arg7 == NULL) SWIG_fail;
19783 temp7 = True;
19784 }
19785 }
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19794 {
19795 if (temp7)
19796 delete arg7;
19797 }
19798 return resultobj;
19799 fail:
19800 {
19801 if (temp7)
19802 delete arg7;
19803 }
19804 return NULL;
19805 }
19806
19807
19808 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxListView *result;
19811 char *kwnames[] = {
19812 NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 result = (wxListView *)new wxListView();
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxListView *arg1 = (wxListView *) 0 ;
19833 wxWindow *arg2 = (wxWindow *) 0 ;
19834 int arg3 = (int) -1 ;
19835 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19836 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19837 wxSize const &arg5_defvalue = wxDefaultSize ;
19838 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19839 long arg6 = (long) wxLC_REPORT ;
19840 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19841 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19842 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19843 wxString *arg8 = (wxString *) &arg8_defvalue ;
19844 bool result;
19845 wxPoint temp4 ;
19846 wxSize temp5 ;
19847 bool temp8 = False ;
19848 PyObject * obj0 = 0 ;
19849 PyObject * obj1 = 0 ;
19850 PyObject * obj3 = 0 ;
19851 PyObject * obj4 = 0 ;
19852 PyObject * obj6 = 0 ;
19853 PyObject * obj7 = 0 ;
19854 char *kwnames[] = {
19855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19856 };
19857
19858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19861 if (obj3) {
19862 {
19863 arg4 = &temp4;
19864 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19865 }
19866 }
19867 if (obj4) {
19868 {
19869 arg5 = &temp5;
19870 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19871 }
19872 }
19873 if (obj6) {
19874 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 if (arg7 == NULL) {
19876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19877 }
19878 }
19879 if (obj7) {
19880 {
19881 arg8 = wxString_in_helper(obj7);
19882 if (arg8 == NULL) SWIG_fail;
19883 temp8 = True;
19884 }
19885 }
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 resultobj = PyInt_FromLong((long)result);
19894 {
19895 if (temp8)
19896 delete arg8;
19897 }
19898 return resultobj;
19899 fail:
19900 {
19901 if (temp8)
19902 delete arg8;
19903 }
19904 return NULL;
19905 }
19906
19907
19908 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxListView *arg1 = (wxListView *) 0 ;
19911 long arg2 ;
19912 bool arg3 = (bool) True ;
19913 PyObject * obj0 = 0 ;
19914 PyObject * obj2 = 0 ;
19915 char *kwnames[] = {
19916 (char *) "self",(char *) "n",(char *) "on", NULL
19917 };
19918
19919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19921 if (obj2) {
19922 arg3 = PyInt_AsLong(obj2) ? true : false;
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->Select(arg2,arg3);
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 Py_INCREF(Py_None); resultobj = Py_None;
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxListView *arg1 = (wxListView *) 0 ;
19942 long arg2 ;
19943 PyObject * obj0 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self",(char *) "index", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->Focus(arg2);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxListView *arg1 = (wxListView *) 0 ;
19967 long result;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 resultobj = PyInt_FromLong((long)result);
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxListView *arg1 = (wxListView *) 0 ;
19992 long arg2 ;
19993 long result;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "item", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 resultobj = PyInt_FromLong((long)result);
20009 return resultobj;
20010 fail:
20011 return NULL;
20012 }
20013
20014
20015 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20016 PyObject *resultobj;
20017 wxListView *arg1 = (wxListView *) 0 ;
20018 long result;
20019 PyObject * obj0 = 0 ;
20020 char *kwnames[] = {
20021 (char *) "self", NULL
20022 };
20023
20024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 resultobj = PyInt_FromLong((long)result);
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxListView *arg1 = (wxListView *) 0 ;
20043 long arg2 ;
20044 bool result;
20045 PyObject * obj0 = 0 ;
20046 char *kwnames[] = {
20047 (char *) "self",(char *) "index", NULL
20048 };
20049
20050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = (bool)(arg1)->IsSelected(arg2);
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = PyInt_FromLong((long)result);
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxListView *arg1 = (wxListView *) 0 ;
20069 int arg2 ;
20070 int arg3 ;
20071 PyObject * obj0 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self",(char *) "col",(char *) "image", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetColumnImage(arg2,arg3);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxListView *arg1 = (wxListView *) 0 ;
20095 int arg2 ;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "col", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 (arg1)->ClearColumnImage(arg2);
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 Py_INCREF(Py_None); resultobj = Py_None;
20111 return resultobj;
20112 fail:
20113 return NULL;
20114 }
20115
20116
20117 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20118 PyObject *obj;
20119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20120 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20121 Py_INCREF(obj);
20122 return Py_BuildValue((char *)"");
20123 }
20124 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20125 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20126 return 1;
20127 }
20128
20129
20130 static PyObject *_wrap_TreeCtrlNameStr_get() {
20131 PyObject *pyobj;
20132
20133 {
20134 #if wxUSE_UNICODE
20135 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20136 #else
20137 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20138 #endif
20139 }
20140 return pyobj;
20141 }
20142
20143
20144 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxTreeItemId *result;
20147 char *kwnames[] = {
20148 NULL
20149 };
20150
20151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20152 {
20153 PyThreadState* __tstate = wxPyBeginAllowThreads();
20154 result = (wxTreeItemId *)new wxTreeItemId();
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj;
20168 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20169 PyObject * obj0 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 delete arg1;
20179
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 Py_INCREF(Py_None); resultobj = Py_None;
20184 return resultobj;
20185 fail:
20186 return NULL;
20187 }
20188
20189
20190 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20193 bool result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20201 {
20202 PyThreadState* __tstate = wxPyBeginAllowThreads();
20203 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20204
20205 wxPyEndAllowThreads(__tstate);
20206 if (PyErr_Occurred()) SWIG_fail;
20207 }
20208 resultobj = PyInt_FromLong((long)result);
20209 return resultobj;
20210 fail:
20211 return NULL;
20212 }
20213
20214
20215 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20216 PyObject *resultobj;
20217 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20218 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20219 bool result;
20220 PyObject * obj0 = 0 ;
20221 PyObject * obj1 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self",(char *) "other", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 resultobj = PyInt_FromLong((long)result);
20237 return resultobj;
20238 fail:
20239 return NULL;
20240 }
20241
20242
20243 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20246 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20247 bool result;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 char *kwnames[] = {
20251 (char *) "self",(char *) "other", NULL
20252 };
20253
20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20257 {
20258 PyThreadState* __tstate = wxPyBeginAllowThreads();
20259 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20260
20261 wxPyEndAllowThreads(__tstate);
20262 if (PyErr_Occurred()) SWIG_fail;
20263 }
20264 resultobj = PyInt_FromLong((long)result);
20265 return resultobj;
20266 fail:
20267 return NULL;
20268 }
20269
20270
20271 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20272 PyObject *resultobj;
20273 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20274 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20275 PyObject * obj0 = 0 ;
20276 PyObject * obj1 = 0 ;
20277 char *kwnames[] = {
20278 (char *) "self",(char *) "m_pItem", NULL
20279 };
20280
20281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20284 if (arg1) (arg1)->m_pItem = arg2;
20285
20286 Py_INCREF(Py_None); resultobj = Py_None;
20287 return resultobj;
20288 fail:
20289 return NULL;
20290 }
20291
20292
20293 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20294 PyObject *resultobj;
20295 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20296 wxTreeItemIdValue result;
20297 PyObject * obj0 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20304 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20305
20306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20307 return resultobj;
20308 fail:
20309 return NULL;
20310 }
20311
20312
20313 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20314 PyObject *obj;
20315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20316 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20317 Py_INCREF(obj);
20318 return Py_BuildValue((char *)"");
20319 }
20320 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 PyObject *arg1 = (PyObject *) NULL ;
20323 wxPyTreeItemData *result;
20324 PyObject * obj0 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "obj", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20330 if (obj0) {
20331 arg1 = obj0;
20332 }
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20350 PyObject *result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (PyObject *)(arg1)->GetData();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 resultobj = result;
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20375 PyObject *arg2 = (PyObject *) 0 ;
20376 PyObject * obj0 = 0 ;
20377 PyObject * obj1 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "obj", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20384 arg2 = obj1;
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 (arg1)->SetData(arg2);
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 Py_INCREF(Py_None); resultobj = Py_None;
20393 return resultobj;
20394 fail:
20395 return NULL;
20396 }
20397
20398
20399 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj;
20401 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20402 wxTreeItemId *result;
20403 PyObject * obj0 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 {
20413 wxTreeItemId const &_result_ref = (arg1)->GetId();
20414 result = (wxTreeItemId *) &_result_ref;
20415 }
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20430 wxTreeItemId *arg2 = 0 ;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self",(char *) "id", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20440 if (arg2 == NULL) {
20441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20442 }
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 (arg1)->SetId((wxTreeItemId const &)*arg2);
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 Py_INCREF(Py_None); resultobj = Py_None;
20451 return resultobj;
20452 fail:
20453 return NULL;
20454 }
20455
20456
20457 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj;
20459 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20460 PyObject * obj0 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 wxPyTreeItemData_Destroy(arg1);
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 Py_INCREF(Py_None); resultobj = Py_None;
20475 return resultobj;
20476 fail:
20477 return NULL;
20478 }
20479
20480
20481 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20482 PyObject *obj;
20483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20484 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20485 Py_INCREF(obj);
20486 return Py_BuildValue((char *)"");
20487 }
20488 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20491 int arg2 = (int) 0 ;
20492 wxTreeEvent *result;
20493 char *kwnames[] = {
20494 (char *) "commandType",(char *) "id", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20506 return resultobj;
20507 fail:
20508 return NULL;
20509 }
20510
20511
20512 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj;
20514 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20515 wxTreeItemId result;
20516 PyObject * obj0 = 0 ;
20517 char *kwnames[] = {
20518 (char *) "self", NULL
20519 };
20520
20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 result = ((wxTreeEvent const *)arg1)->GetItem();
20526
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 {
20531 wxTreeItemId * resultptr;
20532 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20533 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20534 }
20535 return resultobj;
20536 fail:
20537 return NULL;
20538 }
20539
20540
20541 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20544 wxTreeItemId *arg2 = 0 ;
20545 PyObject * obj0 = 0 ;
20546 PyObject * obj1 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self",(char *) "item", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20554 if (arg2 == NULL) {
20555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20556 }
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 Py_INCREF(Py_None); resultobj = Py_None;
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20574 wxTreeItemId result;
20575 PyObject * obj0 = 0 ;
20576 char *kwnames[] = {
20577 (char *) "self", NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590 wxTreeItemId * resultptr;
20591 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20592 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20593 }
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20603 wxTreeItemId *arg2 = 0 ;
20604 PyObject * obj0 = 0 ;
20605 PyObject * obj1 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "item", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20613 if (arg2 == NULL) {
20614 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20615 }
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 Py_INCREF(Py_None); resultobj = Py_None;
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20633 wxPoint result;
20634 PyObject * obj0 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",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 = ((wxTreeEvent const *)arg1)->GetPoint();
20644
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 {
20649 wxPoint * resultptr;
20650 resultptr = new wxPoint((wxPoint &) result);
20651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20652 }
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20662 wxPoint *arg2 = 0 ;
20663 wxPoint temp2 ;
20664 PyObject * obj0 = 0 ;
20665 PyObject * obj1 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self",(char *) "pt", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 {
20673 arg2 = &temp2;
20674 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->SetPoint((wxPoint const &)*arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20693 wxKeyEvent *result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 {
20704 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20705 result = (wxKeyEvent *) &_result_ref;
20706 }
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20721 int result;
20722 PyObject * obj0 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 resultobj = PyInt_FromLong((long)result);
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20746 wxKeyEvent *arg2 = 0 ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self",(char *) "evt", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20756 if (arg2 == NULL) {
20757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20758 }
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 Py_INCREF(Py_None); resultobj = Py_None;
20767 return resultobj;
20768 fail:
20769 return NULL;
20770 }
20771
20772
20773 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20776 wxString *result;
20777 PyObject * obj0 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 {
20787 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20788 result = (wxString *) &_result_ref;
20789 }
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 {
20795 #if wxUSE_UNICODE
20796 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20797 #else
20798 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20799 #endif
20800 }
20801 return resultobj;
20802 fail:
20803 return NULL;
20804 }
20805
20806
20807 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20810 wxString *arg2 = 0 ;
20811 bool temp2 = False ;
20812 PyObject * obj0 = 0 ;
20813 PyObject * obj1 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self",(char *) "label", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20820 {
20821 arg2 = wxString_in_helper(obj1);
20822 if (arg2 == NULL) SWIG_fail;
20823 temp2 = True;
20824 }
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 (arg1)->SetLabel((wxString const &)*arg2);
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 Py_INCREF(Py_None); resultobj = Py_None;
20833 {
20834 if (temp2)
20835 delete arg2;
20836 }
20837 return resultobj;
20838 fail:
20839 {
20840 if (temp2)
20841 delete arg2;
20842 }
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20850 bool result;
20851 PyObject * obj0 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 resultobj = PyInt_FromLong((long)result);
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20875 bool arg2 ;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self",(char *) "editCancelled", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20884 arg2 = PyInt_AsLong(obj1) ? true : false;
20885 if (PyErr_Occurred()) SWIG_fail;
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 (arg1)->SetEditCanceled(arg2);
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 Py_INCREF(Py_None); resultobj = Py_None;
20894 return resultobj;
20895 fail:
20896 return NULL;
20897 }
20898
20899
20900 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20903 wxString *arg2 = 0 ;
20904 bool temp2 = False ;
20905 PyObject * obj0 = 0 ;
20906 PyObject * obj1 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self",(char *) "toolTip", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20913 {
20914 arg2 = wxString_in_helper(obj1);
20915 if (arg2 == NULL) SWIG_fail;
20916 temp2 = True;
20917 }
20918 {
20919 PyThreadState* __tstate = wxPyBeginAllowThreads();
20920 (arg1)->SetToolTip((wxString const &)*arg2);
20921
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 Py_INCREF(Py_None); resultobj = Py_None;
20926 {
20927 if (temp2)
20928 delete arg2;
20929 }
20930 return resultobj;
20931 fail:
20932 {
20933 if (temp2)
20934 delete arg2;
20935 }
20936 return NULL;
20937 }
20938
20939
20940 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20941 PyObject *obj;
20942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20943 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20944 Py_INCREF(obj);
20945 return Py_BuildValue((char *)"");
20946 }
20947 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj;
20949 wxWindow *arg1 = (wxWindow *) 0 ;
20950 int arg2 = (int) -1 ;
20951 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20952 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20953 wxSize const &arg4_defvalue = wxDefaultSize ;
20954 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20955 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20956 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20957 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20958 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
20959 wxString *arg7 = (wxString *) &arg7_defvalue ;
20960 wxPyTreeCtrl *result;
20961 wxPoint temp3 ;
20962 wxSize temp4 ;
20963 bool temp7 = False ;
20964 PyObject * obj0 = 0 ;
20965 PyObject * obj2 = 0 ;
20966 PyObject * obj3 = 0 ;
20967 PyObject * obj5 = 0 ;
20968 PyObject * obj6 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20975 if (obj2) {
20976 {
20977 arg3 = &temp3;
20978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20979 }
20980 }
20981 if (obj3) {
20982 {
20983 arg4 = &temp4;
20984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20985 }
20986 }
20987 if (obj5) {
20988 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20989 if (arg6 == NULL) {
20990 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20991 }
20992 }
20993 if (obj6) {
20994 {
20995 arg7 = wxString_in_helper(obj6);
20996 if (arg7 == NULL) SWIG_fail;
20997 temp7 = True;
20998 }
20999 }
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 {
21008 resultobj = wxPyMake_wxObject(result);
21009 }
21010 {
21011 if (temp7)
21012 delete arg7;
21013 }
21014 return resultobj;
21015 fail:
21016 {
21017 if (temp7)
21018 delete arg7;
21019 }
21020 return NULL;
21021 }
21022
21023
21024 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxPyTreeCtrl *result;
21027 char *kwnames[] = {
21028 NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21035
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 {
21040 resultobj = wxPyMake_wxObject(result);
21041 }
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21051 wxWindow *arg2 = (wxWindow *) 0 ;
21052 int arg3 = (int) -1 ;
21053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21055 wxSize const &arg5_defvalue = wxDefaultSize ;
21056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21057 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21058 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21059 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21060 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21061 wxString *arg8 = (wxString *) &arg8_defvalue ;
21062 bool result;
21063 wxPoint temp4 ;
21064 wxSize temp5 ;
21065 bool temp8 = False ;
21066 PyObject * obj0 = 0 ;
21067 PyObject * obj1 = 0 ;
21068 PyObject * obj3 = 0 ;
21069 PyObject * obj4 = 0 ;
21070 PyObject * obj6 = 0 ;
21071 PyObject * obj7 = 0 ;
21072 char *kwnames[] = {
21073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21074 };
21075
21076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21079 if (obj3) {
21080 {
21081 arg4 = &temp4;
21082 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21083 }
21084 }
21085 if (obj4) {
21086 {
21087 arg5 = &temp5;
21088 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21089 }
21090 }
21091 if (obj6) {
21092 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21093 if (arg7 == NULL) {
21094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21095 }
21096 }
21097 if (obj7) {
21098 {
21099 arg8 = wxString_in_helper(obj7);
21100 if (arg8 == NULL) SWIG_fail;
21101 temp8 = True;
21102 }
21103 }
21104 {
21105 PyThreadState* __tstate = wxPyBeginAllowThreads();
21106 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21107
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 resultobj = PyInt_FromLong((long)result);
21112 {
21113 if (temp8)
21114 delete arg8;
21115 }
21116 return resultobj;
21117 fail:
21118 {
21119 if (temp8)
21120 delete arg8;
21121 }
21122 return NULL;
21123 }
21124
21125
21126 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj;
21128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21129 PyObject *arg2 = (PyObject *) 0 ;
21130 PyObject *arg3 = (PyObject *) 0 ;
21131 PyObject * obj0 = 0 ;
21132 PyObject * obj1 = 0 ;
21133 PyObject * obj2 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self",(char *) "self",(char *) "_class", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21140 arg2 = obj1;
21141 arg3 = obj2;
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 (arg1)->_setCallbackInfo(arg2,arg3);
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 Py_INCREF(Py_None); resultobj = Py_None;
21150 return resultobj;
21151 fail:
21152 return NULL;
21153 }
21154
21155
21156 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21157 PyObject *resultobj;
21158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21159 size_t result;
21160 PyObject * obj0 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21167 {
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21170
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 resultobj = PyInt_FromLong((long)result);
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj;
21183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21184 unsigned int result;
21185 PyObject * obj0 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 resultobj = PyInt_FromLong((long)result);
21200 return resultobj;
21201 fail:
21202 return NULL;
21203 }
21204
21205
21206 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21209 unsigned int arg2 ;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self",(char *) "indent", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21218 arg2 = (unsigned int) PyInt_AsLong(obj1);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 (arg1)->SetIndent(arg2);
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 Py_INCREF(Py_None); resultobj = Py_None;
21228 return resultobj;
21229 fail:
21230 return NULL;
21231 }
21232
21233
21234 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21237 unsigned int result;
21238 PyObject * obj0 = 0 ;
21239 char *kwnames[] = {
21240 (char *) "self", NULL
21241 };
21242
21243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21245 {
21246 PyThreadState* __tstate = wxPyBeginAllowThreads();
21247 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21248
21249 wxPyEndAllowThreads(__tstate);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 }
21252 resultobj = PyInt_FromLong((long)result);
21253 return resultobj;
21254 fail:
21255 return NULL;
21256 }
21257
21258
21259 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21260 PyObject *resultobj;
21261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21262 unsigned int arg2 ;
21263 PyObject * obj0 = 0 ;
21264 PyObject * obj1 = 0 ;
21265 char *kwnames[] = {
21266 (char *) "self",(char *) "spacing", NULL
21267 };
21268
21269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21271 arg2 = (unsigned int) PyInt_AsLong(obj1);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 (arg1)->SetSpacing(arg2);
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 Py_INCREF(Py_None); resultobj = Py_None;
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21290 wxImageList *result;
21291 PyObject * obj0 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "self", NULL
21294 };
21295
21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 {
21306 resultobj = wxPyMake_wxObject(result);
21307 }
21308 return resultobj;
21309 fail:
21310 return NULL;
21311 }
21312
21313
21314 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21317 wxImageList *result;
21318 PyObject * obj0 = 0 ;
21319 char *kwnames[] = {
21320 (char *) "self", NULL
21321 };
21322
21323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 {
21333 resultobj = wxPyMake_wxObject(result);
21334 }
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj;
21343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21344 wxImageList *arg2 = (wxImageList *) 0 ;
21345 PyObject * obj0 = 0 ;
21346 PyObject * obj1 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self",(char *) "imageList", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->SetImageList(arg2);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21371 wxImageList *arg2 = (wxImageList *) 0 ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self",(char *) "imageList", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 (arg1)->SetStateImageList(arg2);
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 Py_INCREF(Py_None); resultobj = Py_None;
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21398 wxImageList *arg2 = (wxImageList *) 0 ;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self",(char *) "imageList", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21408 {
21409 PyThreadState* __tstate = wxPyBeginAllowThreads();
21410 (arg1)->AssignImageList(arg2);
21411
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 Py_INCREF(Py_None); resultobj = Py_None;
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21425 wxImageList *arg2 = (wxImageList *) 0 ;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self",(char *) "imageList", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 (arg1)->AssignStateImageList(arg2);
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 Py_INCREF(Py_None); resultobj = Py_None;
21443 return resultobj;
21444 fail:
21445 return NULL;
21446 }
21447
21448
21449 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21450 PyObject *resultobj;
21451 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21452 wxTreeItemId *arg2 = 0 ;
21453 wxString result;
21454 PyObject * obj0 = 0 ;
21455 PyObject * obj1 = 0 ;
21456 char *kwnames[] = {
21457 (char *) "self",(char *) "item", NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21463 if (arg2 == NULL) {
21464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 {
21474 #if wxUSE_UNICODE
21475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21476 #else
21477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21478 #endif
21479 }
21480 return resultobj;
21481 fail:
21482 return NULL;
21483 }
21484
21485
21486 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21489 wxTreeItemId *arg2 = 0 ;
21490 int arg3 = (int) wxTreeItemIcon_Normal ;
21491 int result;
21492 PyObject * obj0 = 0 ;
21493 PyObject * obj1 = 0 ;
21494 char *kwnames[] = {
21495 (char *) "self",(char *) "item",(char *) "which", NULL
21496 };
21497
21498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21501 if (arg2 == NULL) {
21502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21503 }
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 resultobj = PyInt_FromLong((long)result);
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21521 wxTreeItemId *arg2 = 0 ;
21522 wxPyTreeItemData *result;
21523 PyObject * obj0 = 0 ;
21524 PyObject * obj1 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self",(char *) "item", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21532 if (arg2 == NULL) {
21533 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21534 }
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21543 return resultobj;
21544 fail:
21545 return NULL;
21546 }
21547
21548
21549 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21552 wxTreeItemId *arg2 = 0 ;
21553 PyObject *result;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self",(char *) "item", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21563 if (arg2 == NULL) {
21564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21565 }
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 resultobj = result;
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj;
21582 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21583 wxTreeItemId *arg2 = 0 ;
21584 wxColour result;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self",(char *) "item", NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) 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 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 {
21605 wxColour * resultptr;
21606 resultptr = new wxColour((wxColour &) result);
21607 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21608 }
21609 return resultobj;
21610 fail:
21611 return NULL;
21612 }
21613
21614
21615 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj;
21617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21618 wxTreeItemId *arg2 = 0 ;
21619 wxColour result;
21620 PyObject * obj0 = 0 ;
21621 PyObject * obj1 = 0 ;
21622 char *kwnames[] = {
21623 (char *) "self",(char *) "item", NULL
21624 };
21625
21626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21629 if (arg2 == NULL) {
21630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21631 }
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 {
21640 wxColour * resultptr;
21641 resultptr = new wxColour((wxColour &) result);
21642 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21643 }
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21653 wxTreeItemId *arg2 = 0 ;
21654 wxFont result;
21655 PyObject * obj0 = 0 ;
21656 PyObject * obj1 = 0 ;
21657 char *kwnames[] = {
21658 (char *) "self",(char *) "item", NULL
21659 };
21660
21661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21664 if (arg2 == NULL) {
21665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21666 }
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 {
21675 wxFont * resultptr;
21676 resultptr = new wxFont((wxFont &) result);
21677 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21678 }
21679 return resultobj;
21680 fail:
21681 return NULL;
21682 }
21683
21684
21685 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21688 wxTreeItemId *arg2 = 0 ;
21689 wxString *arg3 = 0 ;
21690 bool temp3 = False ;
21691 PyObject * obj0 = 0 ;
21692 PyObject * obj1 = 0 ;
21693 PyObject * obj2 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "item",(char *) "text", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21701 if (arg2 == NULL) {
21702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21703 }
21704 {
21705 arg3 = wxString_in_helper(obj2);
21706 if (arg3 == NULL) SWIG_fail;
21707 temp3 = True;
21708 }
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
21711 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 Py_INCREF(Py_None); resultobj = Py_None;
21717 {
21718 if (temp3)
21719 delete arg3;
21720 }
21721 return resultobj;
21722 fail:
21723 {
21724 if (temp3)
21725 delete arg3;
21726 }
21727 return NULL;
21728 }
21729
21730
21731 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21732 PyObject *resultobj;
21733 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21734 wxTreeItemId *arg2 = 0 ;
21735 int arg3 ;
21736 int arg4 = (int) wxTreeItemIcon_Normal ;
21737 PyObject * obj0 = 0 ;
21738 PyObject * obj1 = 0 ;
21739 char *kwnames[] = {
21740 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21741 };
21742
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21746 if (arg2 == NULL) {
21747 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21748 }
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 Py_INCREF(Py_None); resultobj = Py_None;
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21766 wxTreeItemId *arg2 = 0 ;
21767 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21768 PyObject * obj0 = 0 ;
21769 PyObject * obj1 = 0 ;
21770 PyObject * obj2 = 0 ;
21771 char *kwnames[] = {
21772 (char *) "self",(char *) "item",(char *) "data", NULL
21773 };
21774
21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21778 if (arg2 == NULL) {
21779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21780 }
21781 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793 }
21794
21795
21796 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21799 wxTreeItemId *arg2 = 0 ;
21800 PyObject *arg3 = (PyObject *) 0 ;
21801 PyObject * obj0 = 0 ;
21802 PyObject * obj1 = 0 ;
21803 PyObject * obj2 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self",(char *) "item",(char *) "obj", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21811 if (arg2 == NULL) {
21812 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21813 }
21814 arg3 = obj2;
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 Py_INCREF(Py_None); resultobj = Py_None;
21823 return resultobj;
21824 fail:
21825 return NULL;
21826 }
21827
21828
21829 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21830 PyObject *resultobj;
21831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21832 wxTreeItemId *arg2 = 0 ;
21833 bool arg3 = (bool) True ;
21834 PyObject * obj0 = 0 ;
21835 PyObject * obj1 = 0 ;
21836 PyObject * obj2 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self",(char *) "item",(char *) "has", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21844 if (arg2 == NULL) {
21845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21846 }
21847 if (obj2) {
21848 arg3 = PyInt_AsLong(obj2) ? true : false;
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 Py_INCREF(Py_None); resultobj = Py_None;
21859 return resultobj;
21860 fail:
21861 return NULL;
21862 }
21863
21864
21865 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21868 wxTreeItemId *arg2 = 0 ;
21869 bool arg3 = (bool) True ;
21870 PyObject * obj0 = 0 ;
21871 PyObject * obj1 = 0 ;
21872 PyObject * obj2 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self",(char *) "item",(char *) "bold", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21880 if (arg2 == NULL) {
21881 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21882 }
21883 if (obj2) {
21884 arg3 = PyInt_AsLong(obj2) ? true : false;
21885 if (PyErr_Occurred()) SWIG_fail;
21886 }
21887 {
21888 PyThreadState* __tstate = wxPyBeginAllowThreads();
21889 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21890
21891 wxPyEndAllowThreads(__tstate);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
21894 Py_INCREF(Py_None); resultobj = Py_None;
21895 return resultobj;
21896 fail:
21897 return NULL;
21898 }
21899
21900
21901 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21902 PyObject *resultobj;
21903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21904 wxTreeItemId *arg2 = 0 ;
21905 wxColour *arg3 = 0 ;
21906 wxColour temp3 ;
21907 PyObject * obj0 = 0 ;
21908 PyObject * obj1 = 0 ;
21909 PyObject * obj2 = 0 ;
21910 char *kwnames[] = {
21911 (char *) "self",(char *) "item",(char *) "col", NULL
21912 };
21913
21914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21917 if (arg2 == NULL) {
21918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21919 }
21920 {
21921 arg3 = &temp3;
21922 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21923 }
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 Py_INCREF(Py_None); resultobj = Py_None;
21932 return resultobj;
21933 fail:
21934 return NULL;
21935 }
21936
21937
21938 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21939 PyObject *resultobj;
21940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21941 wxTreeItemId *arg2 = 0 ;
21942 wxColour *arg3 = 0 ;
21943 wxColour temp3 ;
21944 PyObject * obj0 = 0 ;
21945 PyObject * obj1 = 0 ;
21946 PyObject * obj2 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "item",(char *) "col", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21954 if (arg2 == NULL) {
21955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21956 }
21957 {
21958 arg3 = &temp3;
21959 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21960 }
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 Py_INCREF(Py_None); resultobj = Py_None;
21969 return resultobj;
21970 fail:
21971 return NULL;
21972 }
21973
21974
21975 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21976 PyObject *resultobj;
21977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21978 wxTreeItemId *arg2 = 0 ;
21979 wxFont *arg3 = 0 ;
21980 PyObject * obj0 = 0 ;
21981 PyObject * obj1 = 0 ;
21982 PyObject * obj2 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "item",(char *) "font", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21990 if (arg2 == NULL) {
21991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21992 }
21993 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21994 if (arg3 == NULL) {
21995 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21996 }
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 return resultobj;
22006 fail:
22007 return NULL;
22008 }
22009
22010
22011 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22012 PyObject *resultobj;
22013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22014 wxTreeItemId *arg2 = 0 ;
22015 bool result;
22016 PyObject * obj0 = 0 ;
22017 PyObject * obj1 = 0 ;
22018 char *kwnames[] = {
22019 (char *) "self",(char *) "item", NULL
22020 };
22021
22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22025 if (arg2 == NULL) {
22026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22027 }
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 resultobj = PyInt_FromLong((long)result);
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22045 wxTreeItemId *arg2 = 0 ;
22046 bool result;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "item", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22056 if (arg2 == NULL) {
22057 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22058 }
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = PyInt_FromLong((long)result);
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22076 wxTreeItemId *arg2 = 0 ;
22077 bool result;
22078 PyObject * obj0 = 0 ;
22079 PyObject * obj1 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self",(char *) "item", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22087 if (arg2 == NULL) {
22088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22089 }
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 resultobj = PyInt_FromLong((long)result);
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22105 PyObject *resultobj;
22106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22107 wxTreeItemId *arg2 = 0 ;
22108 bool 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_IsSelected",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 = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22124
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 resultobj = PyInt_FromLong((long)result);
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22138 wxTreeItemId *arg2 = 0 ;
22139 bool result;
22140 PyObject * obj0 = 0 ;
22141 PyObject * obj1 = 0 ;
22142 char *kwnames[] = {
22143 (char *) "self",(char *) "item", NULL
22144 };
22145
22146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22149 if (arg2 == NULL) {
22150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22151 }
22152 {
22153 PyThreadState* __tstate = wxPyBeginAllowThreads();
22154 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22155
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 resultobj = PyInt_FromLong((long)result);
22160 return resultobj;
22161 fail:
22162 return NULL;
22163 }
22164
22165
22166 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22167 PyObject *resultobj;
22168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22169 wxTreeItemId *arg2 = 0 ;
22170 bool arg3 = (bool) True ;
22171 size_t result;
22172 PyObject * obj0 = 0 ;
22173 PyObject * obj1 = 0 ;
22174 PyObject * obj2 = 0 ;
22175 char *kwnames[] = {
22176 (char *) "self",(char *) "item",(char *) "recursively", NULL
22177 };
22178
22179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22182 if (arg2 == NULL) {
22183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22184 }
22185 if (obj2) {
22186 arg3 = PyInt_AsLong(obj2) ? true : false;
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 resultobj = PyInt_FromLong((long)result);
22197 return resultobj;
22198 fail:
22199 return NULL;
22200 }
22201
22202
22203 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj;
22205 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22206 wxTreeItemId result;
22207 PyObject * obj0 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 {
22222 wxTreeItemId * resultptr;
22223 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22224 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22225 }
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22235 wxTreeItemId result;
22236 PyObject * obj0 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 {
22251 wxTreeItemId * resultptr;
22252 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22253 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22254 }
22255 return resultobj;
22256 fail:
22257 return NULL;
22258 }
22259
22260
22261 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22262 PyObject *resultobj;
22263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22264 PyObject *result;
22265 PyObject * obj0 = 0 ;
22266 char *kwnames[] = {
22267 (char *) "self", NULL
22268 };
22269
22270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 resultobj = result;
22280 return resultobj;
22281 fail:
22282 return NULL;
22283 }
22284
22285
22286 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22289 wxTreeItemId *arg2 = 0 ;
22290 wxTreeItemId result;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "item", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22300 if (arg2 == NULL) {
22301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22302 }
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 {
22311 wxTreeItemId * resultptr;
22312 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22313 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22314 }
22315 return resultobj;
22316 fail:
22317 return NULL;
22318 }
22319
22320
22321 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj;
22323 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22324 wxTreeItemId *arg2 = 0 ;
22325 PyObject *result;
22326 PyObject * obj0 = 0 ;
22327 PyObject * obj1 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self",(char *) "item", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22335 if (arg2 == NULL) {
22336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22337 }
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 resultobj = result;
22346 return resultobj;
22347 fail:
22348 return NULL;
22349 }
22350
22351
22352 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj;
22354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22355 wxTreeItemId *arg2 = 0 ;
22356 wxTreeItemIdValue *arg3 = 0 ;
22357 PyObject *result;
22358 PyObject * obj0 = 0 ;
22359 PyObject * obj1 = 0 ;
22360 PyObject * obj2 = 0 ;
22361 char *kwnames[] = {
22362 (char *) "self",(char *) "item",(char *) "cookie", NULL
22363 };
22364
22365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22368 if (arg2 == NULL) {
22369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22370 }
22371 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22372 if (arg3 == NULL) {
22373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22374 }
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = result;
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj;
22391 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22392 wxTreeItemId *arg2 = 0 ;
22393 wxTreeItemId result;
22394 PyObject * obj0 = 0 ;
22395 PyObject * obj1 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self",(char *) "item", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22403 if (arg2 == NULL) {
22404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22405 }
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 {
22414 wxTreeItemId * resultptr;
22415 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22416 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22417 }
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22427 wxTreeItemId *arg2 = 0 ;
22428 wxTreeItemId result;
22429 PyObject * obj0 = 0 ;
22430 PyObject * obj1 = 0 ;
22431 char *kwnames[] = {
22432 (char *) "self",(char *) "item", NULL
22433 };
22434
22435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22438 if (arg2 == NULL) {
22439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22440 }
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22444
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 {
22449 wxTreeItemId * resultptr;
22450 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22451 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22452 }
22453 return resultobj;
22454 fail:
22455 return NULL;
22456 }
22457
22458
22459 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22460 PyObject *resultobj;
22461 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22462 wxTreeItemId *arg2 = 0 ;
22463 wxTreeItemId result;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 char *kwnames[] = {
22467 (char *) "self",(char *) "item", NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 if (arg2 == NULL) {
22474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22475 }
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 {
22484 wxTreeItemId * resultptr;
22485 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22486 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22487 }
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22497 wxTreeItemId result;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22505 {
22506 PyThreadState* __tstate = wxPyBeginAllowThreads();
22507 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22508
22509 wxPyEndAllowThreads(__tstate);
22510 if (PyErr_Occurred()) SWIG_fail;
22511 }
22512 {
22513 wxTreeItemId * resultptr;
22514 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22515 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22516 }
22517 return resultobj;
22518 fail:
22519 return NULL;
22520 }
22521
22522
22523 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22524 PyObject *resultobj;
22525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22526 wxTreeItemId *arg2 = 0 ;
22527 wxTreeItemId result;
22528 PyObject * obj0 = 0 ;
22529 PyObject * obj1 = 0 ;
22530 char *kwnames[] = {
22531 (char *) "self",(char *) "item", NULL
22532 };
22533
22534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22537 if (arg2 == NULL) {
22538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22539 }
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 {
22548 wxTreeItemId * resultptr;
22549 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22551 }
22552 return resultobj;
22553 fail:
22554 return NULL;
22555 }
22556
22557
22558 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj;
22560 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22561 wxTreeItemId *arg2 = 0 ;
22562 wxTreeItemId result;
22563 PyObject * obj0 = 0 ;
22564 PyObject * obj1 = 0 ;
22565 char *kwnames[] = {
22566 (char *) "self",(char *) "item", NULL
22567 };
22568
22569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22572 if (arg2 == NULL) {
22573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22574 }
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 {
22583 wxTreeItemId * resultptr;
22584 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22585 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22586 }
22587 return resultobj;
22588 fail:
22589 return NULL;
22590 }
22591
22592
22593 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22594 PyObject *resultobj;
22595 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22596 wxString *arg2 = 0 ;
22597 int arg3 = (int) -1 ;
22598 int arg4 = (int) -1 ;
22599 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22600 wxTreeItemId result;
22601 bool temp2 = False ;
22602 PyObject * obj0 = 0 ;
22603 PyObject * obj1 = 0 ;
22604 PyObject * obj4 = 0 ;
22605 char *kwnames[] = {
22606 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22607 };
22608
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22611 {
22612 arg2 = wxString_in_helper(obj1);
22613 if (arg2 == NULL) SWIG_fail;
22614 temp2 = True;
22615 }
22616 if (obj4) {
22617 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22618 }
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 {
22627 wxTreeItemId * resultptr;
22628 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22629 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22630 }
22631 {
22632 if (temp2)
22633 delete arg2;
22634 }
22635 return resultobj;
22636 fail:
22637 {
22638 if (temp2)
22639 delete arg2;
22640 }
22641 return NULL;
22642 }
22643
22644
22645 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22646 PyObject *resultobj;
22647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22648 wxTreeItemId *arg2 = 0 ;
22649 wxString *arg3 = 0 ;
22650 int arg4 = (int) -1 ;
22651 int arg5 = (int) -1 ;
22652 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22653 wxTreeItemId result;
22654 bool temp3 = False ;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 PyObject * obj2 = 0 ;
22658 PyObject * obj5 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22666 if (arg2 == NULL) {
22667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22668 }
22669 {
22670 arg3 = wxString_in_helper(obj2);
22671 if (arg3 == NULL) SWIG_fail;
22672 temp3 = True;
22673 }
22674 if (obj5) {
22675 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22676 }
22677 {
22678 PyThreadState* __tstate = wxPyBeginAllowThreads();
22679 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 {
22685 wxTreeItemId * resultptr;
22686 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22688 }
22689 {
22690 if (temp3)
22691 delete arg3;
22692 }
22693 return resultobj;
22694 fail:
22695 {
22696 if (temp3)
22697 delete arg3;
22698 }
22699 return NULL;
22700 }
22701
22702
22703 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22706 wxTreeItemId *arg2 = 0 ;
22707 wxTreeItemId *arg3 = 0 ;
22708 wxString *arg4 = 0 ;
22709 int arg5 = (int) -1 ;
22710 int arg6 = (int) -1 ;
22711 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22712 wxTreeItemId result;
22713 bool temp4 = False ;
22714 PyObject * obj0 = 0 ;
22715 PyObject * obj1 = 0 ;
22716 PyObject * obj2 = 0 ;
22717 PyObject * obj3 = 0 ;
22718 PyObject * obj6 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22726 if (arg2 == NULL) {
22727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22728 }
22729 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22730 if (arg3 == NULL) {
22731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22732 }
22733 {
22734 arg4 = wxString_in_helper(obj3);
22735 if (arg4 == NULL) SWIG_fail;
22736 temp4 = True;
22737 }
22738 if (obj6) {
22739 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22740 }
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 {
22749 wxTreeItemId * resultptr;
22750 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22752 }
22753 {
22754 if (temp4)
22755 delete arg4;
22756 }
22757 return resultobj;
22758 fail:
22759 {
22760 if (temp4)
22761 delete arg4;
22762 }
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22770 wxTreeItemId *arg2 = 0 ;
22771 size_t arg3 ;
22772 wxString *arg4 = 0 ;
22773 int arg5 = (int) -1 ;
22774 int arg6 = (int) -1 ;
22775 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22776 wxTreeItemId result;
22777 bool temp4 = False ;
22778 PyObject * obj0 = 0 ;
22779 PyObject * obj1 = 0 ;
22780 PyObject * obj2 = 0 ;
22781 PyObject * obj3 = 0 ;
22782 PyObject * obj6 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22790 if (arg2 == NULL) {
22791 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22792 }
22793 arg3 = (size_t) PyInt_AsLong(obj2);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 {
22796 arg4 = wxString_in_helper(obj3);
22797 if (arg4 == NULL) SWIG_fail;
22798 temp4 = True;
22799 }
22800 if (obj6) {
22801 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22802 }
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 {
22811 wxTreeItemId * resultptr;
22812 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22813 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22814 }
22815 {
22816 if (temp4)
22817 delete arg4;
22818 }
22819 return resultobj;
22820 fail:
22821 {
22822 if (temp4)
22823 delete arg4;
22824 }
22825 return NULL;
22826 }
22827
22828
22829 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22830 PyObject *resultobj;
22831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22832 wxTreeItemId *arg2 = 0 ;
22833 wxString *arg3 = 0 ;
22834 int arg4 = (int) -1 ;
22835 int arg5 = (int) -1 ;
22836 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22837 wxTreeItemId result;
22838 bool temp3 = False ;
22839 PyObject * obj0 = 0 ;
22840 PyObject * obj1 = 0 ;
22841 PyObject * obj2 = 0 ;
22842 PyObject * obj5 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22845 };
22846
22847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22850 if (arg2 == NULL) {
22851 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22852 }
22853 {
22854 arg3 = wxString_in_helper(obj2);
22855 if (arg3 == NULL) SWIG_fail;
22856 temp3 = True;
22857 }
22858 if (obj5) {
22859 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22860 }
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 {
22869 wxTreeItemId * resultptr;
22870 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22872 }
22873 {
22874 if (temp3)
22875 delete arg3;
22876 }
22877 return resultobj;
22878 fail:
22879 {
22880 if (temp3)
22881 delete arg3;
22882 }
22883 return NULL;
22884 }
22885
22886
22887 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22888 PyObject *resultobj;
22889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22890 wxTreeItemId *arg2 = 0 ;
22891 PyObject * obj0 = 0 ;
22892 PyObject * obj1 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self",(char *) "item", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22900 if (arg2 == NULL) {
22901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22902 }
22903 {
22904 PyThreadState* __tstate = wxPyBeginAllowThreads();
22905 (arg1)->Delete((wxTreeItemId const &)*arg2);
22906
22907 wxPyEndAllowThreads(__tstate);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 }
22910 Py_INCREF(Py_None); resultobj = Py_None;
22911 return resultobj;
22912 fail:
22913 return NULL;
22914 }
22915
22916
22917 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj;
22919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22920 wxTreeItemId *arg2 = 0 ;
22921 PyObject * obj0 = 0 ;
22922 PyObject * obj1 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self",(char *) "item", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22930 if (arg2 == NULL) {
22931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22932 }
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 Py_INCREF(Py_None); resultobj = Py_None;
22941 return resultobj;
22942 fail:
22943 return NULL;
22944 }
22945
22946
22947 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22950 PyObject * obj0 = 0 ;
22951 char *kwnames[] = {
22952 (char *) "self", NULL
22953 };
22954
22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 (arg1)->DeleteAllItems();
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 Py_INCREF(Py_None); resultobj = Py_None;
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj;
22973 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22974 wxTreeItemId *arg2 = 0 ;
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self",(char *) "item", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22984 if (arg2 == NULL) {
22985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22986 }
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 (arg1)->Expand((wxTreeItemId const &)*arg2);
22990
22991 wxPyEndAllowThreads(__tstate);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
22994 Py_INCREF(Py_None); resultobj = Py_None;
22995 return resultobj;
22996 fail:
22997 return NULL;
22998 }
22999
23000
23001 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23002 PyObject *resultobj;
23003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23004 wxTreeItemId *arg2 = 0 ;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 char *kwnames[] = {
23008 (char *) "self",(char *) "item", NULL
23009 };
23010
23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23014 if (arg2 == NULL) {
23015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23016 }
23017 {
23018 PyThreadState* __tstate = wxPyBeginAllowThreads();
23019 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23020
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 Py_INCREF(Py_None); resultobj = Py_None;
23025 return resultobj;
23026 fail:
23027 return NULL;
23028 }
23029
23030
23031 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23032 PyObject *resultobj;
23033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23034 wxTreeItemId *arg2 = 0 ;
23035 PyObject * obj0 = 0 ;
23036 PyObject * obj1 = 0 ;
23037 char *kwnames[] = {
23038 (char *) "self",(char *) "item", NULL
23039 };
23040
23041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23044 if (arg2 == NULL) {
23045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23046 }
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 Py_INCREF(Py_None); resultobj = Py_None;
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23064 wxTreeItemId *arg2 = 0 ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self",(char *) "item", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23074 if (arg2 == NULL) {
23075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23076 }
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 Py_INCREF(Py_None); resultobj = Py_None;
23085 return resultobj;
23086 fail:
23087 return NULL;
23088 }
23089
23090
23091 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23092 PyObject *resultobj;
23093 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23094 PyObject * obj0 = 0 ;
23095 char *kwnames[] = {
23096 (char *) "self", NULL
23097 };
23098
23099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 (arg1)->Unselect();
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 Py_INCREF(Py_None); resultobj = Py_None;
23109 return resultobj;
23110 fail:
23111 return NULL;
23112 }
23113
23114
23115 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23116 PyObject *resultobj;
23117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23118 PyObject * obj0 = 0 ;
23119 char *kwnames[] = {
23120 (char *) "self", NULL
23121 };
23122
23123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 (arg1)->UnselectAll();
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 Py_INCREF(Py_None); resultobj = Py_None;
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23142 wxTreeItemId *arg2 = 0 ;
23143 PyObject * obj0 = 0 ;
23144 PyObject * obj1 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self",(char *) "item", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23152 if (arg2 == NULL) {
23153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23154 }
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 Py_INCREF(Py_None); resultobj = Py_None;
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj;
23171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23172 wxTreeItemId *arg2 = 0 ;
23173 PyObject * obj0 = 0 ;
23174 PyObject * obj1 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "self",(char *) "item", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23182 if (arg2 == NULL) {
23183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23184 }
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 Py_INCREF(Py_None); resultobj = Py_None;
23193 return resultobj;
23194 fail:
23195 return NULL;
23196 }
23197
23198
23199 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23200 PyObject *resultobj;
23201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23202 wxTreeItemId *arg2 = 0 ;
23203 PyObject * obj0 = 0 ;
23204 PyObject * obj1 = 0 ;
23205 char *kwnames[] = {
23206 (char *) "self",(char *) "item", NULL
23207 };
23208
23209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23212 if (arg2 == NULL) {
23213 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23214 }
23215 {
23216 PyThreadState* __tstate = wxPyBeginAllowThreads();
23217 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23218
23219 wxPyEndAllowThreads(__tstate);
23220 if (PyErr_Occurred()) SWIG_fail;
23221 }
23222 Py_INCREF(Py_None); resultobj = Py_None;
23223 return resultobj;
23224 fail:
23225 return NULL;
23226 }
23227
23228
23229 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23230 PyObject *resultobj;
23231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23232 wxTreeItemId *arg2 = 0 ;
23233 PyObject * obj0 = 0 ;
23234 PyObject * obj1 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self",(char *) "item", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23242 if (arg2 == NULL) {
23243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23244 }
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 Py_INCREF(Py_None); resultobj = Py_None;
23253 return resultobj;
23254 fail:
23255 return NULL;
23256 }
23257
23258
23259 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23260 PyObject *resultobj;
23261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23262 wxTextCtrl *result;
23263 PyObject * obj0 = 0 ;
23264 char *kwnames[] = {
23265 (char *) "self", NULL
23266 };
23267
23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23273
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 {
23278 resultobj = wxPyMake_wxObject(result);
23279 }
23280 return resultobj;
23281 fail:
23282 return NULL;
23283 }
23284
23285
23286 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23287 PyObject *resultobj;
23288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23289 wxTreeItemId *arg2 = 0 ;
23290 PyObject * obj0 = 0 ;
23291 PyObject * obj1 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self",(char *) "item", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23299 if (arg2 == NULL) {
23300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23301 }
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 Py_INCREF(Py_None); resultobj = Py_None;
23310 return resultobj;
23311 fail:
23312 return NULL;
23313 }
23314
23315
23316 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj;
23318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23319 wxPoint *arg2 = 0 ;
23320 int *arg3 = 0 ;
23321 wxTreeItemId result;
23322 wxPoint temp2 ;
23323 int temp3 ;
23324 PyObject * obj0 = 0 ;
23325 PyObject * obj1 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self",(char *) "point", NULL
23328 };
23329
23330 arg3 = &temp3;
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23333 {
23334 arg2 = &temp2;
23335 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23336 }
23337 {
23338 PyThreadState* __tstate = wxPyBeginAllowThreads();
23339 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23340
23341 wxPyEndAllowThreads(__tstate);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 {
23345 wxTreeItemId * resultptr;
23346 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23347 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23348 }
23349 {
23350 PyObject *o = PyInt_FromLong((long) (*arg3));
23351 resultobj = t_output_helper(resultobj,o);
23352 }
23353 return resultobj;
23354 fail:
23355 return NULL;
23356 }
23357
23358
23359 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23360 PyObject *resultobj;
23361 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23362 wxTreeItemId *arg2 = 0 ;
23363 bool arg3 = (bool) False ;
23364 PyObject *result;
23365 PyObject * obj0 = 0 ;
23366 PyObject * obj1 = 0 ;
23367 PyObject * obj2 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23375 if (arg2 == NULL) {
23376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23377 }
23378 if (obj2) {
23379 arg3 = PyInt_AsLong(obj2) ? true : false;
23380 if (PyErr_Occurred()) SWIG_fail;
23381 }
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 resultobj = result;
23390 return resultobj;
23391 fail:
23392 return NULL;
23393 }
23394
23395
23396 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23397 PyObject *obj;
23398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23399 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23400 Py_INCREF(obj);
23401 return Py_BuildValue((char *)"");
23402 }
23403 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23404 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23405 return 1;
23406 }
23407
23408
23409 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23410 PyObject *pyobj;
23411
23412 {
23413 #if wxUSE_UNICODE
23414 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23415 #else
23416 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23417 #endif
23418 }
23419 return pyobj;
23420 }
23421
23422
23423 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxWindow *arg1 = (wxWindow *) 0 ;
23426 int arg2 = (int) (int)-1 ;
23427 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23428 wxString *arg3 = (wxString *) &arg3_defvalue ;
23429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23431 wxSize const &arg5_defvalue = wxDefaultSize ;
23432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23433 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23434 wxString const &arg7_defvalue = wxPyEmptyString ;
23435 wxString *arg7 = (wxString *) &arg7_defvalue ;
23436 int arg8 = (int) 0 ;
23437 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23438 wxString *arg9 = (wxString *) &arg9_defvalue ;
23439 wxGenericDirCtrl *result;
23440 bool temp3 = False ;
23441 wxPoint temp4 ;
23442 wxSize temp5 ;
23443 bool temp7 = False ;
23444 bool temp9 = False ;
23445 PyObject * obj0 = 0 ;
23446 PyObject * obj2 = 0 ;
23447 PyObject * obj3 = 0 ;
23448 PyObject * obj4 = 0 ;
23449 PyObject * obj6 = 0 ;
23450 PyObject * obj8 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23457 if (obj2) {
23458 {
23459 arg3 = wxString_in_helper(obj2);
23460 if (arg3 == NULL) SWIG_fail;
23461 temp3 = True;
23462 }
23463 }
23464 if (obj3) {
23465 {
23466 arg4 = &temp4;
23467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23468 }
23469 }
23470 if (obj4) {
23471 {
23472 arg5 = &temp5;
23473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23474 }
23475 }
23476 if (obj6) {
23477 {
23478 arg7 = wxString_in_helper(obj6);
23479 if (arg7 == NULL) SWIG_fail;
23480 temp7 = True;
23481 }
23482 }
23483 if (obj8) {
23484 {
23485 arg9 = wxString_in_helper(obj8);
23486 if (arg9 == NULL) SWIG_fail;
23487 temp9 = True;
23488 }
23489 }
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23498 {
23499 if (temp3)
23500 delete arg3;
23501 }
23502 {
23503 if (temp7)
23504 delete arg7;
23505 }
23506 {
23507 if (temp9)
23508 delete arg9;
23509 }
23510 return resultobj;
23511 fail:
23512 {
23513 if (temp3)
23514 delete arg3;
23515 }
23516 {
23517 if (temp7)
23518 delete arg7;
23519 }
23520 {
23521 if (temp9)
23522 delete arg9;
23523 }
23524 return NULL;
23525 }
23526
23527
23528 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23529 PyObject *resultobj;
23530 wxGenericDirCtrl *result;
23531 char *kwnames[] = {
23532 NULL
23533 };
23534
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23544 return resultobj;
23545 fail:
23546 return NULL;
23547 }
23548
23549
23550 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23551 PyObject *resultobj;
23552 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23553 wxWindow *arg2 = (wxWindow *) 0 ;
23554 int arg3 = (int) (int)-1 ;
23555 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23556 wxString *arg4 = (wxString *) &arg4_defvalue ;
23557 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23558 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23559 wxSize const &arg6_defvalue = wxDefaultSize ;
23560 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23561 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23562 wxString const &arg8_defvalue = wxPyEmptyString ;
23563 wxString *arg8 = (wxString *) &arg8_defvalue ;
23564 int arg9 = (int) 0 ;
23565 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23566 wxString *arg10 = (wxString *) &arg10_defvalue ;
23567 bool result;
23568 bool temp4 = False ;
23569 wxPoint temp5 ;
23570 wxSize temp6 ;
23571 bool temp8 = False ;
23572 bool temp10 = False ;
23573 PyObject * obj0 = 0 ;
23574 PyObject * obj1 = 0 ;
23575 PyObject * obj3 = 0 ;
23576 PyObject * obj4 = 0 ;
23577 PyObject * obj5 = 0 ;
23578 PyObject * obj7 = 0 ;
23579 PyObject * obj9 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23587 if (obj3) {
23588 {
23589 arg4 = wxString_in_helper(obj3);
23590 if (arg4 == NULL) SWIG_fail;
23591 temp4 = True;
23592 }
23593 }
23594 if (obj4) {
23595 {
23596 arg5 = &temp5;
23597 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23598 }
23599 }
23600 if (obj5) {
23601 {
23602 arg6 = &temp6;
23603 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23604 }
23605 }
23606 if (obj7) {
23607 {
23608 arg8 = wxString_in_helper(obj7);
23609 if (arg8 == NULL) SWIG_fail;
23610 temp8 = True;
23611 }
23612 }
23613 if (obj9) {
23614 {
23615 arg10 = wxString_in_helper(obj9);
23616 if (arg10 == NULL) SWIG_fail;
23617 temp10 = True;
23618 }
23619 }
23620 {
23621 PyThreadState* __tstate = wxPyBeginAllowThreads();
23622 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23623
23624 wxPyEndAllowThreads(__tstate);
23625 if (PyErr_Occurred()) SWIG_fail;
23626 }
23627 resultobj = PyInt_FromLong((long)result);
23628 {
23629 if (temp4)
23630 delete arg4;
23631 }
23632 {
23633 if (temp8)
23634 delete arg8;
23635 }
23636 {
23637 if (temp10)
23638 delete arg10;
23639 }
23640 return resultobj;
23641 fail:
23642 {
23643 if (temp4)
23644 delete arg4;
23645 }
23646 {
23647 if (temp8)
23648 delete arg8;
23649 }
23650 {
23651 if (temp10)
23652 delete arg10;
23653 }
23654 return NULL;
23655 }
23656
23657
23658 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23659 PyObject *resultobj;
23660 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23661 wxString *arg2 = 0 ;
23662 bool result;
23663 bool temp2 = False ;
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "path", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23672 {
23673 arg2 = wxString_in_helper(obj1);
23674 if (arg2 == NULL) SWIG_fail;
23675 temp2 = True;
23676 }
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 resultobj = PyInt_FromLong((long)result);
23685 {
23686 if (temp2)
23687 delete arg2;
23688 }
23689 return resultobj;
23690 fail:
23691 {
23692 if (temp2)
23693 delete arg2;
23694 }
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23702 wxString result;
23703 PyObject * obj0 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 {
23718 #if wxUSE_UNICODE
23719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23720 #else
23721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23722 #endif
23723 }
23724 return resultobj;
23725 fail:
23726 return NULL;
23727 }
23728
23729
23730 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23733 wxString *arg2 = 0 ;
23734 bool temp2 = False ;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self",(char *) "path", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23743 {
23744 arg2 = wxString_in_helper(obj1);
23745 if (arg2 == NULL) SWIG_fail;
23746 temp2 = True;
23747 }
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 (arg1)->SetDefaultPath((wxString const &)*arg2);
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 Py_INCREF(Py_None); resultobj = Py_None;
23756 {
23757 if (temp2)
23758 delete arg2;
23759 }
23760 return resultobj;
23761 fail:
23762 {
23763 if (temp2)
23764 delete arg2;
23765 }
23766 return NULL;
23767 }
23768
23769
23770 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23771 PyObject *resultobj;
23772 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23773 wxString result;
23774 PyObject * obj0 = 0 ;
23775 char *kwnames[] = {
23776 (char *) "self", NULL
23777 };
23778
23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 {
23789 #if wxUSE_UNICODE
23790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23791 #else
23792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23793 #endif
23794 }
23795 return resultobj;
23796 fail:
23797 return NULL;
23798 }
23799
23800
23801 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23802 PyObject *resultobj;
23803 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23804 wxString result;
23805 PyObject * obj0 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 {
23820 #if wxUSE_UNICODE
23821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23822 #else
23823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23824 #endif
23825 }
23826 return resultobj;
23827 fail:
23828 return NULL;
23829 }
23830
23831
23832 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23833 PyObject *resultobj;
23834 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23835 wxString *arg2 = 0 ;
23836 bool temp2 = False ;
23837 PyObject * obj0 = 0 ;
23838 PyObject * obj1 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "self",(char *) "path", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23845 {
23846 arg2 = wxString_in_helper(obj1);
23847 if (arg2 == NULL) SWIG_fail;
23848 temp2 = True;
23849 }
23850 {
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 (arg1)->SetPath((wxString const &)*arg2);
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 Py_INCREF(Py_None); resultobj = Py_None;
23858 {
23859 if (temp2)
23860 delete arg2;
23861 }
23862 return resultobj;
23863 fail:
23864 {
23865 if (temp2)
23866 delete arg2;
23867 }
23868 return NULL;
23869 }
23870
23871
23872 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23875 bool arg2 ;
23876 PyObject * obj0 = 0 ;
23877 PyObject * obj1 = 0 ;
23878 char *kwnames[] = {
23879 (char *) "self",(char *) "show", NULL
23880 };
23881
23882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23884 arg2 = PyInt_AsLong(obj1) ? true : false;
23885 if (PyErr_Occurred()) SWIG_fail;
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 (arg1)->ShowHidden(arg2);
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 Py_INCREF(Py_None); resultobj = Py_None;
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj;
23902 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23903 bool result;
23904 PyObject * obj0 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (bool)(arg1)->GetShowHidden();
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 resultobj = PyInt_FromLong((long)result);
23919 return resultobj;
23920 fail:
23921 return NULL;
23922 }
23923
23924
23925 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23926 PyObject *resultobj;
23927 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23928 wxString result;
23929 PyObject * obj0 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 {
23944 #if wxUSE_UNICODE
23945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23946 #else
23947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23948 #endif
23949 }
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj;
23958 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23959 wxString *arg2 = 0 ;
23960 bool temp2 = False ;
23961 PyObject * obj0 = 0 ;
23962 PyObject * obj1 = 0 ;
23963 char *kwnames[] = {
23964 (char *) "self",(char *) "filter", NULL
23965 };
23966
23967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23969 {
23970 arg2 = wxString_in_helper(obj1);
23971 if (arg2 == NULL) SWIG_fail;
23972 temp2 = True;
23973 }
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 (arg1)->SetFilter((wxString const &)*arg2);
23977
23978 wxPyEndAllowThreads(__tstate);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
23981 Py_INCREF(Py_None); resultobj = Py_None;
23982 {
23983 if (temp2)
23984 delete arg2;
23985 }
23986 return resultobj;
23987 fail:
23988 {
23989 if (temp2)
23990 delete arg2;
23991 }
23992 return NULL;
23993 }
23994
23995
23996 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23997 PyObject *resultobj;
23998 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23999 int result;
24000 PyObject * obj0 = 0 ;
24001 char *kwnames[] = {
24002 (char *) "self", NULL
24003 };
24004
24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24010
24011 wxPyEndAllowThreads(__tstate);
24012 if (PyErr_Occurred()) SWIG_fail;
24013 }
24014 resultobj = PyInt_FromLong((long)result);
24015 return resultobj;
24016 fail:
24017 return NULL;
24018 }
24019
24020
24021 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24022 PyObject *resultobj;
24023 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24024 int arg2 ;
24025 PyObject * obj0 = 0 ;
24026 char *kwnames[] = {
24027 (char *) "self",(char *) "n", NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 (arg1)->SetFilterIndex(arg2);
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 Py_INCREF(Py_None); resultobj = Py_None;
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24047 PyObject *resultobj;
24048 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24049 wxTreeItemId result;
24050 PyObject * obj0 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "self", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 result = (arg1)->GetRootId();
24060
24061 wxPyEndAllowThreads(__tstate);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 }
24064 {
24065 wxTreeItemId * resultptr;
24066 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24067 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24068 }
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj;
24077 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24078 wxPyTreeCtrl *result;
24079 PyObject * obj0 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24089
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 {
24094 resultobj = wxPyMake_wxObject(result);
24095 }
24096 return resultobj;
24097 fail:
24098 return NULL;
24099 }
24100
24101
24102 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24103 PyObject *resultobj;
24104 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24105 wxDirFilterListCtrl *result;
24106 PyObject * obj0 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24130 wxTreeItemId arg2 ;
24131 wxString *arg3 = 0 ;
24132 bool *arg4 = 0 ;
24133 wxTreeItemId result;
24134 wxTreeItemId *argp2 ;
24135 bool temp3 = False ;
24136 bool temp4 ;
24137 PyObject * obj0 = 0 ;
24138 PyObject * obj1 = 0 ;
24139 PyObject * obj2 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "self",(char *) "parentId",(char *) "path", NULL
24142 };
24143
24144 arg4 = &temp4;
24145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24147 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24148 arg2 = *argp2;
24149 {
24150 arg3 = wxString_in_helper(obj2);
24151 if (arg3 == NULL) SWIG_fail;
24152 temp3 = True;
24153 }
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24157
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 {
24162 wxTreeItemId * resultptr;
24163 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24164 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24165 }
24166 {
24167 PyObject *o = PyInt_FromLong((long) (*arg4));
24168 resultobj = t_output_helper(resultobj,o);
24169 }
24170 {
24171 if (temp3)
24172 delete arg3;
24173 }
24174 return resultobj;
24175 fail:
24176 {
24177 if (temp3)
24178 delete arg3;
24179 }
24180 return NULL;
24181 }
24182
24183
24184 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24187 PyObject * obj0 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "self", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 (arg1)->DoResize();
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 Py_INCREF(Py_None); resultobj = Py_None;
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24211 PyObject * obj0 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 (arg1)->ReCreateTree();
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 Py_INCREF(Py_None); resultobj = Py_None;
24226 return resultobj;
24227 fail:
24228 return NULL;
24229 }
24230
24231
24232 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24233 PyObject *obj;
24234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24235 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24236 Py_INCREF(obj);
24237 return Py_BuildValue((char *)"");
24238 }
24239 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj;
24241 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24242 int arg2 = (int) (int)-1 ;
24243 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24244 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24245 wxSize const &arg4_defvalue = wxDefaultSize ;
24246 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24247 long arg5 = (long) 0 ;
24248 wxDirFilterListCtrl *result;
24249 wxPoint temp3 ;
24250 wxSize temp4 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj2 = 0 ;
24253 PyObject * obj3 = 0 ;
24254 char *kwnames[] = {
24255 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24256 };
24257
24258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24260 if (obj2) {
24261 {
24262 arg3 = &temp3;
24263 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24264 }
24265 }
24266 if (obj3) {
24267 {
24268 arg4 = &temp4;
24269 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24270 }
24271 }
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxDirFilterListCtrl *result;
24289 char *kwnames[] = {
24290 NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24294 {
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24297
24298 wxPyEndAllowThreads(__tstate);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 }
24301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24302 return resultobj;
24303 fail:
24304 return NULL;
24305 }
24306
24307
24308 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24309 PyObject *resultobj;
24310 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24311 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24312 int arg3 = (int) (int)-1 ;
24313 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24314 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24315 wxSize const &arg5_defvalue = wxDefaultSize ;
24316 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24317 long arg6 = (long) 0 ;
24318 bool result;
24319 wxPoint temp4 ;
24320 wxSize temp5 ;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 PyObject * obj3 = 0 ;
24324 PyObject * obj4 = 0 ;
24325 char *kwnames[] = {
24326 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24327 };
24328
24329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24332 if (obj3) {
24333 {
24334 arg4 = &temp4;
24335 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24336 }
24337 }
24338 if (obj4) {
24339 {
24340 arg5 = &temp5;
24341 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24342 }
24343 }
24344 {
24345 PyThreadState* __tstate = wxPyBeginAllowThreads();
24346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24347
24348 wxPyEndAllowThreads(__tstate);
24349 if (PyErr_Occurred()) SWIG_fail;
24350 }
24351 resultobj = PyInt_FromLong((long)result);
24352 return resultobj;
24353 fail:
24354 return NULL;
24355 }
24356
24357
24358 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24361 wxString *arg2 = 0 ;
24362 int arg3 ;
24363 bool temp2 = False ;
24364 PyObject * obj0 = 0 ;
24365 PyObject * obj1 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24372 {
24373 arg2 = wxString_in_helper(obj1);
24374 if (arg2 == NULL) SWIG_fail;
24375 temp2 = True;
24376 }
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24380
24381 wxPyEndAllowThreads(__tstate);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 }
24384 Py_INCREF(Py_None); resultobj = Py_None;
24385 {
24386 if (temp2)
24387 delete arg2;
24388 }
24389 return resultobj;
24390 fail:
24391 {
24392 if (temp2)
24393 delete arg2;
24394 }
24395 return NULL;
24396 }
24397
24398
24399 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24400 PyObject *obj;
24401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24402 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24403 Py_INCREF(obj);
24404 return Py_BuildValue((char *)"");
24405 }
24406 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj;
24408 wxWindow *arg1 = (wxWindow *) 0 ;
24409 int arg2 ;
24410 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24411 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24412 wxSize const &arg4_defvalue = wxDefaultSize ;
24413 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24414 long arg5 = (long) 0 ;
24415 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24416 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24417 wxString const &arg7_defvalue = wxPyControlNameStr ;
24418 wxString *arg7 = (wxString *) &arg7_defvalue ;
24419 wxPyControl *result;
24420 wxPoint temp3 ;
24421 wxSize temp4 ;
24422 bool temp7 = False ;
24423 PyObject * obj0 = 0 ;
24424 PyObject * obj2 = 0 ;
24425 PyObject * obj3 = 0 ;
24426 PyObject * obj5 = 0 ;
24427 PyObject * obj6 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24434 if (obj2) {
24435 {
24436 arg3 = &temp3;
24437 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24438 }
24439 }
24440 if (obj3) {
24441 {
24442 arg4 = &temp4;
24443 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24444 }
24445 }
24446 if (obj5) {
24447 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24448 if (arg6 == NULL) {
24449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24450 }
24451 }
24452 if (obj6) {
24453 {
24454 arg7 = wxString_in_helper(obj6);
24455 if (arg7 == NULL) SWIG_fail;
24456 temp7 = True;
24457 }
24458 }
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24467 {
24468 if (temp7)
24469 delete arg7;
24470 }
24471 return resultobj;
24472 fail:
24473 {
24474 if (temp7)
24475 delete arg7;
24476 }
24477 return NULL;
24478 }
24479
24480
24481 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24482 PyObject *resultobj;
24483 wxPyControl *arg1 = (wxPyControl *) 0 ;
24484 PyObject *arg2 = (PyObject *) 0 ;
24485 PyObject *arg3 = (PyObject *) 0 ;
24486 PyObject * obj0 = 0 ;
24487 PyObject * obj1 = 0 ;
24488 PyObject * obj2 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self",(char *) "self",(char *) "_class", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24495 arg2 = obj1;
24496 arg3 = obj2;
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 (arg1)->_setCallbackInfo(arg2,arg3);
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 Py_INCREF(Py_None); resultobj = Py_None;
24505 return resultobj;
24506 fail:
24507 return NULL;
24508 }
24509
24510
24511 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24512 PyObject *resultobj;
24513 wxPyControl *arg1 = (wxPyControl *) 0 ;
24514 int arg2 ;
24515 int arg3 ;
24516 int arg4 ;
24517 int arg5 ;
24518 PyObject * obj0 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 Py_INCREF(Py_None); resultobj = Py_None;
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24540 PyObject *resultobj;
24541 wxPyControl *arg1 = (wxPyControl *) 0 ;
24542 int arg2 ;
24543 int arg3 ;
24544 int arg4 ;
24545 int arg5 ;
24546 int arg6 = (int) wxSIZE_AUTO ;
24547 PyObject * obj0 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 Py_INCREF(Py_None); resultobj = Py_None;
24562 return resultobj;
24563 fail:
24564 return NULL;
24565 }
24566
24567
24568 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxPyControl *arg1 = (wxPyControl *) 0 ;
24571 int arg2 ;
24572 int arg3 ;
24573 PyObject * obj0 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "self",(char *) "width",(char *) "height", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 (arg1)->base_DoSetClientSize(arg2,arg3);
24583
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 Py_INCREF(Py_None); resultobj = Py_None;
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj;
24596 wxPyControl *arg1 = (wxPyControl *) 0 ;
24597 int arg2 ;
24598 int arg3 ;
24599 PyObject * obj0 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self",(char *) "x",(char *) "y", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24606 {
24607 PyThreadState* __tstate = wxPyBeginAllowThreads();
24608 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24609
24610 wxPyEndAllowThreads(__tstate);
24611 if (PyErr_Occurred()) SWIG_fail;
24612 }
24613 Py_INCREF(Py_None); resultobj = Py_None;
24614 return resultobj;
24615 fail:
24616 return NULL;
24617 }
24618
24619
24620 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24621 PyObject *resultobj;
24622 wxPyControl *arg1 = (wxPyControl *) 0 ;
24623 int *arg2 = (int *) 0 ;
24624 int *arg3 = (int *) 0 ;
24625 int temp2 ;
24626 int temp3 ;
24627 PyObject * obj0 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self", NULL
24630 };
24631
24632 arg2 = &temp2;
24633 arg3 = &temp3;
24634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24636 {
24637 PyThreadState* __tstate = wxPyBeginAllowThreads();
24638 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24639
24640 wxPyEndAllowThreads(__tstate);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 }
24643 Py_INCREF(Py_None); resultobj = Py_None;
24644 {
24645 PyObject *o = PyInt_FromLong((long) (*arg2));
24646 resultobj = t_output_helper(resultobj,o);
24647 }
24648 {
24649 PyObject *o = PyInt_FromLong((long) (*arg3));
24650 resultobj = t_output_helper(resultobj,o);
24651 }
24652 return resultobj;
24653 fail:
24654 return NULL;
24655 }
24656
24657
24658 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24659 PyObject *resultobj;
24660 wxPyControl *arg1 = (wxPyControl *) 0 ;
24661 int *arg2 = (int *) 0 ;
24662 int *arg3 = (int *) 0 ;
24663 int temp2 ;
24664 int temp3 ;
24665 PyObject * obj0 = 0 ;
24666 char *kwnames[] = {
24667 (char *) "self", NULL
24668 };
24669
24670 arg2 = &temp2;
24671 arg3 = &temp3;
24672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24677
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 Py_INCREF(Py_None); resultobj = Py_None;
24682 {
24683 PyObject *o = PyInt_FromLong((long) (*arg2));
24684 resultobj = t_output_helper(resultobj,o);
24685 }
24686 {
24687 PyObject *o = PyInt_FromLong((long) (*arg3));
24688 resultobj = t_output_helper(resultobj,o);
24689 }
24690 return resultobj;
24691 fail:
24692 return NULL;
24693 }
24694
24695
24696 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24697 PyObject *resultobj;
24698 wxPyControl *arg1 = (wxPyControl *) 0 ;
24699 int *arg2 = (int *) 0 ;
24700 int *arg3 = (int *) 0 ;
24701 int temp2 ;
24702 int temp3 ;
24703 PyObject * obj0 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self", NULL
24706 };
24707
24708 arg2 = &temp2;
24709 arg3 = &temp3;
24710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 Py_INCREF(Py_None); resultobj = Py_None;
24720 {
24721 PyObject *o = PyInt_FromLong((long) (*arg2));
24722 resultobj = t_output_helper(resultobj,o);
24723 }
24724 {
24725 PyObject *o = PyInt_FromLong((long) (*arg3));
24726 resultobj = t_output_helper(resultobj,o);
24727 }
24728 return resultobj;
24729 fail:
24730 return NULL;
24731 }
24732
24733
24734 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxPyControl *arg1 = (wxPyControl *) 0 ;
24737 wxSize result;
24738 PyObject * obj0 = 0 ;
24739 char *kwnames[] = {
24740 (char *) "self", NULL
24741 };
24742
24743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 {
24753 wxSize * resultptr;
24754 resultptr = new wxSize((wxSize &) result);
24755 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24756 }
24757 return resultobj;
24758 fail:
24759 return NULL;
24760 }
24761
24762
24763 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24764 PyObject *resultobj;
24765 wxPyControl *arg1 = (wxPyControl *) 0 ;
24766 wxSize result;
24767 PyObject * obj0 = 0 ;
24768 char *kwnames[] = {
24769 (char *) "self", NULL
24770 };
24771
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24774 {
24775 PyThreadState* __tstate = wxPyBeginAllowThreads();
24776 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24777
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 {
24782 wxSize * resultptr;
24783 resultptr = new wxSize((wxSize &) result);
24784 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24785 }
24786 return resultobj;
24787 fail:
24788 return NULL;
24789 }
24790
24791
24792 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxPyControl *arg1 = (wxPyControl *) 0 ;
24795 PyObject * obj0 = 0 ;
24796 char *kwnames[] = {
24797 (char *) "self", NULL
24798 };
24799
24800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 (arg1)->base_InitDialog();
24805
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 Py_INCREF(Py_None); resultobj = Py_None;
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj;
24818 wxPyControl *arg1 = (wxPyControl *) 0 ;
24819 bool result;
24820 PyObject * obj0 = 0 ;
24821 char *kwnames[] = {
24822 (char *) "self", NULL
24823 };
24824
24825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 result = (bool)(arg1)->base_TransferDataToWindow();
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 resultobj = PyInt_FromLong((long)result);
24835 return resultobj;
24836 fail:
24837 return NULL;
24838 }
24839
24840
24841 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24842 PyObject *resultobj;
24843 wxPyControl *arg1 = (wxPyControl *) 0 ;
24844 bool result;
24845 PyObject * obj0 = 0 ;
24846 char *kwnames[] = {
24847 (char *) "self", NULL
24848 };
24849
24850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 result = (bool)(arg1)->base_TransferDataFromWindow();
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 resultobj = PyInt_FromLong((long)result);
24860 return resultobj;
24861 fail:
24862 return NULL;
24863 }
24864
24865
24866 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24867 PyObject *resultobj;
24868 wxPyControl *arg1 = (wxPyControl *) 0 ;
24869 bool result;
24870 PyObject * obj0 = 0 ;
24871 char *kwnames[] = {
24872 (char *) "self", NULL
24873 };
24874
24875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = (bool)(arg1)->base_Validate();
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 resultobj = PyInt_FromLong((long)result);
24885 return resultobj;
24886 fail:
24887 return NULL;
24888 }
24889
24890
24891 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj;
24893 wxPyControl *arg1 = (wxPyControl *) 0 ;
24894 bool result;
24895 PyObject * obj0 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "self", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24902 {
24903 PyThreadState* __tstate = wxPyBeginAllowThreads();
24904 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24905
24906 wxPyEndAllowThreads(__tstate);
24907 if (PyErr_Occurred()) SWIG_fail;
24908 }
24909 resultobj = PyInt_FromLong((long)result);
24910 return resultobj;
24911 fail:
24912 return NULL;
24913 }
24914
24915
24916 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj;
24918 wxPyControl *arg1 = (wxPyControl *) 0 ;
24919 bool result;
24920 PyObject * obj0 = 0 ;
24921 char *kwnames[] = {
24922 (char *) "self", NULL
24923 };
24924
24925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24927 {
24928 PyThreadState* __tstate = wxPyBeginAllowThreads();
24929 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24930
24931 wxPyEndAllowThreads(__tstate);
24932 if (PyErr_Occurred()) SWIG_fail;
24933 }
24934 resultobj = PyInt_FromLong((long)result);
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj;
24943 wxPyControl *arg1 = (wxPyControl *) 0 ;
24944 wxSize result;
24945 PyObject * obj0 = 0 ;
24946 char *kwnames[] = {
24947 (char *) "self", NULL
24948 };
24949
24950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24955
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 {
24960 wxSize * resultptr;
24961 resultptr = new wxSize((wxSize &) result);
24962 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24963 }
24964 return resultobj;
24965 fail:
24966 return NULL;
24967 }
24968
24969
24970 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24971 PyObject *resultobj;
24972 wxPyControl *arg1 = (wxPyControl *) 0 ;
24973 wxWindow *arg2 = (wxWindow *) 0 ;
24974 PyObject * obj0 = 0 ;
24975 PyObject * obj1 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self",(char *) "child", NULL
24978 };
24979
24980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 (arg1)->base_AddChild(arg2);
24986
24987 wxPyEndAllowThreads(__tstate);
24988 if (PyErr_Occurred()) SWIG_fail;
24989 }
24990 Py_INCREF(Py_None); resultobj = Py_None;
24991 return resultobj;
24992 fail:
24993 return NULL;
24994 }
24995
24996
24997 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24998 PyObject *resultobj;
24999 wxPyControl *arg1 = (wxPyControl *) 0 ;
25000 wxWindow *arg2 = (wxWindow *) 0 ;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 char *kwnames[] = {
25004 (char *) "self",(char *) "child", NULL
25005 };
25006
25007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 (arg1)->base_RemoveChild(arg2);
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 Py_INCREF(Py_None); resultobj = Py_None;
25018 return resultobj;
25019 fail:
25020 return NULL;
25021 }
25022
25023
25024 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25025 PyObject *obj;
25026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25027 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25028 Py_INCREF(obj);
25029 return Py_BuildValue((char *)"");
25030 }
25031 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25032 PyObject *resultobj;
25033 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25034 int arg2 = (int) 0 ;
25035 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25036 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25037 wxHelpEvent *result;
25038 wxPoint temp3 ;
25039 PyObject * obj2 = 0 ;
25040 char *kwnames[] = {
25041 (char *) "type",(char *) "winid",(char *) "pt", NULL
25042 };
25043
25044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25045 if (obj2) {
25046 {
25047 arg3 = &temp3;
25048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25049 }
25050 }
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25054
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
25058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj;
25067 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25068 wxPoint *result;
25069 PyObject * obj0 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "self", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 {
25079 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25080 result = (wxPoint *) &_result_ref;
25081 }
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25096 wxPoint *arg2 = 0 ;
25097 wxPoint temp2 ;
25098 PyObject * obj0 = 0 ;
25099 PyObject * obj1 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self",(char *) "pos", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25106 {
25107 arg2 = &temp2;
25108 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25109 }
25110 {
25111 PyThreadState* __tstate = wxPyBeginAllowThreads();
25112 (arg1)->SetPosition((wxPoint const &)*arg2);
25113
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 Py_INCREF(Py_None); resultobj = Py_None;
25118 return resultobj;
25119 fail:
25120 return NULL;
25121 }
25122
25123
25124 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25125 PyObject *resultobj;
25126 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25127 wxString *result;
25128 PyObject * obj0 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "self", NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25135 {
25136 PyThreadState* __tstate = wxPyBeginAllowThreads();
25137 {
25138 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25139 result = (wxString *) &_result_ref;
25140 }
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 {
25146 #if wxUSE_UNICODE
25147 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25148 #else
25149 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25150 #endif
25151 }
25152 return resultobj;
25153 fail:
25154 return NULL;
25155 }
25156
25157
25158 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25159 PyObject *resultobj;
25160 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25161 wxString *arg2 = 0 ;
25162 bool temp2 = False ;
25163 PyObject * obj0 = 0 ;
25164 PyObject * obj1 = 0 ;
25165 char *kwnames[] = {
25166 (char *) "self",(char *) "link", NULL
25167 };
25168
25169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25171 {
25172 arg2 = wxString_in_helper(obj1);
25173 if (arg2 == NULL) SWIG_fail;
25174 temp2 = True;
25175 }
25176 {
25177 PyThreadState* __tstate = wxPyBeginAllowThreads();
25178 (arg1)->SetLink((wxString const &)*arg2);
25179
25180 wxPyEndAllowThreads(__tstate);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 }
25183 Py_INCREF(Py_None); resultobj = Py_None;
25184 {
25185 if (temp2)
25186 delete arg2;
25187 }
25188 return resultobj;
25189 fail:
25190 {
25191 if (temp2)
25192 delete arg2;
25193 }
25194 return NULL;
25195 }
25196
25197
25198 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25201 wxString *result;
25202 PyObject * obj0 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "self", NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 {
25212 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25213 result = (wxString *) &_result_ref;
25214 }
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 {
25220 #if wxUSE_UNICODE
25221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25222 #else
25223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25224 #endif
25225 }
25226 return resultobj;
25227 fail:
25228 return NULL;
25229 }
25230
25231
25232 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj;
25234 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25235 wxString *arg2 = 0 ;
25236 bool temp2 = False ;
25237 PyObject * obj0 = 0 ;
25238 PyObject * obj1 = 0 ;
25239 char *kwnames[] = {
25240 (char *) "self",(char *) "target", NULL
25241 };
25242
25243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25245 {
25246 arg2 = wxString_in_helper(obj1);
25247 if (arg2 == NULL) SWIG_fail;
25248 temp2 = True;
25249 }
25250 {
25251 PyThreadState* __tstate = wxPyBeginAllowThreads();
25252 (arg1)->SetTarget((wxString const &)*arg2);
25253
25254 wxPyEndAllowThreads(__tstate);
25255 if (PyErr_Occurred()) SWIG_fail;
25256 }
25257 Py_INCREF(Py_None); resultobj = Py_None;
25258 {
25259 if (temp2)
25260 delete arg2;
25261 }
25262 return resultobj;
25263 fail:
25264 {
25265 if (temp2)
25266 delete arg2;
25267 }
25268 return NULL;
25269 }
25270
25271
25272 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25273 PyObject *obj;
25274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25275 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25276 Py_INCREF(obj);
25277 return Py_BuildValue((char *)"");
25278 }
25279 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25280 PyObject *resultobj;
25281 wxWindow *arg1 = (wxWindow *) NULL ;
25282 bool arg2 = (bool) True ;
25283 wxContextHelp *result;
25284 PyObject * obj0 = 0 ;
25285 PyObject * obj1 = 0 ;
25286 char *kwnames[] = {
25287 (char *) "window",(char *) "doNow", NULL
25288 };
25289
25290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25291 if (obj0) {
25292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25293 }
25294 if (obj1) {
25295 arg2 = PyInt_AsLong(obj1) ? true : false;
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25306 return resultobj;
25307 fail:
25308 return NULL;
25309 }
25310
25311
25312 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25313 PyObject *resultobj;
25314 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25315 PyObject * obj0 = 0 ;
25316 char *kwnames[] = {
25317 (char *) "self", NULL
25318 };
25319
25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 delete arg1;
25325
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
25329 Py_INCREF(Py_None); resultobj = Py_None;
25330 return resultobj;
25331 fail:
25332 return NULL;
25333 }
25334
25335
25336 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25337 PyObject *resultobj;
25338 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25339 wxWindow *arg2 = (wxWindow *) NULL ;
25340 bool result;
25341 PyObject * obj0 = 0 ;
25342 PyObject * obj1 = 0 ;
25343 char *kwnames[] = {
25344 (char *) "self",(char *) "window", NULL
25345 };
25346
25347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25349 if (obj1) {
25350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25351 }
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 result = (bool)(arg1)->BeginContextHelp(arg2);
25355
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
25359 resultobj = PyInt_FromLong((long)result);
25360 return resultobj;
25361 fail:
25362 return NULL;
25363 }
25364
25365
25366 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25367 PyObject *resultobj;
25368 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25369 bool result;
25370 PyObject * obj0 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 result = (bool)(arg1)->EndContextHelp();
25380
25381 wxPyEndAllowThreads(__tstate);
25382 if (PyErr_Occurred()) SWIG_fail;
25383 }
25384 resultobj = PyInt_FromLong((long)result);
25385 return resultobj;
25386 fail:
25387 return NULL;
25388 }
25389
25390
25391 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25392 PyObject *obj;
25393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25394 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25395 Py_INCREF(obj);
25396 return Py_BuildValue((char *)"");
25397 }
25398 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25399 PyObject *resultobj;
25400 wxWindow *arg1 = (wxWindow *) 0 ;
25401 int arg2 = (int) wxID_CONTEXT_HELP ;
25402 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25403 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25404 wxSize const &arg4_defvalue = wxDefaultSize ;
25405 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25406 long arg5 = (long) wxBU_AUTODRAW ;
25407 wxContextHelpButton *result;
25408 wxPoint temp3 ;
25409 wxSize temp4 ;
25410 PyObject * obj0 = 0 ;
25411 PyObject * obj2 = 0 ;
25412 PyObject * obj3 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25419 if (obj2) {
25420 {
25421 arg3 = &temp3;
25422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25423 }
25424 }
25425 if (obj3) {
25426 {
25427 arg4 = &temp4;
25428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25429 }
25430 }
25431 {
25432 PyThreadState* __tstate = wxPyBeginAllowThreads();
25433 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25434
25435 wxPyEndAllowThreads(__tstate);
25436 if (PyErr_Occurred()) SWIG_fail;
25437 }
25438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25446 PyObject *obj;
25447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25448 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25449 Py_INCREF(obj);
25450 return Py_BuildValue((char *)"");
25451 }
25452 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj;
25454 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25455 wxHelpProvider *result;
25456 PyObject * obj0 = 0 ;
25457 char *kwnames[] = {
25458 (char *) "helpProvider", NULL
25459 };
25460
25461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25466
25467 wxPyEndAllowThreads(__tstate);
25468 if (PyErr_Occurred()) SWIG_fail;
25469 }
25470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25471 return resultobj;
25472 fail:
25473 return NULL;
25474 }
25475
25476
25477 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25478 PyObject *resultobj;
25479 wxHelpProvider *result;
25480 char *kwnames[] = {
25481 NULL
25482 };
25483
25484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25485 {
25486 PyThreadState* __tstate = wxPyBeginAllowThreads();
25487 result = (wxHelpProvider *)wxHelpProvider::Get();
25488
25489 wxPyEndAllowThreads(__tstate);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 }
25492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25493 return resultobj;
25494 fail:
25495 return NULL;
25496 }
25497
25498
25499 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25500 PyObject *resultobj;
25501 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25502 wxWindow *arg2 = (wxWindow *) 0 ;
25503 wxString result;
25504 PyObject * obj0 = 0 ;
25505 PyObject * obj1 = 0 ;
25506 char *kwnames[] = {
25507 (char *) "self",(char *) "window", NULL
25508 };
25509
25510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25513 {
25514 PyThreadState* __tstate = wxPyBeginAllowThreads();
25515 result = (arg1)->GetHelp((wxWindow const *)arg2);
25516
25517 wxPyEndAllowThreads(__tstate);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 {
25521 #if wxUSE_UNICODE
25522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25523 #else
25524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25525 #endif
25526 }
25527 return resultobj;
25528 fail:
25529 return NULL;
25530 }
25531
25532
25533 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj;
25535 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25536 wxWindow *arg2 = (wxWindow *) 0 ;
25537 bool result;
25538 PyObject * obj0 = 0 ;
25539 PyObject * obj1 = 0 ;
25540 char *kwnames[] = {
25541 (char *) "self",(char *) "window", NULL
25542 };
25543
25544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 result = (bool)(arg1)->ShowHelp(arg2);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 resultobj = PyInt_FromLong((long)result);
25555 return resultobj;
25556 fail:
25557 return NULL;
25558 }
25559
25560
25561 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25562 PyObject *resultobj;
25563 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25564 wxWindow *arg2 = (wxWindow *) 0 ;
25565 wxString *arg3 = 0 ;
25566 bool temp3 = False ;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 PyObject * obj2 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self",(char *) "window",(char *) "text", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25577 {
25578 arg3 = wxString_in_helper(obj2);
25579 if (arg3 == NULL) SWIG_fail;
25580 temp3 = True;
25581 }
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25585
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 Py_INCREF(Py_None); resultobj = Py_None;
25590 {
25591 if (temp3)
25592 delete arg3;
25593 }
25594 return resultobj;
25595 fail:
25596 {
25597 if (temp3)
25598 delete arg3;
25599 }
25600 return NULL;
25601 }
25602
25603
25604 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25605 PyObject *resultobj;
25606 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25607 int arg2 ;
25608 wxString *arg3 = 0 ;
25609 bool temp3 = False ;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj2 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self",(char *) "id",(char *) "text", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25618 {
25619 arg3 = wxString_in_helper(obj2);
25620 if (arg3 == NULL) SWIG_fail;
25621 temp3 = True;
25622 }
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25626
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 Py_INCREF(Py_None); resultobj = Py_None;
25631 {
25632 if (temp3)
25633 delete arg3;
25634 }
25635 return resultobj;
25636 fail:
25637 {
25638 if (temp3)
25639 delete arg3;
25640 }
25641 return NULL;
25642 }
25643
25644
25645 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25646 PyObject *resultobj;
25647 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25648 PyObject * obj0 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "self", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 wxHelpProvider_Destroy(arg1);
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 Py_INCREF(Py_None); resultobj = Py_None;
25663 return resultobj;
25664 fail:
25665 return NULL;
25666 }
25667
25668
25669 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25670 PyObject *obj;
25671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25672 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25673 Py_INCREF(obj);
25674 return Py_BuildValue((char *)"");
25675 }
25676 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25677 PyObject *resultobj;
25678 wxSimpleHelpProvider *result;
25679 char *kwnames[] = {
25680 NULL
25681 };
25682
25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25692 return resultobj;
25693 fail:
25694 return NULL;
25695 }
25696
25697
25698 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25699 PyObject *obj;
25700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25701 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25702 Py_INCREF(obj);
25703 return Py_BuildValue((char *)"");
25704 }
25705 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25706 PyObject *resultobj;
25707 wxBitmap *arg1 = 0 ;
25708 wxCursor const &arg2_defvalue = wxNullCursor ;
25709 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25710 wxGenericDragImage *result;
25711 PyObject * obj0 = 0 ;
25712 PyObject * obj1 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "image",(char *) "cursor", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25719 if (arg1 == NULL) {
25720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25721 }
25722 if (obj1) {
25723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25724 if (arg2 == NULL) {
25725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25726 }
25727 }
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25736 return resultobj;
25737 fail:
25738 return NULL;
25739 }
25740
25741
25742 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25743 PyObject *resultobj;
25744 wxIcon *arg1 = 0 ;
25745 wxCursor const &arg2_defvalue = wxNullCursor ;
25746 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25747 wxGenericDragImage *result;
25748 PyObject * obj0 = 0 ;
25749 PyObject * obj1 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "image",(char *) "cursor", NULL
25752 };
25753
25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25756 if (arg1 == NULL) {
25757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25758 }
25759 if (obj1) {
25760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25761 if (arg2 == NULL) {
25762 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25763 }
25764 }
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25768
25769 wxPyEndAllowThreads(__tstate);
25770 if (PyErr_Occurred()) SWIG_fail;
25771 }
25772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25773 return resultobj;
25774 fail:
25775 return NULL;
25776 }
25777
25778
25779 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25780 PyObject *resultobj;
25781 wxString *arg1 = 0 ;
25782 wxCursor const &arg2_defvalue = wxNullCursor ;
25783 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25784 wxGenericDragImage *result;
25785 bool temp1 = False ;
25786 PyObject * obj0 = 0 ;
25787 PyObject * obj1 = 0 ;
25788 char *kwnames[] = {
25789 (char *) "str",(char *) "cursor", NULL
25790 };
25791
25792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25793 {
25794 arg1 = wxString_in_helper(obj0);
25795 if (arg1 == NULL) SWIG_fail;
25796 temp1 = True;
25797 }
25798 if (obj1) {
25799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25800 if (arg2 == NULL) {
25801 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25802 }
25803 }
25804 {
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25807
25808 wxPyEndAllowThreads(__tstate);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25812 {
25813 if (temp1)
25814 delete arg1;
25815 }
25816 return resultobj;
25817 fail:
25818 {
25819 if (temp1)
25820 delete arg1;
25821 }
25822 return NULL;
25823 }
25824
25825
25826 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj;
25828 wxPyTreeCtrl *arg1 = 0 ;
25829 wxTreeItemId *arg2 = 0 ;
25830 wxGenericDragImage *result;
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 char *kwnames[] = {
25834 (char *) "treeCtrl",(char *) "id", NULL
25835 };
25836
25837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25839 if (arg1 == NULL) {
25840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25841 }
25842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25843 if (arg2 == NULL) {
25844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25845 }
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
25853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25854 return resultobj;
25855 fail:
25856 return NULL;
25857 }
25858
25859
25860 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25861 PyObject *resultobj;
25862 wxPyListCtrl *arg1 = 0 ;
25863 long arg2 ;
25864 wxGenericDragImage *result;
25865 PyObject * obj0 = 0 ;
25866 char *kwnames[] = {
25867 (char *) "listCtrl",(char *) "id", NULL
25868 };
25869
25870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25872 if (arg1 == NULL) {
25873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25874 }
25875 {
25876 PyThreadState* __tstate = wxPyBeginAllowThreads();
25877 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25878
25879 wxPyEndAllowThreads(__tstate);
25880 if (PyErr_Occurred()) SWIG_fail;
25881 }
25882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25883 return resultobj;
25884 fail:
25885 return NULL;
25886 }
25887
25888
25889 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25890 PyObject *resultobj;
25891 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25892 PyObject * obj0 = 0 ;
25893 char *kwnames[] = {
25894 (char *) "self", NULL
25895 };
25896
25897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 delete arg1;
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 Py_INCREF(Py_None); resultobj = Py_None;
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25914 PyObject *resultobj;
25915 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25916 wxBitmap *arg2 = (wxBitmap *) 0 ;
25917 PyObject * obj0 = 0 ;
25918 PyObject * obj1 = 0 ;
25919 char *kwnames[] = {
25920 (char *) "self",(char *) "bitmap", NULL
25921 };
25922
25923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25926 {
25927 PyThreadState* __tstate = wxPyBeginAllowThreads();
25928 (arg1)->SetBackingBitmap(arg2);
25929
25930 wxPyEndAllowThreads(__tstate);
25931 if (PyErr_Occurred()) SWIG_fail;
25932 }
25933 Py_INCREF(Py_None); resultobj = Py_None;
25934 return resultobj;
25935 fail:
25936 return NULL;
25937 }
25938
25939
25940 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25941 PyObject *resultobj;
25942 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25943 wxPoint *arg2 = 0 ;
25944 wxWindow *arg3 = (wxWindow *) 0 ;
25945 bool arg4 = (bool) False ;
25946 wxRect *arg5 = (wxRect *) NULL ;
25947 bool result;
25948 wxPoint temp2 ;
25949 PyObject * obj0 = 0 ;
25950 PyObject * obj1 = 0 ;
25951 PyObject * obj2 = 0 ;
25952 PyObject * obj3 = 0 ;
25953 PyObject * obj4 = 0 ;
25954 char *kwnames[] = {
25955 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25956 };
25957
25958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25960 {
25961 arg2 = &temp2;
25962 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25963 }
25964 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25965 if (obj3) {
25966 arg4 = PyInt_AsLong(obj3) ? true : false;
25967 if (PyErr_Occurred()) SWIG_fail;
25968 }
25969 if (obj4) {
25970 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25971 }
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25975
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 resultobj = PyInt_FromLong((long)result);
25980 return resultobj;
25981 fail:
25982 return NULL;
25983 }
25984
25985
25986 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25987 PyObject *resultobj;
25988 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25989 wxPoint *arg2 = 0 ;
25990 wxWindow *arg3 = (wxWindow *) 0 ;
25991 wxWindow *arg4 = (wxWindow *) 0 ;
25992 bool result;
25993 wxPoint temp2 ;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 PyObject * obj2 = 0 ;
25997 PyObject * obj3 = 0 ;
25998 char *kwnames[] = {
25999 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26000 };
26001
26002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26004 {
26005 arg2 = &temp2;
26006 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26007 }
26008 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26009 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26010 {
26011 PyThreadState* __tstate = wxPyBeginAllowThreads();
26012 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26013
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 resultobj = PyInt_FromLong((long)result);
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26025 PyObject *resultobj;
26026 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26027 bool result;
26028 PyObject * obj0 = 0 ;
26029 char *kwnames[] = {
26030 (char *) "self", NULL
26031 };
26032
26033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26035 {
26036 PyThreadState* __tstate = wxPyBeginAllowThreads();
26037 result = (bool)(arg1)->EndDrag();
26038
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 resultobj = PyInt_FromLong((long)result);
26043 return resultobj;
26044 fail:
26045 return NULL;
26046 }
26047
26048
26049 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26050 PyObject *resultobj;
26051 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26052 wxPoint *arg2 = 0 ;
26053 bool result;
26054 wxPoint temp2 ;
26055 PyObject * obj0 = 0 ;
26056 PyObject * obj1 = 0 ;
26057 char *kwnames[] = {
26058 (char *) "self",(char *) "pt", NULL
26059 };
26060
26061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26063 {
26064 arg2 = &temp2;
26065 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26066 }
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26070
26071 wxPyEndAllowThreads(__tstate);
26072 if (PyErr_Occurred()) SWIG_fail;
26073 }
26074 resultobj = PyInt_FromLong((long)result);
26075 return resultobj;
26076 fail:
26077 return NULL;
26078 }
26079
26080
26081 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26082 PyObject *resultobj;
26083 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26084 bool result;
26085 PyObject * obj0 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (bool)(arg1)->Show();
26095
26096 wxPyEndAllowThreads(__tstate);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 resultobj = PyInt_FromLong((long)result);
26100 return resultobj;
26101 fail:
26102 return NULL;
26103 }
26104
26105
26106 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26107 PyObject *resultobj;
26108 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26109 bool result;
26110 PyObject * obj0 = 0 ;
26111 char *kwnames[] = {
26112 (char *) "self", NULL
26113 };
26114
26115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 result = (bool)(arg1)->Hide();
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 resultobj = PyInt_FromLong((long)result);
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26132 PyObject *resultobj;
26133 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26134 wxPoint *arg2 = 0 ;
26135 wxRect result;
26136 wxPoint temp2 ;
26137 PyObject * obj0 = 0 ;
26138 PyObject * obj1 = 0 ;
26139 char *kwnames[] = {
26140 (char *) "self",(char *) "pos", NULL
26141 };
26142
26143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26145 {
26146 arg2 = &temp2;
26147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26148 }
26149 {
26150 PyThreadState* __tstate = wxPyBeginAllowThreads();
26151 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26152
26153 wxPyEndAllowThreads(__tstate);
26154 if (PyErr_Occurred()) SWIG_fail;
26155 }
26156 {
26157 wxRect * resultptr;
26158 resultptr = new wxRect((wxRect &) result);
26159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26160 }
26161 return resultobj;
26162 fail:
26163 return NULL;
26164 }
26165
26166
26167 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj;
26169 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26170 wxDC *arg2 = 0 ;
26171 wxPoint *arg3 = 0 ;
26172 bool result;
26173 wxPoint temp3 ;
26174 PyObject * obj0 = 0 ;
26175 PyObject * obj1 = 0 ;
26176 PyObject * obj2 = 0 ;
26177 char *kwnames[] = {
26178 (char *) "self",(char *) "dc",(char *) "pos", NULL
26179 };
26180
26181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26184 if (arg2 == NULL) {
26185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26186 }
26187 {
26188 arg3 = &temp3;
26189 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26190 }
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26194
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 resultobj = PyInt_FromLong((long)result);
26199 return resultobj;
26200 fail:
26201 return NULL;
26202 }
26203
26204
26205 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj;
26207 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26208 wxDC *arg2 = 0 ;
26209 wxMemoryDC *arg3 = 0 ;
26210 wxRect *arg4 = 0 ;
26211 wxRect *arg5 = 0 ;
26212 bool result;
26213 wxRect temp4 ;
26214 wxRect temp5 ;
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj1 = 0 ;
26217 PyObject * obj2 = 0 ;
26218 PyObject * obj3 = 0 ;
26219 PyObject * obj4 = 0 ;
26220 char *kwnames[] = {
26221 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26222 };
26223
26224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26227 if (arg2 == NULL) {
26228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26229 }
26230 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26231 if (arg3 == NULL) {
26232 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26233 }
26234 {
26235 arg4 = &temp4;
26236 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26237 }
26238 {
26239 arg5 = &temp5;
26240 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26241 }
26242 {
26243 PyThreadState* __tstate = wxPyBeginAllowThreads();
26244 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26245
26246 wxPyEndAllowThreads(__tstate);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 resultobj = PyInt_FromLong((long)result);
26250 return resultobj;
26251 fail:
26252 return NULL;
26253 }
26254
26255
26256 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26257 PyObject *resultobj;
26258 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26259 wxPoint *arg2 = 0 ;
26260 wxPoint *arg3 = 0 ;
26261 bool arg4 ;
26262 bool arg5 ;
26263 bool result;
26264 wxPoint temp2 ;
26265 wxPoint temp3 ;
26266 PyObject * obj0 = 0 ;
26267 PyObject * obj1 = 0 ;
26268 PyObject * obj2 = 0 ;
26269 PyObject * obj3 = 0 ;
26270 PyObject * obj4 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26277 {
26278 arg2 = &temp2;
26279 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26280 }
26281 {
26282 arg3 = &temp3;
26283 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26284 }
26285 arg4 = PyInt_AsLong(obj3) ? true : false;
26286 if (PyErr_Occurred()) SWIG_fail;
26287 arg5 = PyInt_AsLong(obj4) ? true : false;
26288 if (PyErr_Occurred()) SWIG_fail;
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 resultobj = PyInt_FromLong((long)result);
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26304 PyObject *obj;
26305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26306 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26307 Py_INCREF(obj);
26308 return Py_BuildValue((char *)"");
26309 }
26310 static PyMethodDef SwigMethods[] = {
26311 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26317 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26332 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26343 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26352 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26370 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26383 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26387 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26393 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26397 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26404 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26423 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26432 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26433 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26461 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26514 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26519 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26530 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26542 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26553 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26570 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26576 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26601 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26608 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26628 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26634 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26643 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26645 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26650 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26652 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26657 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26662 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26692 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26737 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26742 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26754 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26806 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26833 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26902 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26914 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26922 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26929 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26945 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27017 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27039 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27044 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27065 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27073 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27078 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27080 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27088 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27090 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27108 { NULL, NULL }
27109 };
27110
27111
27112 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27113
27114 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27115 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27116 }
27117 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27118 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27119 }
27120 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27121 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27122 }
27123 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27124 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27125 }
27126 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27127 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27128 }
27129 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27130 return (void *)((wxSizer *) ((wxGridSizer *) x));
27131 }
27132 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27133 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27134 }
27135 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27136 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27137 }
27138 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27139 return (void *)((wxSizer *) ((wxPySizer *) x));
27140 }
27141 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27142 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27143 }
27144 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27146 }
27147 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27148 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27149 }
27150 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27151 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27152 }
27153 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27154 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27155 }
27156 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27157 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27158 }
27159 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27160 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27161 }
27162 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27163 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27164 }
27165 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27166 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27167 }
27168 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27169 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27170 }
27171 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27172 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27173 }
27174 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27175 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27176 }
27177 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27178 return (void *)((wxEvent *) ((wxPyEvent *) x));
27179 }
27180 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27182 }
27183 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27184 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27185 }
27186 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27187 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27188 }
27189 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27190 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27191 }
27192 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27193 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27194 }
27195 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27196 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27197 }
27198 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27199 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27200 }
27201 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27202 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27203 }
27204 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27205 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27206 }
27207 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27208 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27209 }
27210 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27211 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27212 }
27213 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27214 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27215 }
27216 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27217 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27218 }
27219 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27220 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27221 }
27222 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27223 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27224 }
27225 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27226 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27227 }
27228 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27229 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27230 }
27231 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27232 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27233 }
27234 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27235 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27236 }
27237 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27238 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27239 }
27240 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27241 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27242 }
27243 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27244 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27245 }
27246 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27247 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27248 }
27249 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27250 return (void *)((wxEvent *) ((wxShowEvent *) x));
27251 }
27252 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27253 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27254 }
27255 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27256 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27257 }
27258 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27259 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27260 }
27261 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27262 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27263 }
27264 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27265 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27266 }
27267 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27268 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27269 }
27270 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27271 return (void *)((wxItemContainer *) ((wxComboBox *) x));
27272 }
27273 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27274 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27275 }
27276 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27277 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27278 }
27279 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27280 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27281 }
27282 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27283 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27284 }
27285 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27286 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27287 }
27288 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27289 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27290 }
27291 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27292 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27293 }
27294 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27295 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27296 }
27297 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27298 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27299 }
27300 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27301 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27302 }
27303 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27304 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27305 }
27306 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27307 return (void *)((wxControl *) ((wxComboBox *) x));
27308 }
27309 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27310 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27311 }
27312 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27313 return (void *)((wxControl *) ((wxStaticBox *) x));
27314 }
27315 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27316 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27317 }
27318 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27319 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27320 }
27321 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27322 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27323 }
27324 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27325 return (void *)((wxControl *) ((wxScrollBar *) x));
27326 }
27327 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27328 return (void *)((wxControl *) ((wxBookCtrl *) x));
27329 }
27330 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27331 return (void *)((wxControl *) ((wxRadioButton *) x));
27332 }
27333 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27334 return (void *)((wxControl *) ((wxToggleButton *) x));
27335 }
27336 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27337 return (void *)((wxControl *) ((wxGauge *) x));
27338 }
27339 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27340 return (void *)((wxControl *) ((wxToolBarBase *) x));
27341 }
27342 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27343 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27344 }
27345 static void *_p_wxButtonTo_p_wxControl(void *x) {
27346 return (void *)((wxControl *) ((wxButton *) x));
27347 }
27348 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27349 return (void *)((wxControl *) ((wxSpinButton *) x));
27350 }
27351 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27352 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27353 }
27354 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27355 return (void *)((wxControl *) ((wxControlWithItems *) x));
27356 }
27357 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27358 return (void *)((wxControl *) ((wxRadioBox *) x));
27359 }
27360 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27361 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27362 }
27363 static void *_p_wxListbookTo_p_wxControl(void *x) {
27364 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27365 }
27366 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27367 return (void *)((wxControl *) ((wxCheckBox *) x));
27368 }
27369 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27370 return (void *)((wxControl *) ((wxTextCtrl *) x));
27371 }
27372 static void *_p_wxListViewTo_p_wxControl(void *x) {
27373 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27374 }
27375 static void *_p_wxSliderTo_p_wxControl(void *x) {
27376 return (void *)((wxControl *) ((wxSlider *) x));
27377 }
27378 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27379 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27380 }
27381 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27382 return (void *)((wxControl *) ((wxPyControl *) x));
27383 }
27384 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27385 return (void *)((wxControl *) ((wxStaticLine *) x));
27386 }
27387 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27388 return (void *)((wxControl *) ((wxStaticText *) x));
27389 }
27390 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27391 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27392 }
27393 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27394 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27395 }
27396 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27397 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27398 }
27399 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27400 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27401 }
27402 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27403 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27404 }
27405 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27406 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27407 }
27408 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27409 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27410 }
27411 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27413 }
27414 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27415 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27416 }
27417 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27418 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27419 }
27420 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27421 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27422 }
27423 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27425 }
27426 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27427 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27428 }
27429 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27430 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27431 }
27432 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27433 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27434 }
27435 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27436 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27437 }
27438 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27439 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27440 }
27441 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27442 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27443 }
27444 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27445 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27446 }
27447 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27448 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27449 }
27450 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27452 }
27453 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27455 }
27456 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27457 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27458 }
27459 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27460 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27461 }
27462 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27463 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27464 }
27465 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27467 }
27468 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27470 }
27471 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27473 }
27474 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27476 }
27477 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27479 }
27480 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27482 }
27483 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27485 }
27486 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27488 }
27489 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27491 }
27492 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27494 }
27495 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27497 }
27498 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27500 }
27501 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27502 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27503 }
27504 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27506 }
27507 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27509 }
27510 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27511 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27512 }
27513 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27514 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27515 }
27516 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27518 }
27519 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27520 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27521 }
27522 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27523 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27524 }
27525 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27526 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27527 }
27528 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27529 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27530 }
27531 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27532 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27533 }
27534 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27535 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27536 }
27537 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27538 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27539 }
27540 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27541 return (void *)((wxButton *) ((wxBitmapButton *) x));
27542 }
27543 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27544 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27545 }
27546 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27547 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27548 }
27549 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27550 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27551 }
27552 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27553 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27554 }
27555 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27556 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27557 }
27558 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27559 return (void *)((wxObject *) ((wxSizerItem *) x));
27560 }
27561 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27562 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27563 }
27564 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27565 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27566 }
27567 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27569 }
27570 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27572 }
27573 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27574 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27575 }
27576 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27577 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27578 }
27579 static void *_p_wxSizerTo_p_wxObject(void *x) {
27580 return (void *)((wxObject *) ((wxSizer *) x));
27581 }
27582 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27583 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27584 }
27585 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27587 }
27588 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27590 }
27591 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27592 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27593 }
27594 static void *_p_wxEventTo_p_wxObject(void *x) {
27595 return (void *)((wxObject *) ((wxEvent *) x));
27596 }
27597 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27598 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27599 }
27600 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27601 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27602 }
27603 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27604 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27605 }
27606 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27608 }
27609 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27611 }
27612 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27614 }
27615 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27616 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27617 }
27618 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27619 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27620 }
27621 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27622 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27623 }
27624 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27625 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27626 }
27627 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27628 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27629 }
27630 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27631 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27632 }
27633 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27635 }
27636 static void *_p_wxControlTo_p_wxObject(void *x) {
27637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27638 }
27639 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27641 }
27642 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27644 }
27645 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27647 }
27648 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27650 }
27651 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27653 }
27654 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27655 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27656 }
27657 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27659 }
27660 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27661 return (void *)((wxObject *) ((wxFSFile *) x));
27662 }
27663 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27664 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27665 }
27666 static void *_p_wxListViewTo_p_wxObject(void *x) {
27667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27668 }
27669 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27671 }
27672 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27674 }
27675 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27676 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27677 }
27678 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27680 }
27681 static void *_p_wxListbookTo_p_wxObject(void *x) {
27682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27683 }
27684 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27685 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27686 }
27687 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27689 }
27690 static void *_p_wxSliderTo_p_wxObject(void *x) {
27691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27692 }
27693 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27694 return (void *)((wxObject *) ((wxMenuItem *) x));
27695 }
27696 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27697 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27698 }
27699 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27700 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27701 }
27702 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27703 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27704 }
27705 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27706 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27707 }
27708 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27709 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27710 }
27711 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27712 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27713 }
27714 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27715 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27716 }
27717 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27718 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27719 }
27720 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27722 }
27723 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27724 return (void *)((wxObject *) ((wxContextHelp *) x));
27725 }
27726 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27727 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27728 }
27729 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27730 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27731 }
27732 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27733 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27734 }
27735 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27736 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27737 }
27738 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27739 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27740 }
27741 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27742 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27743 }
27744 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27745 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27746 }
27747 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27748 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27749 }
27750 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27751 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27752 }
27753 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27754 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27755 }
27756 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27757 return (void *)((wxObject *) ((wxImageHandler *) x));
27758 }
27759 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27760 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27761 }
27762 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27763 return (void *)((wxObject *) ((wxEvtHandler *) x));
27764 }
27765 static void *_p_wxListEventTo_p_wxObject(void *x) {
27766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27767 }
27768 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27770 }
27771 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27773 }
27774 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27776 }
27777 static void *_p_wxButtonTo_p_wxObject(void *x) {
27778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27779 }
27780 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27782 }
27783 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27785 }
27786 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27788 }
27789 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27790 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27791 }
27792 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27794 }
27795 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27797 }
27798 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27800 }
27801 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27802 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27803 }
27804 static void *_p_wxListItemTo_p_wxObject(void *x) {
27805 return (void *)((wxObject *) ((wxListItem *) x));
27806 }
27807 static void *_p_wxImageTo_p_wxObject(void *x) {
27808 return (void *)((wxObject *) ((wxImage *) x));
27809 }
27810 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27811 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27812 }
27813 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27814 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27815 }
27816 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27817 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27818 }
27819 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27821 }
27822 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27824 }
27825 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27826 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27827 }
27828 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27830 }
27831 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27832 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27833 }
27834 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27835 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27836 }
27837 static void *_p_wxWindowTo_p_wxObject(void *x) {
27838 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27839 }
27840 static void *_p_wxMenuTo_p_wxObject(void *x) {
27841 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27842 }
27843 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27845 }
27846 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27847 return (void *)((wxObject *) ((wxFileSystem *) x));
27848 }
27849 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27850 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27851 }
27852 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27853 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27854 }
27855 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27856 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27857 }
27858 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27859 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27860 }
27861 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27862 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27863 }
27864 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27865 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27866 }
27867 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27869 }
27870 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27872 }
27873 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27874 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27875 }
27876 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27878 }
27879 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27880 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27881 }
27882 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27883 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27884 }
27885 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27887 }
27888 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27890 }
27891 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27892 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27893 }
27894 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27896 }
27897 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27898 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27899 }
27900 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27901 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27902 }
27903 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27904 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27905 }
27906 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27907 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27908 }
27909 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27910 return (void *)((wxWindow *) ((wxMenuBar *) x));
27911 }
27912 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27913 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27914 }
27915 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27916 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27917 }
27918 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27919 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27920 }
27921 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27922 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27923 }
27924 static void *_p_wxControlTo_p_wxWindow(void *x) {
27925 return (void *)((wxWindow *) ((wxControl *) x));
27926 }
27927 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27928 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27929 }
27930 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27931 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27932 }
27933 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27934 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27935 }
27936 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27937 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27938 }
27939 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27940 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27941 }
27942 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27943 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27944 }
27945 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27946 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27947 }
27948 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27949 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27950 }
27951 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27952 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27953 }
27954 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27955 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27956 }
27957 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27958 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27959 }
27960 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27961 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27962 }
27963 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27964 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27965 }
27966 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27967 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27968 }
27969 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27970 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27971 }
27972 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27973 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27974 }
27975 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27976 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27977 }
27978 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27979 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27980 }
27981 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27982 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27983 }
27984 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27985 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27986 }
27987 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27988 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27989 }
27990 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27991 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27992 }
27993 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27994 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27995 }
27996 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27997 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27998 }
27999 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28000 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28001 }
28002 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28003 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28004 }
28005 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28006 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28007 }
28008 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28009 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28010 }
28011 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28012 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28013 }
28014 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28015 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28016 }
28017 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28018 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28019 }
28020 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28021 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28022 }
28023 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28024 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28025 }
28026 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28027 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28028 }
28029 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28030 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28031 }
28032 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28033 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28034 }
28035 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28036 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28037 }
28038 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28039 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28040 }
28041 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28042 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28043 }
28044 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28045 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28046 }
28047 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28048 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28049 }
28050 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28051 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28052 }
28053 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28054 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28055 }
28056 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28057 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28058 }
28059 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28060 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28061 }
28062 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28063 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28064 }
28065 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28066 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28067 }
28068 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28069 return (void *)((wxValidator *) ((wxPyValidator *) x));
28070 }
28071 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28072 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}};
28073 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}};
28074 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28075 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28076 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28077 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28078 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}};
28079 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28080 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28081 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28082 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}};
28083 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28084 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28085 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28086 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}};
28087 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28088 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28089 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28090 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28091 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28092 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28093 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
28094 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28095 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28096 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28097 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28098 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28099 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28100 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28101 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28102 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28103 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}};
28104 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28105 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28106 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28107 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28108 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28109 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28110 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28111 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28112 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}};
28113 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28114 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28115 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28116 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}};
28117 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28118 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}};
28119 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28120 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28121 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28122 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28123 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28124 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28125 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28126 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28127 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28128 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28129 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28130 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28131 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28132 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28133 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28134 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28135 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28136 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28137 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28138 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}};
28139 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28140 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28141 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}};
28142 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28143 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28144 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28145 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28146 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}};
28147 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28148 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}};
28149 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28150 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28151 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28152 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28153 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28154
28155 static swig_type_info *swig_types_initial[] = {
28156 _swigt__p_wxTextUrlEvent,
28157 _swigt__p_wxBookCtrlEvent,
28158 _swigt__p_wxSizer,
28159 _swigt__p_wxTreeItemIdValue,
28160 _swigt__wxTreeItemIdValue,
28161 _swigt__p_wxCheckBox,
28162 _swigt__p_wxPyTreeCtrl,
28163 _swigt__p_wxEvent,
28164 _swigt__p_wxGenericDirCtrl,
28165 _swigt__p_bool,
28166 _swigt__p_wxPyTreeItemData,
28167 _swigt__p_wxItemContainer,
28168 _swigt__p_wxDirFilterListCtrl,
28169 _swigt__p_wxPyListCtrl,
28170 _swigt__p_wxStaticLine,
28171 _swigt__p_wxControl,
28172 _swigt__p_wxPyControl,
28173 _swigt__p_wxGauge,
28174 _swigt__p_wxToolBarBase,
28175 _swigt__p_wxFont,
28176 _swigt__p_wxToggleButton,
28177 _swigt__p_wxRadioButton,
28178 _swigt__p_wxChoice,
28179 _swigt__p_wxMemoryDC,
28180 _swigt__p_wxListItemAttr,
28181 _swigt__p_int,
28182 _swigt__p_wxSize,
28183 _swigt__p_wxDC,
28184 _swigt__p_wxListView,
28185 _swigt__p_wxIcon,
28186 _swigt__p_wxTextCtrl,
28187 _swigt__p_wxNotebook,
28188 _swigt__p_wxNotifyEvent,
28189 _swigt__p_wxArrayString,
28190 _swigt__p_wxListbook,
28191 _swigt__p_wxStaticBitmap,
28192 _swigt__p_wxSlider,
28193 _swigt__p_wxStaticBox,
28194 _swigt__p_wxArrayInt,
28195 _swigt__p_wxContextHelp,
28196 _swigt__p_long,
28197 _swigt__p_wxEvtHandler,
28198 _swigt__p_wxListEvent,
28199 _swigt__p_wxListBox,
28200 _swigt__p_wxCheckListBox,
28201 _swigt__p_wxBookCtrl,
28202 _swigt__p_wxSpinButton,
28203 _swigt__p_wxButton,
28204 _swigt__p_wxBitmapButton,
28205 _swigt__p_wxRect,
28206 _swigt__p_wxContextHelpButton,
28207 _swigt__p_wxRadioBox,
28208 _swigt__p_wxScrollBar,
28209 _swigt__p_wxTreeItemId,
28210 _swigt__p_wxComboBox,
28211 _swigt__p_wxHelpEvent,
28212 _swigt__p_wxListItem,
28213 _swigt__p_wxNotebookSizer,
28214 _swigt__p_wxGenericDragImage,
28215 _swigt__p_wxSpinCtrl,
28216 _swigt__p_wxImageList,
28217 _swigt__p_wxHelpProvider,
28218 _swigt__p_wxTextAttr,
28219 _swigt__p_wxSimpleHelpProvider,
28220 _swigt__p_wxPoint,
28221 _swigt__p_wxListbookEvent,
28222 _swigt__p_wxNotebookEvent,
28223 _swigt__p_wxObject,
28224 _swigt__p_wxCursor,
28225 _swigt__p_wxKeyEvent,
28226 _swigt__p_wxWindow,
28227 _swigt__p_wxString,
28228 _swigt__p_wxBitmap,
28229 _swigt__p_wxTreeEvent,
28230 _swigt__p_wxMouseEvent,
28231 _swigt__p_wxCommandEvent,
28232 _swigt__p_wxStaticText,
28233 _swigt__p_wxControlWithItems,
28234 _swigt__p_wxToolBarToolBase,
28235 _swigt__p_wxColour,
28236 _swigt__p_wxToolBar,
28237 _swigt__p_wxBookCtrlSizer,
28238 _swigt__p_wxValidator,
28239 0
28240 };
28241
28242
28243 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28244
28245 static swig_const_info swig_const_table[] = {
28246 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28247 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28248 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28249 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28250 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28251 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28252 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28253 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28254 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28255 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28256 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28257 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28258 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28259 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28260 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28261 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28262 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28263 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28264 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28265 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28266 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28267 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28268 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28269 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28270 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28271 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28272 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28273 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28274 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28275 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28276 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28277 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28278 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28279 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28280 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28281 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28282 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28283 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28284 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28285 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28286 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28287 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28288 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28289 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28290 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28291 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28292 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28293 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28294 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28295 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28296 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28297 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28298 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28299 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28300 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28301 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28302 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28303 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28304 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28305 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28306 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28307 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28308 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28309 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28310 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28311 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28312 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28313 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28314 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28315 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28316 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28317 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28318 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28319 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28320 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28321 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28322 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28323 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28324 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28325 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28326 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28327 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28328 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28329 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28330 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28331 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28332 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28333 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28334 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28335 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28336 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28337 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28338 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28339 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28340 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28341 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28342 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28343 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28344 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28345 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28346 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28347 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28348 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28349 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28350 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28351 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28352 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28353 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28354 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28355 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28356 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28357 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28358 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28359 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28360 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28361 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28362 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28363 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28364 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28365 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28366 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28367 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28368 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28369 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28370 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28371 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28372 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28373 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28374 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28375 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28376 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28377 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28378 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28379 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28380 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28381 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28382 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28383 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28384 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28385 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28386 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28387 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28388 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28389 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28390 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28391 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28392 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28393 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28394 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28395 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28396 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28397 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28398 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28399 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28400 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28401 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28402 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28403 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28404 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28405 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28406 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28407 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28408 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28409 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28410 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28411 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28412 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28413 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28414 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28415 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28416 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28417 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28418 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28419 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28420 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28421 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28422 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28423 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28424 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28425 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28426 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28427 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28428 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28429 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28430 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28431 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28432 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28433 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28434 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28435 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28436 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28437 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28438 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28439 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28440 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28441 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28442 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28443 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28444 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28445 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28446 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28447 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28448 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28449 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28450 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28451 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28452 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28453 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28454 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28455 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28456 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28457 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28458 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28459 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28460 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28461 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28462 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28463 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28464 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28465 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28466 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28467 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28468 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28469 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28470 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28471 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28472 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28473 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28474 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28475 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28476 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28477 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28478 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28479 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28480 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28481 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28482 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28483 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28484 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28485 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28486 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28487 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28488 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28489 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28490 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28491 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28492 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28493 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28494 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28495 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28496 {0}};
28497
28498 #ifdef __cplusplus
28499 }
28500 #endif
28501
28502 #ifdef __cplusplus
28503 extern "C"
28504 #endif
28505 SWIGEXPORT(void) SWIG_init(void) {
28506 static PyObject *SWIG_globals = 0;
28507 static int typeinit = 0;
28508 PyObject *m, *d;
28509 int i;
28510 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28511 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28512 d = PyModule_GetDict(m);
28513
28514 if (!typeinit) {
28515 for (i = 0; swig_types_initial[i]; i++) {
28516 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28517 }
28518 typeinit = 1;
28519 }
28520 SWIG_InstallConstants(d,swig_const_table);
28521
28522 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28523 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28524 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28525 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28526 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28527 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28528 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28529 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28530 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28531 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28532 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28533 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28534 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28535 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28536 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28537 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28538 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28539 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28540 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28541 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28542 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28543 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28544 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28545 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28546 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28547 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28548 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28549 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28550 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28551 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28552 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28553 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28554 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28555 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28556 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28557 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28558 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28559 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28560 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28561 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28562 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28563 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28564 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28565 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28566 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28567 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28568 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28569 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28570 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28571 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28572 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28573 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28574
28575 // Map renamed classes back to their common name for OOR
28576 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28577
28578 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28579 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28580 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28581 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28582 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28583 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28584 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28585 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28586 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28587 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28588 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28589 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28590 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28591 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28592 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28593 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28594 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28595 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28596 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28597 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28598 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28599
28600 // Map renamed classes back to their common name for OOR
28601 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28602 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28603
28604 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28605 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28606 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28607
28608 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28609
28610 }
28611