]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Updated SWIG patches and wxPython's SWIG runtime
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
271 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
272 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
273 #define SWIGTYPE_p_wxImageList swig_types[61]
274 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
275 #define SWIGTYPE_p_wxTextAttr swig_types[63]
276 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
277 #define SWIGTYPE_p_wxPoint swig_types[65]
278 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
279 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
280 #define SWIGTYPE_p_wxObject swig_types[68]
281 #define SWIGTYPE_p_wxCursor swig_types[69]
282 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
283 #define SWIGTYPE_p_wxWindow swig_types[71]
284 #define SWIGTYPE_p_wxString swig_types[72]
285 #define SWIGTYPE_p_wxBitmap swig_types[73]
286 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
287 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
289 #define SWIGTYPE_p_wxStaticText swig_types[77]
290 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
291 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
292 #define SWIGTYPE_p_wxColour swig_types[80]
293 #define SWIGTYPE_p_wxToolBar swig_types[81]
294 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
295 #define SWIGTYPE_p_wxValidator swig_types[83]
296 static swig_type_info *swig_types[85];
297
298 /* -------- TYPES TABLE (END) -------- */
299
300
301 /*-----------------------------------------------
302 @(target):= _controls.so
303 ------------------------------------------------*/
304 #define SWIG_init init_controls
305
306 #define SWIG_name "_controls"
307
308 #include "wx/wxPython/wxPython.h"
309 #include "wx/wxPython/pyclasses.h"
310
311 static const wxString wxPyPanelNameStr(wxPanelNameStr);
312 static const wxString wxPyEmptyString(wxEmptyString);
313 static const wxString wxPyControlNameStr(wxControlNameStr);
314 static const wxString wxPyButtonNameStr(wxButtonNameStr);
315 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
316 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
317 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
318 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
319 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
320 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
321 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
322
323 #include <wx/checklst.h>
324
325
326 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
327 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
328 if (clientData) {
329 wxPyClientData* data = new wxPyClientData(clientData);
330 self->Insert(item, pos, data);
331 } else
332 self->Insert(item, pos);
333 }
334 PyObject *wxListBox_GetSelections(wxListBox *self){
335 wxArrayInt lst;
336 self->GetSelections(lst);
337 PyObject *tup = PyTuple_New(lst.GetCount());
338 for(size_t i=0; i<lst.GetCount(); i++) {
339 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
340 }
341 return tup;
342 }
343 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
344
345 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
346 PyObject* o2;
347 PyObject* o3;
348
349 if (!target) {
350 target = o;
351 } else if (target == Py_None) {
352 Py_DECREF(Py_None);
353 target = o;
354 } else {
355 if (!PyTuple_Check(target)) {
356 o2 = target;
357 target = PyTuple_New(1);
358 PyTuple_SetItem(target, 0, o2);
359 }
360 o3 = PyTuple_New(1);
361 PyTuple_SetItem(o3, 0, o);
362
363 o2 = target;
364 target = PySequence_Concat(o2, o3);
365 Py_DECREF(o2);
366 Py_DECREF(o3);
367 }
368 return target;
369 }
370
371 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
372 self->AppendText(text);
373 }
374 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
375 return self->GetValue().Mid(from, to - from);
376 }
377 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
378 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
379 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
380 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
381 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
382
383 #include <wx/slider.h>
384
385
386 static const wxString wxPySliderNameStr(wxSliderNameStr);
387 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
388
389 #if defined(__WXMAC__) || defined(__WXX11__)
390 // implement dummy classes and such for wxMac
391
392 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
393
394 class wxToggleButton : public wxControl
395 {
396 public:
397 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
398 const wxPoint&, const wxSize&, long,
399 const wxValidator&, const wxString&)
400 { wxPyRaiseNotImplemented(); }
401
402 wxToggleButton()
403 { wxPyRaiseNotImplemented(); }
404 };
405 #endif
406
407 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
408 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
409 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
410 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
411 if (udata) {
412 Py_INCREF(udata->m_obj);
413 return udata->m_obj;
414 } else {
415 Py_INCREF(Py_None);
416 return Py_None;
417 }
418 }
419 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
420 self->SetClientData(new wxPyUserData(clientData));
421 }
422 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){
423 wxPyUserData* udata = NULL;
424 if (clientData && clientData != Py_None)
425 udata = new wxPyUserData(clientData);
426 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
427 shortHelp, longHelp, udata);
428 }
429 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){
430 wxPyUserData* udata = NULL;
431 if (clientData && clientData != Py_None)
432 udata = new wxPyUserData(clientData);
433 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
434 shortHelp, longHelp, udata);
435 }
436 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
437 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
438 if (udata) {
439 Py_INCREF(udata->m_obj);
440 return udata->m_obj;
441 } else {
442 Py_INCREF(Py_None);
443 return Py_None;
444 }
445 }
446 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
447 self->SetToolClientData(id, new wxPyUserData(clientData));
448 }
449
450 #include <wx/listctrl.h>
451
452
453 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
454 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
455 // Python aware sorting function for wxPyListCtrl
456 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
457 int retval = 0;
458 PyObject* func = (PyObject*)funcPtr;
459 wxPyBeginBlockThreads();
460
461 PyObject* args = Py_BuildValue("(ii)", item1, item2);
462 PyObject* result = PyEval_CallObject(func, args);
463 Py_DECREF(args);
464 if (result) {
465 retval = PyInt_AsLong(result);
466 Py_DECREF(result);
467 }
468
469 wxPyEndBlockThreads();
470 return retval;
471 }
472
473 // C++ Version of a Python aware class
474 class wxPyListCtrl : public wxListCtrl {
475 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
476 public:
477 wxPyListCtrl() : wxListCtrl() {}
478 wxPyListCtrl(wxWindow* parent, wxWindowID id,
479 const wxPoint& pos,
480 const wxSize& size,
481 long style,
482 const wxValidator& validator,
483 const wxString& name) :
484 wxListCtrl(parent, id, pos, size, style, validator, name) {}
485
486 bool Create(wxWindow* parent, wxWindowID id,
487 const wxPoint& pos,
488 const wxSize& size,
489 long style,
490 const wxValidator& validator,
491 const wxString& name) {
492 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
493 }
494
495 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
496 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
497 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
498
499 PYPRIVATE;
500 };
501
502 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
503
504 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
505 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
506 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
507
508 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
509 wxListItem item;
510 item.SetMask( wxLIST_MASK_STATE |
511 wxLIST_MASK_TEXT |
512 wxLIST_MASK_IMAGE |
513 wxLIST_MASK_DATA |
514 wxLIST_SET_ITEM |
515 wxLIST_MASK_WIDTH |
516 wxLIST_MASK_FORMAT
517 );
518 if (self->GetColumn(col, item))
519 return new wxListItem(item);
520 else
521 return NULL;
522 }
523 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
524 wxListItem* info = new wxListItem;
525 info->m_itemId = itemId;
526 info->m_col = col;
527 info->m_mask = 0xFFFF;
528 self->GetItem(*info);
529 return info;
530 }
531 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
532 wxPoint pos;
533 self->GetItemPosition(item, pos);
534 return pos;
535 }
536 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
537 wxRect rect;
538 self->GetItemRect(item, rect, code);
539 return rect;
540 }
541 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
542 if (!PyCallable_Check(func))
543 return False;
544 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
545 }
546 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
547
548 return self;
549
550
551
552 }
553
554 #include <wx/treectrl.h>
555 #include "wx/wxPython/pytree.h"
556
557 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
558 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
559 if (!other) return False;
560 return *self == *other;
561 }
562 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
563 if (!other) return True;
564 return *self != *other;
565 }
566 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
567 // C++ version of Python aware wxTreeCtrl
568 class wxPyTreeCtrl : public wxTreeCtrl {
569 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
570 public:
571 wxPyTreeCtrl() : wxTreeCtrl() {}
572 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
573 const wxPoint& pos,
574 const wxSize& size,
575 long style,
576 const wxValidator& validator,
577 const wxString& name) :
578 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
579
580 bool Create(wxWindow *parent, wxWindowID id,
581 const wxPoint& pos,
582 const wxSize& size,
583 long style,
584 const wxValidator& validator,
585 const wxString& name) {
586 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
587 }
588
589
590 int OnCompareItems(const wxTreeItemId& item1,
591 const wxTreeItemId& item2) {
592 int rval = 0;
593 bool found;
594 wxPyBeginBlockThreads();
595 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
596 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
597 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
598 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
599 Py_DECREF(o1);
600 Py_DECREF(o2);
601 }
602 wxPyEndBlockThreads();
603 if (! found)
604 rval = wxTreeCtrl::OnCompareItems(item1, item2);
605 return rval;
606 }
607 PYPRIVATE;
608 };
609
610 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
611
612
613 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
614 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
615 if (data == NULL) {
616 data = new wxPyTreeItemData();
617 data->SetId(item); // set the id
618 self->SetItemData(item, data);
619 }
620 return data;
621 }
622 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
623 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
624 if (data == NULL) {
625 data = new wxPyTreeItemData();
626 data->SetId(item); // set the id
627 self->SetItemData(item, data);
628 }
629 return data->GetData();
630 }
631 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
632 data->SetId(item); // set the id
633 self->SetItemData(item, data);
634 }
635 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
636 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
637 if (data == NULL) {
638 data = new wxPyTreeItemData(obj);
639 data->SetId(item); // set the id
640 self->SetItemData(item, data);
641 } else
642 data->SetData(obj);
643 }
644 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
645 wxPyBeginBlockThreads();
646 PyObject* rval = PyList_New(0);
647 wxArrayTreeItemIds array;
648 size_t num, x;
649 num = self->GetSelections(array);
650 for (x=0; x < num; x++) {
651 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
652 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
653 PyList_Append(rval, item);
654 }
655 wxPyEndBlockThreads();
656 return rval;
657 }
658 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
659 wxTreeItemIdValue cookie = 0;
660 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
661 wxPyBeginBlockThreads();
662 PyObject* tup = PyTuple_New(2);
663 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
664 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
665 wxPyEndBlockThreads();
666 return tup;
667 }
668 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
669 wxTreeItemId ritem = self->GetNextChild(item, cookie);
670 wxPyBeginBlockThreads();
671 PyObject* tup = PyTuple_New(2);
672 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
673 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
674 wxPyEndBlockThreads();
675 return tup;
676 }
677 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
678 wxRect rect;
679 if (self->GetBoundingRect(item, rect, textOnly)) {
680 wxPyBeginBlockThreads();
681 wxRect* r = new wxRect(rect);
682 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
683 wxPyEndBlockThreads();
684 return val;
685 }
686 else
687 RETURN_NONE();
688 }
689 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
690 // C++ version of Python aware wxControl
691 class wxPyControl : public wxControl
692 {
693 DECLARE_DYNAMIC_CLASS(wxPyControl)
694 public:
695 wxPyControl() : wxControl() {}
696 wxPyControl(wxWindow* parent, const wxWindowID id,
697 const wxPoint& pos = wxDefaultPosition,
698 const wxSize& size = wxDefaultSize,
699 long style = 0,
700 const wxValidator& validator=wxDefaultValidator,
701 const wxString& name = wxPyControlNameStr)
702 : wxControl(parent, id, pos, size, style, validator, name) {}
703
704
705 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
706 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
707 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
708 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
709
710 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
711 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
712 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
713
714 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
715 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
716
717 DEC_PYCALLBACK__(InitDialog);
718 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
719 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
720 DEC_PYCALLBACK_BOOL_(Validate);
721
722 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
723 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
724 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
725
726 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
727 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
728
729 PYPRIVATE;
730 };
731
732 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
733
734 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
735 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
736 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
737 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
738
739 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
740 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
741 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
742
743 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
744 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
745
746 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
747 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
748 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
749 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
750
751 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
752 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
753 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
754
755 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
756 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
757
758
759
760
761 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
762
763 #include <wx/generic/dragimgg.h>
764
765 #ifdef __cplusplus
766 extern "C" {
767 #endif
768 static int _wrap_ButtonNameStr_set(PyObject *_val) {
769 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
770 return 1;
771 }
772
773
774 static PyObject *_wrap_ButtonNameStr_get() {
775 PyObject *pyobj;
776
777 {
778 #if wxUSE_UNICODE
779 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
780 #else
781 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
782 #endif
783 }
784 return pyobj;
785 }
786
787
788 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
789 PyObject *resultobj;
790 wxWindow *arg1 = (wxWindow *) 0 ;
791 int arg2 ;
792 wxString *arg3 = 0 ;
793 wxPoint const &arg4_defvalue = wxDefaultPosition ;
794 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
795 wxSize const &arg5_defvalue = wxDefaultSize ;
796 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
797 long arg6 = (long) 0 ;
798 wxValidator const &arg7_defvalue = wxDefaultValidator ;
799 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
800 wxString const &arg8_defvalue = wxPyButtonNameStr ;
801 wxString *arg8 = (wxString *) &arg8_defvalue ;
802 wxButton *result;
803 bool temp3 = False ;
804 wxPoint temp4 ;
805 wxSize temp5 ;
806 bool temp8 = False ;
807 PyObject * obj0 = 0 ;
808 PyObject * obj2 = 0 ;
809 PyObject * obj3 = 0 ;
810 PyObject * obj4 = 0 ;
811 PyObject * obj6 = 0 ;
812 PyObject * obj7 = 0 ;
813 char *kwnames[] = {
814 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
815 };
816
817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
819 {
820 arg3 = wxString_in_helper(obj2);
821 if (arg3 == NULL) SWIG_fail;
822 temp3 = True;
823 }
824 if (obj3) {
825 {
826 arg4 = &temp4;
827 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
828 }
829 }
830 if (obj4) {
831 {
832 arg5 = &temp5;
833 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
834 }
835 }
836 if (obj6) {
837 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
838 if (arg7 == NULL) {
839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
840 }
841 }
842 if (obj7) {
843 {
844 arg8 = wxString_in_helper(obj7);
845 if (arg8 == NULL) SWIG_fail;
846 temp8 = True;
847 }
848 }
849 {
850 PyThreadState* __tstate = wxPyBeginAllowThreads();
851 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
852
853 wxPyEndAllowThreads(__tstate);
854 if (PyErr_Occurred()) SWIG_fail;
855 }
856 {
857 resultobj = wxPyMake_wxObject(result);
858 }
859 {
860 if (temp3)
861 delete arg3;
862 }
863 {
864 if (temp8)
865 delete arg8;
866 }
867 return resultobj;
868 fail:
869 {
870 if (temp3)
871 delete arg3;
872 }
873 {
874 if (temp8)
875 delete arg8;
876 }
877 return NULL;
878 }
879
880
881 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
882 PyObject *resultobj;
883 wxButton *result;
884 char *kwnames[] = {
885 NULL
886 };
887
888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
889 {
890 PyThreadState* __tstate = wxPyBeginAllowThreads();
891 result = (wxButton *)new wxButton();
892
893 wxPyEndAllowThreads(__tstate);
894 if (PyErr_Occurred()) SWIG_fail;
895 }
896 {
897 resultobj = wxPyMake_wxObject(result);
898 }
899 return resultobj;
900 fail:
901 return NULL;
902 }
903
904
905 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
906 PyObject *resultobj;
907 wxButton *arg1 = (wxButton *) 0 ;
908 wxWindow *arg2 = (wxWindow *) 0 ;
909 int arg3 ;
910 wxString *arg4 = 0 ;
911 wxPoint const &arg5_defvalue = wxDefaultPosition ;
912 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
913 wxSize const &arg6_defvalue = wxDefaultSize ;
914 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
915 long arg7 = (long) 0 ;
916 wxValidator const &arg8_defvalue = wxDefaultValidator ;
917 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
918 wxString const &arg9_defvalue = wxPyButtonNameStr ;
919 wxString *arg9 = (wxString *) &arg9_defvalue ;
920 bool result;
921 bool temp4 = False ;
922 wxPoint temp5 ;
923 wxSize temp6 ;
924 bool temp9 = False ;
925 PyObject * obj0 = 0 ;
926 PyObject * obj1 = 0 ;
927 PyObject * obj3 = 0 ;
928 PyObject * obj4 = 0 ;
929 PyObject * obj5 = 0 ;
930 PyObject * obj7 = 0 ;
931 PyObject * obj8 = 0 ;
932 char *kwnames[] = {
933 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
934 };
935
936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
939 {
940 arg4 = wxString_in_helper(obj3);
941 if (arg4 == NULL) SWIG_fail;
942 temp4 = True;
943 }
944 if (obj4) {
945 {
946 arg5 = &temp5;
947 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
948 }
949 }
950 if (obj5) {
951 {
952 arg6 = &temp6;
953 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
954 }
955 }
956 if (obj7) {
957 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
958 if (arg8 == NULL) {
959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
960 }
961 }
962 if (obj8) {
963 {
964 arg9 = wxString_in_helper(obj8);
965 if (arg9 == NULL) SWIG_fail;
966 temp9 = True;
967 }
968 }
969 {
970 PyThreadState* __tstate = wxPyBeginAllowThreads();
971 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
972
973 wxPyEndAllowThreads(__tstate);
974 if (PyErr_Occurred()) SWIG_fail;
975 }
976 resultobj = PyInt_FromLong((long)result);
977 {
978 if (temp4)
979 delete arg4;
980 }
981 {
982 if (temp9)
983 delete arg9;
984 }
985 return resultobj;
986 fail:
987 {
988 if (temp4)
989 delete arg4;
990 }
991 {
992 if (temp9)
993 delete arg9;
994 }
995 return NULL;
996 }
997
998
999 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1000 PyObject *resultobj;
1001 wxButton *arg1 = (wxButton *) 0 ;
1002 PyObject * obj0 = 0 ;
1003 char *kwnames[] = {
1004 (char *) "self", NULL
1005 };
1006
1007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1009 {
1010 PyThreadState* __tstate = wxPyBeginAllowThreads();
1011 (arg1)->SetDefault();
1012
1013 wxPyEndAllowThreads(__tstate);
1014 if (PyErr_Occurred()) SWIG_fail;
1015 }
1016 Py_INCREF(Py_None); resultobj = Py_None;
1017 return resultobj;
1018 fail:
1019 return NULL;
1020 }
1021
1022
1023 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject *resultobj;
1025 wxButton *arg1 = (wxButton *) 0 ;
1026 wxBitmap *arg2 = 0 ;
1027 PyObject * obj0 = 0 ;
1028 PyObject * obj1 = 0 ;
1029 char *kwnames[] = {
1030 (char *) "self",(char *) "bitmap", NULL
1031 };
1032
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1036 if (arg2 == NULL) {
1037 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1038 }
1039 {
1040 PyThreadState* __tstate = wxPyBeginAllowThreads();
1041 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1042
1043 wxPyEndAllowThreads(__tstate);
1044 if (PyErr_Occurred()) SWIG_fail;
1045 }
1046 Py_INCREF(Py_None); resultobj = Py_None;
1047 return resultobj;
1048 fail:
1049 return NULL;
1050 }
1051
1052
1053 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1054 PyObject *resultobj;
1055 wxButton *arg1 = (wxButton *) 0 ;
1056 int arg2 ;
1057 int arg3 ;
1058 PyObject * obj0 = 0 ;
1059 char *kwnames[] = {
1060 (char *) "self",(char *) "x",(char *) "y", NULL
1061 };
1062
1063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1065 {
1066 PyThreadState* __tstate = wxPyBeginAllowThreads();
1067 (arg1)->SetImageMargins(arg2,arg3);
1068
1069 wxPyEndAllowThreads(__tstate);
1070 if (PyErr_Occurred()) SWIG_fail;
1071 }
1072 Py_INCREF(Py_None); resultobj = Py_None;
1073 return resultobj;
1074 fail:
1075 return NULL;
1076 }
1077
1078
1079 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1080 PyObject *resultobj;
1081 wxSize result;
1082 char *kwnames[] = {
1083 NULL
1084 };
1085
1086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1087 {
1088 PyThreadState* __tstate = wxPyBeginAllowThreads();
1089 result = wxButton::GetDefaultSize();
1090
1091 wxPyEndAllowThreads(__tstate);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 {
1095 wxSize * resultptr;
1096 resultptr = new wxSize((wxSize &) result);
1097 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1098 }
1099 return resultobj;
1100 fail:
1101 return NULL;
1102 }
1103
1104
1105 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1106 PyObject *obj;
1107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1108 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1109 Py_INCREF(obj);
1110 return Py_BuildValue((char *)"");
1111 }
1112 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1113 PyObject *resultobj;
1114 wxWindow *arg1 = (wxWindow *) 0 ;
1115 int arg2 ;
1116 wxBitmap *arg3 = 0 ;
1117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1119 wxSize const &arg5_defvalue = wxDefaultSize ;
1120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1121 long arg6 = (long) wxBU_AUTODRAW ;
1122 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1123 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1124 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1125 wxString *arg8 = (wxString *) &arg8_defvalue ;
1126 wxBitmapButton *result;
1127 wxPoint temp4 ;
1128 wxSize temp5 ;
1129 bool temp8 = False ;
1130 PyObject * obj0 = 0 ;
1131 PyObject * obj2 = 0 ;
1132 PyObject * obj3 = 0 ;
1133 PyObject * obj4 = 0 ;
1134 PyObject * obj6 = 0 ;
1135 PyObject * obj7 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1143 if (arg3 == NULL) {
1144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1145 }
1146 if (obj3) {
1147 {
1148 arg4 = &temp4;
1149 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1150 }
1151 }
1152 if (obj4) {
1153 {
1154 arg5 = &temp5;
1155 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1156 }
1157 }
1158 if (obj6) {
1159 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1160 if (arg7 == NULL) {
1161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1162 }
1163 }
1164 if (obj7) {
1165 {
1166 arg8 = wxString_in_helper(obj7);
1167 if (arg8 == NULL) SWIG_fail;
1168 temp8 = True;
1169 }
1170 }
1171 {
1172 PyThreadState* __tstate = wxPyBeginAllowThreads();
1173 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1174
1175 wxPyEndAllowThreads(__tstate);
1176 if (PyErr_Occurred()) SWIG_fail;
1177 }
1178 {
1179 resultobj = wxPyMake_wxObject(result);
1180 }
1181 {
1182 if (temp8)
1183 delete arg8;
1184 }
1185 return resultobj;
1186 fail:
1187 {
1188 if (temp8)
1189 delete arg8;
1190 }
1191 return NULL;
1192 }
1193
1194
1195 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1196 PyObject *resultobj;
1197 wxBitmapButton *result;
1198 char *kwnames[] = {
1199 NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1203 {
1204 PyThreadState* __tstate = wxPyBeginAllowThreads();
1205 result = (wxBitmapButton *)new wxBitmapButton();
1206
1207 wxPyEndAllowThreads(__tstate);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 }
1210 {
1211 resultobj = wxPyMake_wxObject(result);
1212 }
1213 return resultobj;
1214 fail:
1215 return NULL;
1216 }
1217
1218
1219 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1220 PyObject *resultobj;
1221 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1222 wxWindow *arg2 = (wxWindow *) 0 ;
1223 int arg3 ;
1224 wxBitmap *arg4 = 0 ;
1225 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1226 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1227 wxSize const &arg6_defvalue = wxDefaultSize ;
1228 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1229 long arg7 = (long) wxBU_AUTODRAW ;
1230 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1231 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1232 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1233 wxString *arg9 = (wxString *) &arg9_defvalue ;
1234 bool result;
1235 wxPoint temp5 ;
1236 wxSize temp6 ;
1237 bool temp9 = False ;
1238 PyObject * obj0 = 0 ;
1239 PyObject * obj1 = 0 ;
1240 PyObject * obj3 = 0 ;
1241 PyObject * obj4 = 0 ;
1242 PyObject * obj5 = 0 ;
1243 PyObject * obj7 = 0 ;
1244 PyObject * obj8 = 0 ;
1245 char *kwnames[] = {
1246 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1247 };
1248
1249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1252 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1253 if (arg4 == NULL) {
1254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1255 }
1256 if (obj4) {
1257 {
1258 arg5 = &temp5;
1259 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1260 }
1261 }
1262 if (obj5) {
1263 {
1264 arg6 = &temp6;
1265 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1266 }
1267 }
1268 if (obj7) {
1269 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1270 if (arg8 == NULL) {
1271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1272 }
1273 }
1274 if (obj8) {
1275 {
1276 arg9 = wxString_in_helper(obj8);
1277 if (arg9 == NULL) SWIG_fail;
1278 temp9 = True;
1279 }
1280 }
1281 {
1282 PyThreadState* __tstate = wxPyBeginAllowThreads();
1283 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1284
1285 wxPyEndAllowThreads(__tstate);
1286 if (PyErr_Occurred()) SWIG_fail;
1287 }
1288 resultobj = PyInt_FromLong((long)result);
1289 {
1290 if (temp9)
1291 delete arg9;
1292 }
1293 return resultobj;
1294 fail:
1295 {
1296 if (temp9)
1297 delete arg9;
1298 }
1299 return NULL;
1300 }
1301
1302
1303 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject *resultobj;
1305 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1306 wxBitmap result;
1307 PyObject * obj0 = 0 ;
1308 char *kwnames[] = {
1309 (char *) "self", NULL
1310 };
1311
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 {
1315 PyThreadState* __tstate = wxPyBeginAllowThreads();
1316 result = (arg1)->GetBitmapLabel();
1317
1318 wxPyEndAllowThreads(__tstate);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 {
1322 wxBitmap * resultptr;
1323 resultptr = new wxBitmap((wxBitmap &) result);
1324 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1325 }
1326 return resultobj;
1327 fail:
1328 return NULL;
1329 }
1330
1331
1332 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject *resultobj;
1334 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1335 wxBitmap result;
1336 PyObject * obj0 = 0 ;
1337 char *kwnames[] = {
1338 (char *) "self", NULL
1339 };
1340
1341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1343 {
1344 PyThreadState* __tstate = wxPyBeginAllowThreads();
1345 result = (arg1)->GetBitmapDisabled();
1346
1347 wxPyEndAllowThreads(__tstate);
1348 if (PyErr_Occurred()) SWIG_fail;
1349 }
1350 {
1351 wxBitmap * resultptr;
1352 resultptr = new wxBitmap((wxBitmap &) result);
1353 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1354 }
1355 return resultobj;
1356 fail:
1357 return NULL;
1358 }
1359
1360
1361 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1362 PyObject *resultobj;
1363 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1364 wxBitmap result;
1365 PyObject * obj0 = 0 ;
1366 char *kwnames[] = {
1367 (char *) "self", NULL
1368 };
1369
1370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1372 {
1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
1374 result = (arg1)->GetBitmapFocus();
1375
1376 wxPyEndAllowThreads(__tstate);
1377 if (PyErr_Occurred()) SWIG_fail;
1378 }
1379 {
1380 wxBitmap * resultptr;
1381 resultptr = new wxBitmap((wxBitmap &) result);
1382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1383 }
1384 return resultobj;
1385 fail:
1386 return NULL;
1387 }
1388
1389
1390 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject *resultobj;
1392 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1393 wxBitmap result;
1394 PyObject * obj0 = 0 ;
1395 char *kwnames[] = {
1396 (char *) "self", NULL
1397 };
1398
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1401 {
1402 PyThreadState* __tstate = wxPyBeginAllowThreads();
1403 result = (arg1)->GetBitmapSelected();
1404
1405 wxPyEndAllowThreads(__tstate);
1406 if (PyErr_Occurred()) SWIG_fail;
1407 }
1408 {
1409 wxBitmap * resultptr;
1410 resultptr = new wxBitmap((wxBitmap &) result);
1411 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1412 }
1413 return resultobj;
1414 fail:
1415 return NULL;
1416 }
1417
1418
1419 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject *resultobj;
1421 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1422 wxBitmap *arg2 = 0 ;
1423 PyObject * obj0 = 0 ;
1424 PyObject * obj1 = 0 ;
1425 char *kwnames[] = {
1426 (char *) "self",(char *) "bitmap", NULL
1427 };
1428
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1432 if (arg2 == NULL) {
1433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1434 }
1435 {
1436 PyThreadState* __tstate = wxPyBeginAllowThreads();
1437 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1438
1439 wxPyEndAllowThreads(__tstate);
1440 if (PyErr_Occurred()) SWIG_fail;
1441 }
1442 Py_INCREF(Py_None); resultobj = Py_None;
1443 return resultobj;
1444 fail:
1445 return NULL;
1446 }
1447
1448
1449 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject *resultobj;
1451 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1452 wxBitmap *arg2 = 0 ;
1453 PyObject * obj0 = 0 ;
1454 PyObject * obj1 = 0 ;
1455 char *kwnames[] = {
1456 (char *) "self",(char *) "bitmap", NULL
1457 };
1458
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1462 if (arg2 == NULL) {
1463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1464 }
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 Py_INCREF(Py_None); resultobj = Py_None;
1473 return resultobj;
1474 fail:
1475 return NULL;
1476 }
1477
1478
1479 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1482 wxBitmap *arg2 = 0 ;
1483 PyObject * obj0 = 0 ;
1484 PyObject * obj1 = 0 ;
1485 char *kwnames[] = {
1486 (char *) "self",(char *) "bitmap", NULL
1487 };
1488
1489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1492 if (arg2 == NULL) {
1493 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1494 }
1495 {
1496 PyThreadState* __tstate = wxPyBeginAllowThreads();
1497 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1498
1499 wxPyEndAllowThreads(__tstate);
1500 if (PyErr_Occurred()) SWIG_fail;
1501 }
1502 Py_INCREF(Py_None); resultobj = Py_None;
1503 return resultobj;
1504 fail:
1505 return NULL;
1506 }
1507
1508
1509 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1510 PyObject *resultobj;
1511 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1512 wxBitmap *arg2 = 0 ;
1513 PyObject * obj0 = 0 ;
1514 PyObject * obj1 = 0 ;
1515 char *kwnames[] = {
1516 (char *) "self",(char *) "bitmap", NULL
1517 };
1518
1519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1522 if (arg2 == NULL) {
1523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1524 }
1525 {
1526 PyThreadState* __tstate = wxPyBeginAllowThreads();
1527 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1528
1529 wxPyEndAllowThreads(__tstate);
1530 if (PyErr_Occurred()) SWIG_fail;
1531 }
1532 Py_INCREF(Py_None); resultobj = Py_None;
1533 return resultobj;
1534 fail:
1535 return NULL;
1536 }
1537
1538
1539 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject *resultobj;
1541 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1542 int arg2 ;
1543 int arg3 ;
1544 PyObject * obj0 = 0 ;
1545 char *kwnames[] = {
1546 (char *) "self",(char *) "x",(char *) "y", NULL
1547 };
1548
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1551 {
1552 PyThreadState* __tstate = wxPyBeginAllowThreads();
1553 (arg1)->SetMargins(arg2,arg3);
1554
1555 wxPyEndAllowThreads(__tstate);
1556 if (PyErr_Occurred()) SWIG_fail;
1557 }
1558 Py_INCREF(Py_None); resultobj = Py_None;
1559 return resultobj;
1560 fail:
1561 return NULL;
1562 }
1563
1564
1565 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject *resultobj;
1567 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1568 int result;
1569 PyObject * obj0 = 0 ;
1570 char *kwnames[] = {
1571 (char *) "self", NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1576 {
1577 PyThreadState* __tstate = wxPyBeginAllowThreads();
1578 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1579
1580 wxPyEndAllowThreads(__tstate);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 resultobj = PyInt_FromLong((long)result);
1584 return resultobj;
1585 fail:
1586 return NULL;
1587 }
1588
1589
1590 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1593 int result;
1594 PyObject * obj0 = 0 ;
1595 char *kwnames[] = {
1596 (char *) "self", NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1601 {
1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
1603 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1604
1605 wxPyEndAllowThreads(__tstate);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 resultobj = PyInt_FromLong((long)result);
1609 return resultobj;
1610 fail:
1611 return NULL;
1612 }
1613
1614
1615 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1616 PyObject *obj;
1617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1618 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1619 Py_INCREF(obj);
1620 return Py_BuildValue((char *)"");
1621 }
1622 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1623 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1624 return 1;
1625 }
1626
1627
1628 static PyObject *_wrap_CheckBoxNameStr_get() {
1629 PyObject *pyobj;
1630
1631 {
1632 #if wxUSE_UNICODE
1633 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1634 #else
1635 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1636 #endif
1637 }
1638 return pyobj;
1639 }
1640
1641
1642 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 wxWindow *arg1 = (wxWindow *) 0 ;
1645 int arg2 ;
1646 wxString *arg3 = 0 ;
1647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1649 wxSize const &arg5_defvalue = wxDefaultSize ;
1650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1651 long arg6 = (long) 0 ;
1652 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1653 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1654 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1655 wxString *arg8 = (wxString *) &arg8_defvalue ;
1656 wxCheckBox *result;
1657 bool temp3 = False ;
1658 wxPoint temp4 ;
1659 wxSize temp5 ;
1660 bool temp8 = False ;
1661 PyObject * obj0 = 0 ;
1662 PyObject * obj2 = 0 ;
1663 PyObject * obj3 = 0 ;
1664 PyObject * obj4 = 0 ;
1665 PyObject * obj6 = 0 ;
1666 PyObject * obj7 = 0 ;
1667 char *kwnames[] = {
1668 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1669 };
1670
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 {
1674 arg3 = wxString_in_helper(obj2);
1675 if (arg3 == NULL) SWIG_fail;
1676 temp3 = True;
1677 }
1678 if (obj3) {
1679 {
1680 arg4 = &temp4;
1681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1682 }
1683 }
1684 if (obj4) {
1685 {
1686 arg5 = &temp5;
1687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1688 }
1689 }
1690 if (obj6) {
1691 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 if (arg7 == NULL) {
1693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1694 }
1695 }
1696 if (obj7) {
1697 {
1698 arg8 = wxString_in_helper(obj7);
1699 if (arg8 == NULL) SWIG_fail;
1700 temp8 = True;
1701 }
1702 }
1703 {
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1711 {
1712 if (temp3)
1713 delete arg3;
1714 }
1715 {
1716 if (temp8)
1717 delete arg8;
1718 }
1719 return resultobj;
1720 fail:
1721 {
1722 if (temp3)
1723 delete arg3;
1724 }
1725 {
1726 if (temp8)
1727 delete arg8;
1728 }
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxCheckBox *result;
1736 char *kwnames[] = {
1737 NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 result = (wxCheckBox *)new wxCheckBox();
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1758 wxWindow *arg2 = (wxWindow *) 0 ;
1759 int arg3 ;
1760 wxString *arg4 = 0 ;
1761 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1762 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1763 wxSize const &arg6_defvalue = wxDefaultSize ;
1764 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1765 long arg7 = (long) 0 ;
1766 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1767 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1768 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1769 wxString *arg9 = (wxString *) &arg9_defvalue ;
1770 bool result;
1771 bool temp4 = False ;
1772 wxPoint temp5 ;
1773 wxSize temp6 ;
1774 bool temp9 = False ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 PyObject * obj3 = 0 ;
1778 PyObject * obj4 = 0 ;
1779 PyObject * obj5 = 0 ;
1780 PyObject * obj7 = 0 ;
1781 PyObject * obj8 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1789 {
1790 arg4 = wxString_in_helper(obj3);
1791 if (arg4 == NULL) SWIG_fail;
1792 temp4 = True;
1793 }
1794 if (obj4) {
1795 {
1796 arg5 = &temp5;
1797 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1798 }
1799 }
1800 if (obj5) {
1801 {
1802 arg6 = &temp6;
1803 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1804 }
1805 }
1806 if (obj7) {
1807 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 if (arg8 == NULL) {
1809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1810 }
1811 }
1812 if (obj8) {
1813 {
1814 arg9 = wxString_in_helper(obj8);
1815 if (arg9 == NULL) SWIG_fail;
1816 temp9 = True;
1817 }
1818 }
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 resultobj = PyInt_FromLong((long)result);
1827 {
1828 if (temp4)
1829 delete arg4;
1830 }
1831 {
1832 if (temp9)
1833 delete arg9;
1834 }
1835 return resultobj;
1836 fail:
1837 {
1838 if (temp4)
1839 delete arg4;
1840 }
1841 {
1842 if (temp9)
1843 delete arg9;
1844 }
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1852 bool result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1860 {
1861 PyThreadState* __tstate = wxPyBeginAllowThreads();
1862 result = (bool)(arg1)->GetValue();
1863
1864 wxPyEndAllowThreads(__tstate);
1865 if (PyErr_Occurred()) SWIG_fail;
1866 }
1867 resultobj = PyInt_FromLong((long)result);
1868 return resultobj;
1869 fail:
1870 return NULL;
1871 }
1872
1873
1874 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject *resultobj;
1876 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1877 bool result;
1878 PyObject * obj0 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 result = (bool)(arg1)->IsChecked();
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 }
1892 resultobj = PyInt_FromLong((long)result);
1893 return resultobj;
1894 fail:
1895 return NULL;
1896 }
1897
1898
1899 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1902 bool arg2 ;
1903 PyObject * obj0 = 0 ;
1904 PyObject * obj1 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self",(char *) "state", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 arg2 = PyInt_AsLong(obj1) ? true : false;
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->SetValue(arg2);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 Py_INCREF(Py_None); resultobj = Py_None;
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1930 int result;
1931 PyObject * obj0 = 0 ;
1932 char *kwnames[] = {
1933 (char *) "self", NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 resultobj = PyInt_FromLong((long)result);
1946 return resultobj;
1947 fail:
1948 return NULL;
1949 }
1950
1951
1952 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1955 int arg2 ;
1956 PyObject * obj0 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "state", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1980 bool result;
1981 PyObject * obj0 = 0 ;
1982 char *kwnames[] = {
1983 (char *) "self", NULL
1984 };
1985
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
1995 resultobj = PyInt_FromLong((long)result);
1996 return resultobj;
1997 fail:
1998 return NULL;
1999 }
2000
2001
2002 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2005 bool result;
2006 PyObject * obj0 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 resultobj = PyInt_FromLong((long)result);
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2028 PyObject *obj;
2029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2030 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2031 Py_INCREF(obj);
2032 return Py_BuildValue((char *)"");
2033 }
2034 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2035 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2036 return 1;
2037 }
2038
2039
2040 static PyObject *_wrap_ChoiceNameStr_get() {
2041 PyObject *pyobj;
2042
2043 {
2044 #if wxUSE_UNICODE
2045 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2046 #else
2047 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2048 #endif
2049 }
2050 return pyobj;
2051 }
2052
2053
2054 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject *resultobj;
2056 wxWindow *arg1 = (wxWindow *) 0 ;
2057 int arg2 ;
2058 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2059 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2060 wxSize const &arg4_defvalue = wxDefaultSize ;
2061 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2062 int arg5 = (int) 0 ;
2063 wxString *arg6 = (wxString *) NULL ;
2064 long arg7 = (long) 0 ;
2065 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2066 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2067 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2068 wxString *arg9 = (wxString *) &arg9_defvalue ;
2069 wxChoice *result;
2070 wxPoint temp3 ;
2071 wxSize temp4 ;
2072 bool temp8 = False ;
2073 PyObject * obj0 = 0 ;
2074 PyObject * obj2 = 0 ;
2075 PyObject * obj3 = 0 ;
2076 PyObject * obj4 = 0 ;
2077 PyObject * obj6 = 0 ;
2078 PyObject * obj7 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2085 if (obj2) {
2086 {
2087 arg3 = &temp3;
2088 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2089 }
2090 }
2091 if (obj3) {
2092 {
2093 arg4 = &temp4;
2094 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2095 }
2096 }
2097 if (obj4) {
2098 {
2099 arg5 = PyList_Size(obj4);
2100 arg6 = wxString_LIST_helper(obj4);
2101 if (arg6 == NULL) SWIG_fail;
2102 }
2103 }
2104 if (obj6) {
2105 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2106 if (arg8 == NULL) {
2107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2108 }
2109 }
2110 if (obj7) {
2111 {
2112 arg9 = wxString_in_helper(obj7);
2113 if (arg9 == NULL) SWIG_fail;
2114 temp8 = True;
2115 }
2116 }
2117 {
2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
2119 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2120
2121 wxPyEndAllowThreads(__tstate);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
2124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2125 {
2126 if (arg6) delete [] arg6;
2127 }
2128 {
2129 if (temp8)
2130 delete arg9;
2131 }
2132 return resultobj;
2133 fail:
2134 {
2135 if (arg6) delete [] arg6;
2136 }
2137 {
2138 if (temp8)
2139 delete arg9;
2140 }
2141 return NULL;
2142 }
2143
2144
2145 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2146 PyObject *resultobj;
2147 wxChoice *result;
2148 char *kwnames[] = {
2149 NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2153 {
2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
2155 result = (wxChoice *)new wxChoice();
2156
2157 wxPyEndAllowThreads(__tstate);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2161 return resultobj;
2162 fail:
2163 return NULL;
2164 }
2165
2166
2167 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2168 PyObject *resultobj;
2169 wxChoice *arg1 = (wxChoice *) 0 ;
2170 wxWindow *arg2 = (wxWindow *) 0 ;
2171 int arg3 ;
2172 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2173 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2174 wxSize const &arg5_defvalue = wxDefaultSize ;
2175 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2176 int arg6 = (int) 0 ;
2177 wxString *arg7 = (wxString *) NULL ;
2178 long arg8 = (long) 0 ;
2179 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2180 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2181 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2182 wxString *arg10 = (wxString *) &arg10_defvalue ;
2183 bool result;
2184 wxPoint temp4 ;
2185 wxSize temp5 ;
2186 bool temp9 = False ;
2187 PyObject * obj0 = 0 ;
2188 PyObject * obj1 = 0 ;
2189 PyObject * obj3 = 0 ;
2190 PyObject * obj4 = 0 ;
2191 PyObject * obj5 = 0 ;
2192 PyObject * obj7 = 0 ;
2193 PyObject * obj8 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2201 if (obj3) {
2202 {
2203 arg4 = &temp4;
2204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2205 }
2206 }
2207 if (obj4) {
2208 {
2209 arg5 = &temp5;
2210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2211 }
2212 }
2213 if (obj5) {
2214 {
2215 arg6 = PyList_Size(obj5);
2216 arg7 = wxString_LIST_helper(obj5);
2217 if (arg7 == NULL) SWIG_fail;
2218 }
2219 }
2220 if (obj7) {
2221 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2222 if (arg9 == NULL) {
2223 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2224 }
2225 }
2226 if (obj8) {
2227 {
2228 arg10 = wxString_in_helper(obj8);
2229 if (arg10 == NULL) SWIG_fail;
2230 temp9 = True;
2231 }
2232 }
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 resultobj = PyInt_FromLong((long)result);
2241 {
2242 if (arg7) delete [] arg7;
2243 }
2244 {
2245 if (temp9)
2246 delete arg10;
2247 }
2248 return resultobj;
2249 fail:
2250 {
2251 if (arg7) delete [] arg7;
2252 }
2253 {
2254 if (temp9)
2255 delete arg10;
2256 }
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 wxChoice *arg1 = (wxChoice *) 0 ;
2264 int result;
2265 PyObject * obj0 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 result = (int)(arg1)->GetColumns();
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
2279 resultobj = PyInt_FromLong((long)result);
2280 return resultobj;
2281 fail:
2282 return NULL;
2283 }
2284
2285
2286 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2287 PyObject *resultobj;
2288 wxChoice *arg1 = (wxChoice *) 0 ;
2289 int arg2 = (int) (int)1 ;
2290 PyObject * obj0 = 0 ;
2291 char *kwnames[] = {
2292 (char *) "self",(char *) "n", NULL
2293 };
2294
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 (arg1)->SetColumns(arg2);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308 }
2309
2310
2311 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxChoice *arg1 = (wxChoice *) 0 ;
2314 int arg2 ;
2315 PyObject * obj0 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self",(char *) "n", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 (arg1)->SetSelection(arg2);
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
2329 Py_INCREF(Py_None); resultobj = Py_None;
2330 return resultobj;
2331 fail:
2332 return NULL;
2333 }
2334
2335
2336 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2337 PyObject *resultobj;
2338 wxChoice *arg1 = (wxChoice *) 0 ;
2339 wxString *arg2 = 0 ;
2340 bool temp2 = False ;
2341 PyObject * obj0 = 0 ;
2342 PyObject * obj1 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "self",(char *) "string", NULL
2345 };
2346
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2349 {
2350 arg2 = wxString_in_helper(obj1);
2351 if (arg2 == NULL) SWIG_fail;
2352 temp2 = True;
2353 }
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 (arg1)->SetStringSelection((wxString const &)*arg2);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 Py_INCREF(Py_None); resultobj = Py_None;
2362 {
2363 if (temp2)
2364 delete arg2;
2365 }
2366 return resultobj;
2367 fail:
2368 {
2369 if (temp2)
2370 delete arg2;
2371 }
2372 return NULL;
2373 }
2374
2375
2376 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject *resultobj;
2378 wxChoice *arg1 = (wxChoice *) 0 ;
2379 int arg2 ;
2380 wxString *arg3 = 0 ;
2381 bool temp3 = False ;
2382 PyObject * obj0 = 0 ;
2383 PyObject * obj2 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "n",(char *) "s", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2390 {
2391 arg3 = wxString_in_helper(obj2);
2392 if (arg3 == NULL) SWIG_fail;
2393 temp3 = True;
2394 }
2395 {
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 (arg1)->SetString(arg2,(wxString const &)*arg3);
2398
2399 wxPyEndAllowThreads(__tstate);
2400 if (PyErr_Occurred()) SWIG_fail;
2401 }
2402 Py_INCREF(Py_None); resultobj = Py_None;
2403 {
2404 if (temp3)
2405 delete arg3;
2406 }
2407 return resultobj;
2408 fail:
2409 {
2410 if (temp3)
2411 delete arg3;
2412 }
2413 return NULL;
2414 }
2415
2416
2417 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2418 PyObject *obj;
2419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2420 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2421 Py_INCREF(obj);
2422 return Py_BuildValue((char *)"");
2423 }
2424 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2425 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2426 return 1;
2427 }
2428
2429
2430 static PyObject *_wrap_ComboBoxNameStr_get() {
2431 PyObject *pyobj;
2432
2433 {
2434 #if wxUSE_UNICODE
2435 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2436 #else
2437 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2438 #endif
2439 }
2440 return pyobj;
2441 }
2442
2443
2444 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject *resultobj;
2446 wxWindow *arg1 = (wxWindow *) 0 ;
2447 int arg2 ;
2448 wxString const &arg3_defvalue = wxPyEmptyString ;
2449 wxString *arg3 = (wxString *) &arg3_defvalue ;
2450 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2451 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2452 wxSize const &arg5_defvalue = wxDefaultSize ;
2453 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2454 int arg6 = (int) 0 ;
2455 wxString *arg7 = (wxString *) NULL ;
2456 long arg8 = (long) 0 ;
2457 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2458 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2459 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2460 wxString *arg10 = (wxString *) &arg10_defvalue ;
2461 wxComboBox *result;
2462 bool temp3 = False ;
2463 wxPoint temp4 ;
2464 wxSize temp5 ;
2465 bool temp9 = False ;
2466 PyObject * obj0 = 0 ;
2467 PyObject * obj2 = 0 ;
2468 PyObject * obj3 = 0 ;
2469 PyObject * obj4 = 0 ;
2470 PyObject * obj5 = 0 ;
2471 PyObject * obj7 = 0 ;
2472 PyObject * obj8 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2479 if (obj2) {
2480 {
2481 arg3 = wxString_in_helper(obj2);
2482 if (arg3 == NULL) SWIG_fail;
2483 temp3 = True;
2484 }
2485 }
2486 if (obj3) {
2487 {
2488 arg4 = &temp4;
2489 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2490 }
2491 }
2492 if (obj4) {
2493 {
2494 arg5 = &temp5;
2495 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2496 }
2497 }
2498 if (obj5) {
2499 {
2500 arg6 = PyList_Size(obj5);
2501 arg7 = wxString_LIST_helper(obj5);
2502 if (arg7 == NULL) SWIG_fail;
2503 }
2504 }
2505 if (obj7) {
2506 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2507 if (arg9 == NULL) {
2508 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2509 }
2510 }
2511 if (obj8) {
2512 {
2513 arg10 = wxString_in_helper(obj8);
2514 if (arg10 == NULL) SWIG_fail;
2515 temp9 = True;
2516 }
2517 }
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2521
2522 wxPyEndAllowThreads(__tstate);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2526 {
2527 if (temp3)
2528 delete arg3;
2529 }
2530 {
2531 if (arg7) delete [] arg7;
2532 }
2533 {
2534 if (temp9)
2535 delete arg10;
2536 }
2537 return resultobj;
2538 fail:
2539 {
2540 if (temp3)
2541 delete arg3;
2542 }
2543 {
2544 if (arg7) delete [] arg7;
2545 }
2546 {
2547 if (temp9)
2548 delete arg10;
2549 }
2550 return NULL;
2551 }
2552
2553
2554 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxComboBox *result;
2557 char *kwnames[] = {
2558 NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 result = (wxComboBox *)new wxComboBox();
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2570 return resultobj;
2571 fail:
2572 return NULL;
2573 }
2574
2575
2576 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxComboBox *arg1 = (wxComboBox *) 0 ;
2579 wxWindow *arg2 = (wxWindow *) 0 ;
2580 int arg3 ;
2581 wxString const &arg4_defvalue = wxPyEmptyString ;
2582 wxString *arg4 = (wxString *) &arg4_defvalue ;
2583 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2584 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2585 wxSize const &arg6_defvalue = wxDefaultSize ;
2586 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2587 int arg7 = (int) 0 ;
2588 wxString *arg8 = (wxString *) NULL ;
2589 long arg9 = (long) 0 ;
2590 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2591 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2592 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2593 wxString *arg11 = (wxString *) &arg11_defvalue ;
2594 bool result;
2595 bool temp4 = False ;
2596 wxPoint temp5 ;
2597 wxSize temp6 ;
2598 bool temp10 = False ;
2599 PyObject * obj0 = 0 ;
2600 PyObject * obj1 = 0 ;
2601 PyObject * obj3 = 0 ;
2602 PyObject * obj4 = 0 ;
2603 PyObject * obj5 = 0 ;
2604 PyObject * obj6 = 0 ;
2605 PyObject * obj8 = 0 ;
2606 PyObject * obj9 = 0 ;
2607 char *kwnames[] = {
2608 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2609 };
2610
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 if (obj3) {
2615 {
2616 arg4 = wxString_in_helper(obj3);
2617 if (arg4 == NULL) SWIG_fail;
2618 temp4 = True;
2619 }
2620 }
2621 if (obj4) {
2622 {
2623 arg5 = &temp5;
2624 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2625 }
2626 }
2627 if (obj5) {
2628 {
2629 arg6 = &temp6;
2630 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2631 }
2632 }
2633 if (obj6) {
2634 {
2635 arg7 = PyList_Size(obj6);
2636 arg8 = wxString_LIST_helper(obj6);
2637 if (arg8 == NULL) SWIG_fail;
2638 }
2639 }
2640 if (obj8) {
2641 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2642 if (arg10 == NULL) {
2643 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2644 }
2645 }
2646 if (obj9) {
2647 {
2648 arg11 = wxString_in_helper(obj9);
2649 if (arg11 == NULL) SWIG_fail;
2650 temp10 = True;
2651 }
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 resultobj = PyInt_FromLong((long)result);
2661 {
2662 if (temp4)
2663 delete arg4;
2664 }
2665 {
2666 if (arg8) delete [] arg8;
2667 }
2668 {
2669 if (temp10)
2670 delete arg11;
2671 }
2672 return resultobj;
2673 fail:
2674 {
2675 if (temp4)
2676 delete arg4;
2677 }
2678 {
2679 if (arg8) delete [] arg8;
2680 }
2681 {
2682 if (temp10)
2683 delete arg11;
2684 }
2685 return NULL;
2686 }
2687
2688
2689 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2690 PyObject *resultobj;
2691 wxComboBox *arg1 = (wxComboBox *) 0 ;
2692 wxString result;
2693 PyObject * obj0 = 0 ;
2694 char *kwnames[] = {
2695 (char *) "self", NULL
2696 };
2697
2698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2700 {
2701 PyThreadState* __tstate = wxPyBeginAllowThreads();
2702 result = ((wxComboBox const *)arg1)->GetValue();
2703
2704 wxPyEndAllowThreads(__tstate);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 {
2708 #if wxUSE_UNICODE
2709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2710 #else
2711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2712 #endif
2713 }
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxComboBox *arg1 = (wxComboBox *) 0 ;
2723 wxString *arg2 = 0 ;
2724 bool temp2 = False ;
2725 PyObject * obj0 = 0 ;
2726 PyObject * obj1 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self",(char *) "value", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2733 {
2734 arg2 = wxString_in_helper(obj1);
2735 if (arg2 == NULL) SWIG_fail;
2736 temp2 = True;
2737 }
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 (arg1)->SetValue((wxString const &)*arg2);
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 Py_INCREF(Py_None); resultobj = Py_None;
2746 {
2747 if (temp2)
2748 delete arg2;
2749 }
2750 return resultobj;
2751 fail:
2752 {
2753 if (temp2)
2754 delete arg2;
2755 }
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxComboBox *arg1 = (wxComboBox *) 0 ;
2763 PyObject * obj0 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 (arg1)->Copy();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 Py_INCREF(Py_None); resultobj = Py_None;
2778 return resultobj;
2779 fail:
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxComboBox *arg1 = (wxComboBox *) 0 ;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2794 {
2795 PyThreadState* __tstate = wxPyBeginAllowThreads();
2796 (arg1)->Cut();
2797
2798 wxPyEndAllowThreads(__tstate);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 Py_INCREF(Py_None); resultobj = Py_None;
2802 return resultobj;
2803 fail:
2804 return NULL;
2805 }
2806
2807
2808 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2809 PyObject *resultobj;
2810 wxComboBox *arg1 = (wxComboBox *) 0 ;
2811 PyObject * obj0 = 0 ;
2812 char *kwnames[] = {
2813 (char *) "self", NULL
2814 };
2815
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 (arg1)->Paste();
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 Py_INCREF(Py_None); resultobj = Py_None;
2826 return resultobj;
2827 fail:
2828 return NULL;
2829 }
2830
2831
2832 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj;
2834 wxComboBox *arg1 = (wxComboBox *) 0 ;
2835 long arg2 ;
2836 PyObject * obj0 = 0 ;
2837 char *kwnames[] = {
2838 (char *) "self",(char *) "pos", NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->SetInsertionPoint(arg2);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 return resultobj;
2852 fail:
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxComboBox *arg1 = (wxComboBox *) 0 ;
2860 long result;
2861 PyObject * obj0 = 0 ;
2862 char *kwnames[] = {
2863 (char *) "self", NULL
2864 };
2865
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 resultobj = PyInt_FromLong((long)result);
2876 return resultobj;
2877 fail:
2878 return NULL;
2879 }
2880
2881
2882 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2883 PyObject *resultobj;
2884 wxComboBox *arg1 = (wxComboBox *) 0 ;
2885 long result;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 resultobj = PyInt_FromLong((long)result);
2901 return resultobj;
2902 fail:
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxComboBox *arg1 = (wxComboBox *) 0 ;
2910 long arg2 ;
2911 long arg3 ;
2912 wxString *arg4 = 0 ;
2913 bool temp4 = False ;
2914 PyObject * obj0 = 0 ;
2915 PyObject * obj3 = 0 ;
2916 char *kwnames[] = {
2917 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2918 };
2919
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2922 {
2923 arg4 = wxString_in_helper(obj3);
2924 if (arg4 == NULL) SWIG_fail;
2925 temp4 = True;
2926 }
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 Py_INCREF(Py_None); resultobj = Py_None;
2935 {
2936 if (temp4)
2937 delete arg4;
2938 }
2939 return resultobj;
2940 fail:
2941 {
2942 if (temp4)
2943 delete arg4;
2944 }
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxComboBox *arg1 = (wxComboBox *) 0 ;
2952 int arg2 ;
2953 PyObject * obj0 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "n", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 (arg1)->SetSelection(arg2);
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 Py_INCREF(Py_None); resultobj = Py_None;
2968 return resultobj;
2969 fail:
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj;
2976 wxComboBox *arg1 = (wxComboBox *) 0 ;
2977 long arg2 ;
2978 long arg3 ;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self",(char *) "from",(char *) "to", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) 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)->SetSelection(arg2,arg3);
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_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxComboBox *arg1 = (wxComboBox *) 0 ;
3003 bool arg2 ;
3004 PyObject * obj0 = 0 ;
3005 PyObject * obj1 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self",(char *) "editable", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3012 arg2 = PyInt_AsLong(obj1) ? true : false;
3013 if (PyErr_Occurred()) SWIG_fail;
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->SetEditable(arg2);
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 return resultobj;
3023 fail:
3024 return NULL;
3025 }
3026
3027
3028 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3029 PyObject *resultobj;
3030 wxComboBox *arg1 = (wxComboBox *) 0 ;
3031 PyObject * obj0 = 0 ;
3032 char *kwnames[] = {
3033 (char *) "self", NULL
3034 };
3035
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 (arg1)->SetInsertionPointEnd();
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) SWIG_fail;
3044 }
3045 Py_INCREF(Py_None); resultobj = Py_None;
3046 return resultobj;
3047 fail:
3048 return NULL;
3049 }
3050
3051
3052 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject *resultobj;
3054 wxComboBox *arg1 = (wxComboBox *) 0 ;
3055 long arg2 ;
3056 long arg3 ;
3057 PyObject * obj0 = 0 ;
3058 char *kwnames[] = {
3059 (char *) "self",(char *) "from",(char *) "to", NULL
3060 };
3061
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 (arg1)->Remove(arg2,arg3);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 Py_INCREF(Py_None); resultobj = Py_None;
3072 return resultobj;
3073 fail:
3074 return NULL;
3075 }
3076
3077
3078 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3079 PyObject *obj;
3080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3081 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3082 Py_INCREF(obj);
3083 return Py_BuildValue((char *)"");
3084 }
3085 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3086 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3087 return 1;
3088 }
3089
3090
3091 static PyObject *_wrap_GaugeNameStr_get() {
3092 PyObject *pyobj;
3093
3094 {
3095 #if wxUSE_UNICODE
3096 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3097 #else
3098 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3099 #endif
3100 }
3101 return pyobj;
3102 }
3103
3104
3105 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3106 PyObject *resultobj;
3107 wxWindow *arg1 = (wxWindow *) 0 ;
3108 int arg2 ;
3109 int arg3 ;
3110 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3111 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3112 wxSize const &arg5_defvalue = wxDefaultSize ;
3113 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3114 long arg6 = (long) wxGA_HORIZONTAL ;
3115 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3116 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3117 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3118 wxString *arg8 = (wxString *) &arg8_defvalue ;
3119 wxGauge *result;
3120 wxPoint temp4 ;
3121 wxSize temp5 ;
3122 bool temp8 = False ;
3123 PyObject * obj0 = 0 ;
3124 PyObject * obj3 = 0 ;
3125 PyObject * obj4 = 0 ;
3126 PyObject * obj6 = 0 ;
3127 PyObject * obj7 = 0 ;
3128 char *kwnames[] = {
3129 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3130 };
3131
3132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3134 if (obj3) {
3135 {
3136 arg4 = &temp4;
3137 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3138 }
3139 }
3140 if (obj4) {
3141 {
3142 arg5 = &temp5;
3143 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3144 }
3145 }
3146 if (obj6) {
3147 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3148 if (arg7 == NULL) {
3149 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3150 }
3151 }
3152 if (obj7) {
3153 {
3154 arg8 = wxString_in_helper(obj7);
3155 if (arg8 == NULL) SWIG_fail;
3156 temp8 = True;
3157 }
3158 }
3159 {
3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
3161 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3162
3163 wxPyEndAllowThreads(__tstate);
3164 if (PyErr_Occurred()) SWIG_fail;
3165 }
3166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3167 {
3168 if (temp8)
3169 delete arg8;
3170 }
3171 return resultobj;
3172 fail:
3173 {
3174 if (temp8)
3175 delete arg8;
3176 }
3177 return NULL;
3178 }
3179
3180
3181 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3182 PyObject *resultobj;
3183 wxGauge *result;
3184 char *kwnames[] = {
3185 NULL
3186 };
3187
3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 result = (wxGauge *)new wxGauge();
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
3196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3197 return resultobj;
3198 fail:
3199 return NULL;
3200 }
3201
3202
3203 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxGauge *arg1 = (wxGauge *) 0 ;
3206 wxWindow *arg2 = (wxWindow *) 0 ;
3207 int arg3 ;
3208 int arg4 ;
3209 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3210 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3211 wxSize const &arg6_defvalue = wxDefaultSize ;
3212 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3213 long arg7 = (long) wxGA_HORIZONTAL ;
3214 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3215 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3216 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3217 wxString *arg9 = (wxString *) &arg9_defvalue ;
3218 bool result;
3219 wxPoint temp5 ;
3220 wxSize temp6 ;
3221 bool temp9 = False ;
3222 PyObject * obj0 = 0 ;
3223 PyObject * obj1 = 0 ;
3224 PyObject * obj4 = 0 ;
3225 PyObject * obj5 = 0 ;
3226 PyObject * obj7 = 0 ;
3227 PyObject * obj8 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3235 if (obj4) {
3236 {
3237 arg5 = &temp5;
3238 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3239 }
3240 }
3241 if (obj5) {
3242 {
3243 arg6 = &temp6;
3244 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3245 }
3246 }
3247 if (obj7) {
3248 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3249 if (arg8 == NULL) {
3250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3251 }
3252 }
3253 if (obj8) {
3254 {
3255 arg9 = wxString_in_helper(obj8);
3256 if (arg9 == NULL) SWIG_fail;
3257 temp9 = True;
3258 }
3259 }
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3263
3264 wxPyEndAllowThreads(__tstate);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 }
3267 resultobj = PyInt_FromLong((long)result);
3268 {
3269 if (temp9)
3270 delete arg9;
3271 }
3272 return resultobj;
3273 fail:
3274 {
3275 if (temp9)
3276 delete arg9;
3277 }
3278 return NULL;
3279 }
3280
3281
3282 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj;
3284 wxGauge *arg1 = (wxGauge *) 0 ;
3285 int arg2 ;
3286 PyObject * obj0 = 0 ;
3287 char *kwnames[] = {
3288 (char *) "self",(char *) "range", NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 (arg1)->SetRange(arg2);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 Py_INCREF(Py_None); resultobj = Py_None;
3301 return resultobj;
3302 fail:
3303 return NULL;
3304 }
3305
3306
3307 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject *resultobj;
3309 wxGauge *arg1 = (wxGauge *) 0 ;
3310 int result;
3311 PyObject * obj0 = 0 ;
3312 char *kwnames[] = {
3313 (char *) "self", NULL
3314 };
3315
3316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (int)((wxGauge const *)arg1)->GetRange();
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 resultobj = PyInt_FromLong((long)result);
3326 return resultobj;
3327 fail:
3328 return NULL;
3329 }
3330
3331
3332 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3333 PyObject *resultobj;
3334 wxGauge *arg1 = (wxGauge *) 0 ;
3335 int arg2 ;
3336 PyObject * obj0 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self",(char *) "pos", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3343 {
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
3345 (arg1)->SetValue(arg2);
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
3350 Py_INCREF(Py_None); resultobj = Py_None;
3351 return resultobj;
3352 fail:
3353 return NULL;
3354 }
3355
3356
3357 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject *resultobj;
3359 wxGauge *arg1 = (wxGauge *) 0 ;
3360 int result;
3361 PyObject * obj0 = 0 ;
3362 char *kwnames[] = {
3363 (char *) "self", NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3368 {
3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
3370 result = (int)((wxGauge const *)arg1)->GetValue();
3371
3372 wxPyEndAllowThreads(__tstate);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 resultobj = PyInt_FromLong((long)result);
3376 return resultobj;
3377 fail:
3378 return NULL;
3379 }
3380
3381
3382 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3383 PyObject *resultobj;
3384 wxGauge *arg1 = (wxGauge *) 0 ;
3385 bool result;
3386 PyObject * obj0 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self", NULL
3389 };
3390
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 result = (bool)((wxGauge const *)arg1)->IsVertical();
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 resultobj = PyInt_FromLong((long)result);
3401 return resultobj;
3402 fail:
3403 return NULL;
3404 }
3405
3406
3407 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj;
3409 wxGauge *arg1 = (wxGauge *) 0 ;
3410 int arg2 ;
3411 PyObject * obj0 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "w", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SetShadowWidth(arg2);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxGauge *arg1 = (wxGauge *) 0 ;
3435 int result;
3436 PyObject * obj0 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 resultobj = PyInt_FromLong((long)result);
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxGauge *arg1 = (wxGauge *) 0 ;
3460 int arg2 ;
3461 PyObject * obj0 = 0 ;
3462 char *kwnames[] = {
3463 (char *) "self",(char *) "w", NULL
3464 };
3465
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->SetBezelFace(arg2);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 Py_INCREF(Py_None); resultobj = Py_None;
3476 return resultobj;
3477 fail:
3478 return NULL;
3479 }
3480
3481
3482 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxGauge *arg1 = (wxGauge *) 0 ;
3485 int result;
3486 PyObject * obj0 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "self", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 resultobj = PyInt_FromLong((long)result);
3501 return resultobj;
3502 fail:
3503 return NULL;
3504 }
3505
3506
3507 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3508 PyObject *obj;
3509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3510 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3511 Py_INCREF(obj);
3512 return Py_BuildValue((char *)"");
3513 }
3514 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3515 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3516 return 1;
3517 }
3518
3519
3520 static PyObject *_wrap_StaticBitmapNameStr_get() {
3521 PyObject *pyobj;
3522
3523 {
3524 #if wxUSE_UNICODE
3525 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3526 #else
3527 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3528 #endif
3529 }
3530 return pyobj;
3531 }
3532
3533
3534 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3535 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3536 return 1;
3537 }
3538
3539
3540 static PyObject *_wrap_StaticBoxNameStr_get() {
3541 PyObject *pyobj;
3542
3543 {
3544 #if wxUSE_UNICODE
3545 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3546 #else
3547 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3548 #endif
3549 }
3550 return pyobj;
3551 }
3552
3553
3554 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3555 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3556 return 1;
3557 }
3558
3559
3560 static PyObject *_wrap_StaticTextNameStr_get() {
3561 PyObject *pyobj;
3562
3563 {
3564 #if wxUSE_UNICODE
3565 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3566 #else
3567 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3568 #endif
3569 }
3570 return pyobj;
3571 }
3572
3573
3574 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject *resultobj;
3576 wxWindow *arg1 = (wxWindow *) 0 ;
3577 int arg2 ;
3578 wxString *arg3 = 0 ;
3579 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3580 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3581 wxSize const &arg5_defvalue = wxDefaultSize ;
3582 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3583 long arg6 = (long) 0 ;
3584 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3585 wxString *arg7 = (wxString *) &arg7_defvalue ;
3586 wxStaticBox *result;
3587 bool temp3 = False ;
3588 wxPoint temp4 ;
3589 wxSize temp5 ;
3590 bool temp7 = False ;
3591 PyObject * obj0 = 0 ;
3592 PyObject * obj2 = 0 ;
3593 PyObject * obj3 = 0 ;
3594 PyObject * obj4 = 0 ;
3595 PyObject * obj6 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3602 {
3603 arg3 = wxString_in_helper(obj2);
3604 if (arg3 == NULL) SWIG_fail;
3605 temp3 = True;
3606 }
3607 if (obj3) {
3608 {
3609 arg4 = &temp4;
3610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3611 }
3612 }
3613 if (obj4) {
3614 {
3615 arg5 = &temp5;
3616 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3617 }
3618 }
3619 if (obj6) {
3620 {
3621 arg7 = wxString_in_helper(obj6);
3622 if (arg7 == NULL) SWIG_fail;
3623 temp7 = True;
3624 }
3625 }
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 {
3634 resultobj = wxPyMake_wxObject(result);
3635 }
3636 {
3637 if (temp3)
3638 delete arg3;
3639 }
3640 {
3641 if (temp7)
3642 delete arg7;
3643 }
3644 return resultobj;
3645 fail:
3646 {
3647 if (temp3)
3648 delete arg3;
3649 }
3650 {
3651 if (temp7)
3652 delete arg7;
3653 }
3654 return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxStaticBox *result;
3661 char *kwnames[] = {
3662 NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 result = (wxStaticBox *)new wxStaticBox();
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 {
3674 resultobj = wxPyMake_wxObject(result);
3675 }
3676 return resultobj;
3677 fail:
3678 return NULL;
3679 }
3680
3681
3682 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3685 wxWindow *arg2 = (wxWindow *) 0 ;
3686 int arg3 ;
3687 wxString *arg4 = 0 ;
3688 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3689 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3690 wxSize const &arg6_defvalue = wxDefaultSize ;
3691 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3692 long arg7 = (long) 0 ;
3693 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3694 wxString *arg8 = (wxString *) &arg8_defvalue ;
3695 bool result;
3696 bool temp4 = False ;
3697 wxPoint temp5 ;
3698 wxSize temp6 ;
3699 bool temp8 = False ;
3700 PyObject * obj0 = 0 ;
3701 PyObject * obj1 = 0 ;
3702 PyObject * obj3 = 0 ;
3703 PyObject * obj4 = 0 ;
3704 PyObject * obj5 = 0 ;
3705 PyObject * obj7 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3713 {
3714 arg4 = wxString_in_helper(obj3);
3715 if (arg4 == NULL) SWIG_fail;
3716 temp4 = True;
3717 }
3718 if (obj4) {
3719 {
3720 arg5 = &temp5;
3721 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3722 }
3723 }
3724 if (obj5) {
3725 {
3726 arg6 = &temp6;
3727 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3728 }
3729 }
3730 if (obj7) {
3731 {
3732 arg8 = wxString_in_helper(obj7);
3733 if (arg8 == NULL) SWIG_fail;
3734 temp8 = True;
3735 }
3736 }
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3740
3741 wxPyEndAllowThreads(__tstate);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 }
3744 resultobj = PyInt_FromLong((long)result);
3745 {
3746 if (temp4)
3747 delete arg4;
3748 }
3749 {
3750 if (temp8)
3751 delete arg8;
3752 }
3753 return resultobj;
3754 fail:
3755 {
3756 if (temp4)
3757 delete arg4;
3758 }
3759 {
3760 if (temp8)
3761 delete arg8;
3762 }
3763 return NULL;
3764 }
3765
3766
3767 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3768 PyObject *obj;
3769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3770 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3771 Py_INCREF(obj);
3772 return Py_BuildValue((char *)"");
3773 }
3774 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxWindow *arg1 = (wxWindow *) 0 ;
3777 int arg2 ;
3778 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3779 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3780 wxSize const &arg4_defvalue = wxDefaultSize ;
3781 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3782 long arg5 = (long) wxLI_HORIZONTAL ;
3783 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3784 wxString *arg6 = (wxString *) &arg6_defvalue ;
3785 wxStaticLine *result;
3786 wxPoint temp3 ;
3787 wxSize temp4 ;
3788 bool temp6 = False ;
3789 PyObject * obj0 = 0 ;
3790 PyObject * obj2 = 0 ;
3791 PyObject * obj3 = 0 ;
3792 PyObject * obj5 = 0 ;
3793 char *kwnames[] = {
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3799 if (obj2) {
3800 {
3801 arg3 = &temp3;
3802 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3803 }
3804 }
3805 if (obj3) {
3806 {
3807 arg4 = &temp4;
3808 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3809 }
3810 }
3811 if (obj5) {
3812 {
3813 arg6 = wxString_in_helper(obj5);
3814 if (arg6 == NULL) SWIG_fail;
3815 temp6 = True;
3816 }
3817 }
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3826 {
3827 if (temp6)
3828 delete arg6;
3829 }
3830 return resultobj;
3831 fail:
3832 {
3833 if (temp6)
3834 delete arg6;
3835 }
3836 return NULL;
3837 }
3838
3839
3840 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 wxStaticLine *result;
3843 char *kwnames[] = {
3844 NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (wxStaticLine *)new wxStaticLine();
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3865 wxWindow *arg2 = (wxWindow *) 0 ;
3866 int arg3 ;
3867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3869 wxSize const &arg5_defvalue = wxDefaultSize ;
3870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3871 long arg6 = (long) wxLI_HORIZONTAL ;
3872 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3873 wxString *arg7 = (wxString *) &arg7_defvalue ;
3874 bool result;
3875 wxPoint temp4 ;
3876 wxSize temp5 ;
3877 bool temp7 = False ;
3878 PyObject * obj0 = 0 ;
3879 PyObject * obj1 = 0 ;
3880 PyObject * obj3 = 0 ;
3881 PyObject * obj4 = 0 ;
3882 PyObject * obj6 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3890 if (obj3) {
3891 {
3892 arg4 = &temp4;
3893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3894 }
3895 }
3896 if (obj4) {
3897 {
3898 arg5 = &temp5;
3899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3900 }
3901 }
3902 if (obj6) {
3903 {
3904 arg7 = wxString_in_helper(obj6);
3905 if (arg7 == NULL) SWIG_fail;
3906 temp7 = True;
3907 }
3908 }
3909 {
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3912
3913 wxPyEndAllowThreads(__tstate);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 resultobj = PyInt_FromLong((long)result);
3917 {
3918 if (temp7)
3919 delete arg7;
3920 }
3921 return resultobj;
3922 fail:
3923 {
3924 if (temp7)
3925 delete arg7;
3926 }
3927 return NULL;
3928 }
3929
3930
3931 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject *resultobj;
3933 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3934 bool result;
3935 PyObject * obj0 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "self", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 resultobj = PyInt_FromLong((long)result);
3950 return resultobj;
3951 fail:
3952 return NULL;
3953 }
3954
3955
3956 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 int result;
3959 char *kwnames[] = {
3960 NULL
3961 };
3962
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 result = (int)wxStaticLine::GetDefaultSize();
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 resultobj = PyInt_FromLong((long)result);
3972 return resultobj;
3973 fail:
3974 return NULL;
3975 }
3976
3977
3978 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3979 PyObject *obj;
3980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3981 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3982 Py_INCREF(obj);
3983 return Py_BuildValue((char *)"");
3984 }
3985 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxWindow *arg1 = (wxWindow *) 0 ;
3988 int arg2 ;
3989 wxString *arg3 = 0 ;
3990 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3991 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3992 wxSize const &arg5_defvalue = wxDefaultSize ;
3993 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3994 long arg6 = (long) 0 ;
3995 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3996 wxString *arg7 = (wxString *) &arg7_defvalue ;
3997 wxStaticText *result;
3998 bool temp3 = False ;
3999 wxPoint temp4 ;
4000 wxSize temp5 ;
4001 bool temp7 = False ;
4002 PyObject * obj0 = 0 ;
4003 PyObject * obj2 = 0 ;
4004 PyObject * obj3 = 0 ;
4005 PyObject * obj4 = 0 ;
4006 PyObject * obj6 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4013 {
4014 arg3 = wxString_in_helper(obj2);
4015 if (arg3 == NULL) SWIG_fail;
4016 temp3 = True;
4017 }
4018 if (obj3) {
4019 {
4020 arg4 = &temp4;
4021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4022 }
4023 }
4024 if (obj4) {
4025 {
4026 arg5 = &temp5;
4027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4028 }
4029 }
4030 if (obj6) {
4031 {
4032 arg7 = wxString_in_helper(obj6);
4033 if (arg7 == NULL) SWIG_fail;
4034 temp7 = True;
4035 }
4036 }
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4045 {
4046 if (temp3)
4047 delete arg3;
4048 }
4049 {
4050 if (temp7)
4051 delete arg7;
4052 }
4053 return resultobj;
4054 fail:
4055 {
4056 if (temp3)
4057 delete arg3;
4058 }
4059 {
4060 if (temp7)
4061 delete arg7;
4062 }
4063 return NULL;
4064 }
4065
4066
4067 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject *resultobj;
4069 wxStaticText *result;
4070 char *kwnames[] = {
4071 NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 result = (wxStaticText *)new wxStaticText();
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4083 return resultobj;
4084 fail:
4085 return NULL;
4086 }
4087
4088
4089 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj;
4091 wxStaticText *arg1 = (wxStaticText *) 0 ;
4092 wxWindow *arg2 = (wxWindow *) 0 ;
4093 int arg3 ;
4094 wxString *arg4 = 0 ;
4095 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4096 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4097 wxSize const &arg6_defvalue = wxDefaultSize ;
4098 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4099 long arg7 = (long) 0 ;
4100 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4101 wxString *arg8 = (wxString *) &arg8_defvalue ;
4102 bool result;
4103 bool temp4 = False ;
4104 wxPoint temp5 ;
4105 wxSize temp6 ;
4106 bool temp8 = False ;
4107 PyObject * obj0 = 0 ;
4108 PyObject * obj1 = 0 ;
4109 PyObject * obj3 = 0 ;
4110 PyObject * obj4 = 0 ;
4111 PyObject * obj5 = 0 ;
4112 PyObject * obj7 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4115 };
4116
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4120 {
4121 arg4 = wxString_in_helper(obj3);
4122 if (arg4 == NULL) SWIG_fail;
4123 temp4 = True;
4124 }
4125 if (obj4) {
4126 {
4127 arg5 = &temp5;
4128 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4129 }
4130 }
4131 if (obj5) {
4132 {
4133 arg6 = &temp6;
4134 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4135 }
4136 }
4137 if (obj7) {
4138 {
4139 arg8 = wxString_in_helper(obj7);
4140 if (arg8 == NULL) SWIG_fail;
4141 temp8 = True;
4142 }
4143 }
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4147
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 resultobj = PyInt_FromLong((long)result);
4152 {
4153 if (temp4)
4154 delete arg4;
4155 }
4156 {
4157 if (temp8)
4158 delete arg8;
4159 }
4160 return resultobj;
4161 fail:
4162 {
4163 if (temp4)
4164 delete arg4;
4165 }
4166 {
4167 if (temp8)
4168 delete arg8;
4169 }
4170 return NULL;
4171 }
4172
4173
4174 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4175 PyObject *obj;
4176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4177 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4178 Py_INCREF(obj);
4179 return Py_BuildValue((char *)"");
4180 }
4181 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj;
4183 wxWindow *arg1 = (wxWindow *) 0 ;
4184 int arg2 ;
4185 wxBitmap *arg3 = 0 ;
4186 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4187 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4188 wxSize const &arg5_defvalue = wxDefaultSize ;
4189 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4190 long arg6 = (long) 0 ;
4191 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4192 wxString *arg7 = (wxString *) &arg7_defvalue ;
4193 wxStaticBitmap *result;
4194 wxPoint temp4 ;
4195 wxSize temp5 ;
4196 bool temp7 = False ;
4197 PyObject * obj0 = 0 ;
4198 PyObject * obj2 = 0 ;
4199 PyObject * obj3 = 0 ;
4200 PyObject * obj4 = 0 ;
4201 PyObject * obj6 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4208 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 if (arg3 == NULL) {
4210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4211 }
4212 if (obj3) {
4213 {
4214 arg4 = &temp4;
4215 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4216 }
4217 }
4218 if (obj4) {
4219 {
4220 arg5 = &temp5;
4221 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4222 }
4223 }
4224 if (obj6) {
4225 {
4226 arg7 = wxString_in_helper(obj6);
4227 if (arg7 == NULL) SWIG_fail;
4228 temp7 = True;
4229 }
4230 }
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
4233 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4234
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4239 {
4240 if (temp7)
4241 delete arg7;
4242 }
4243 return resultobj;
4244 fail:
4245 {
4246 if (temp7)
4247 delete arg7;
4248 }
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxStaticBitmap *result;
4256 char *kwnames[] = {
4257 NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (wxStaticBitmap *)new wxStaticBitmap();
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4269 return resultobj;
4270 fail:
4271 return NULL;
4272 }
4273
4274
4275 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4278 wxWindow *arg2 = (wxWindow *) 0 ;
4279 int arg3 ;
4280 wxBitmap *arg4 = 0 ;
4281 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4282 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4283 wxSize const &arg6_defvalue = wxDefaultSize ;
4284 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4285 long arg7 = (long) 0 ;
4286 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4287 wxString *arg8 = (wxString *) &arg8_defvalue ;
4288 bool result;
4289 wxPoint temp5 ;
4290 wxSize temp6 ;
4291 bool temp8 = False ;
4292 PyObject * obj0 = 0 ;
4293 PyObject * obj1 = 0 ;
4294 PyObject * obj3 = 0 ;
4295 PyObject * obj4 = 0 ;
4296 PyObject * obj5 = 0 ;
4297 PyObject * obj7 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4305 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4306 if (arg4 == NULL) {
4307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4308 }
4309 if (obj4) {
4310 {
4311 arg5 = &temp5;
4312 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4313 }
4314 }
4315 if (obj5) {
4316 {
4317 arg6 = &temp6;
4318 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4319 }
4320 }
4321 if (obj7) {
4322 {
4323 arg8 = wxString_in_helper(obj7);
4324 if (arg8 == NULL) SWIG_fail;
4325 temp8 = True;
4326 }
4327 }
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 resultobj = PyInt_FromLong((long)result);
4336 {
4337 if (temp8)
4338 delete arg8;
4339 }
4340 return resultobj;
4341 fail:
4342 {
4343 if (temp8)
4344 delete arg8;
4345 }
4346 return NULL;
4347 }
4348
4349
4350 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4353 wxBitmap result;
4354 PyObject * obj0 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (arg1)->GetBitmap();
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 {
4369 wxBitmap * resultptr;
4370 resultptr = new wxBitmap((wxBitmap &) result);
4371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4372 }
4373 return resultobj;
4374 fail:
4375 return NULL;
4376 }
4377
4378
4379 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4380 PyObject *resultobj;
4381 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4382 wxBitmap *arg2 = 0 ;
4383 PyObject * obj0 = 0 ;
4384 PyObject * obj1 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self",(char *) "bitmap", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4392 if (arg2 == NULL) {
4393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4394 }
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 Py_INCREF(Py_None); resultobj = Py_None;
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4412 wxIcon *arg2 = 0 ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self",(char *) "icon", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4422 if (arg2 == NULL) {
4423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4424 }
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 (arg1)->SetIcon((wxIcon const &)*arg2);
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 Py_INCREF(Py_None); resultobj = Py_None;
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4440 PyObject *obj;
4441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4442 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4443 Py_INCREF(obj);
4444 return Py_BuildValue((char *)"");
4445 }
4446 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4447 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4448 return 1;
4449 }
4450
4451
4452 static PyObject *_wrap_ListBoxNameStr_get() {
4453 PyObject *pyobj;
4454
4455 {
4456 #if wxUSE_UNICODE
4457 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4458 #else
4459 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4460 #endif
4461 }
4462 return pyobj;
4463 }
4464
4465
4466 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxWindow *arg1 = (wxWindow *) 0 ;
4469 int arg2 ;
4470 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4471 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4472 wxSize const &arg4_defvalue = wxDefaultSize ;
4473 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4474 int arg5 = (int) 0 ;
4475 wxString *arg6 = (wxString *) NULL ;
4476 long arg7 = (long) 0 ;
4477 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4478 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4479 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4480 wxString *arg9 = (wxString *) &arg9_defvalue ;
4481 wxListBox *result;
4482 wxPoint temp3 ;
4483 wxSize temp4 ;
4484 bool temp8 = False ;
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj2 = 0 ;
4487 PyObject * obj3 = 0 ;
4488 PyObject * obj4 = 0 ;
4489 PyObject * obj6 = 0 ;
4490 PyObject * obj7 = 0 ;
4491 char *kwnames[] = {
4492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4497 if (obj2) {
4498 {
4499 arg3 = &temp3;
4500 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4501 }
4502 }
4503 if (obj3) {
4504 {
4505 arg4 = &temp4;
4506 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4507 }
4508 }
4509 if (obj4) {
4510 {
4511 arg5 = PyList_Size(obj4);
4512 arg6 = wxString_LIST_helper(obj4);
4513 if (arg6 == NULL) SWIG_fail;
4514 }
4515 }
4516 if (obj6) {
4517 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4518 if (arg8 == NULL) {
4519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4520 }
4521 }
4522 if (obj7) {
4523 {
4524 arg9 = wxString_in_helper(obj7);
4525 if (arg9 == NULL) SWIG_fail;
4526 temp8 = True;
4527 }
4528 }
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4537 {
4538 if (arg6) delete [] arg6;
4539 }
4540 {
4541 if (temp8)
4542 delete arg9;
4543 }
4544 return resultobj;
4545 fail:
4546 {
4547 if (arg6) delete [] arg6;
4548 }
4549 {
4550 if (temp8)
4551 delete arg9;
4552 }
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxListBox *result;
4560 char *kwnames[] = {
4561 NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 result = (wxListBox *)new wxListBox();
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4573 return resultobj;
4574 fail:
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxListBox *arg1 = (wxListBox *) 0 ;
4582 wxWindow *arg2 = (wxWindow *) 0 ;
4583 int arg3 ;
4584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4586 wxSize const &arg5_defvalue = wxDefaultSize ;
4587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4588 int arg6 = (int) 0 ;
4589 wxString *arg7 = (wxString *) NULL ;
4590 long arg8 = (long) 0 ;
4591 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4592 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4593 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4594 wxString *arg10 = (wxString *) &arg10_defvalue ;
4595 bool result;
4596 wxPoint temp4 ;
4597 wxSize temp5 ;
4598 bool temp9 = False ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj3 = 0 ;
4602 PyObject * obj4 = 0 ;
4603 PyObject * obj5 = 0 ;
4604 PyObject * obj7 = 0 ;
4605 PyObject * obj8 = 0 ;
4606 char *kwnames[] = {
4607 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4608 };
4609
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4613 if (obj3) {
4614 {
4615 arg4 = &temp4;
4616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4617 }
4618 }
4619 if (obj4) {
4620 {
4621 arg5 = &temp5;
4622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4623 }
4624 }
4625 if (obj5) {
4626 {
4627 arg6 = PyList_Size(obj5);
4628 arg7 = wxString_LIST_helper(obj5);
4629 if (arg7 == NULL) SWIG_fail;
4630 }
4631 }
4632 if (obj7) {
4633 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4634 if (arg9 == NULL) {
4635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4636 }
4637 }
4638 if (obj8) {
4639 {
4640 arg10 = wxString_in_helper(obj8);
4641 if (arg10 == NULL) SWIG_fail;
4642 temp9 = True;
4643 }
4644 }
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 resultobj = PyInt_FromLong((long)result);
4653 {
4654 if (arg7) delete [] arg7;
4655 }
4656 {
4657 if (temp9)
4658 delete arg10;
4659 }
4660 return resultobj;
4661 fail:
4662 {
4663 if (arg7) delete [] arg7;
4664 }
4665 {
4666 if (temp9)
4667 delete arg10;
4668 }
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxListBox *arg1 = (wxListBox *) 0 ;
4676 wxString *arg2 = 0 ;
4677 int arg3 ;
4678 PyObject *arg4 = (PyObject *) NULL ;
4679 bool temp2 = False ;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682 PyObject * obj3 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4689 {
4690 arg2 = wxString_in_helper(obj1);
4691 if (arg2 == NULL) SWIG_fail;
4692 temp2 = True;
4693 }
4694 if (obj3) {
4695 arg4 = obj3;
4696 }
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 {
4706 if (temp2)
4707 delete arg2;
4708 }
4709 return resultobj;
4710 fail:
4711 {
4712 if (temp2)
4713 delete arg2;
4714 }
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxListBox *arg1 = (wxListBox *) 0 ;
4722 wxArrayString *arg2 = 0 ;
4723 int arg3 ;
4724 PyObject * obj0 = 0 ;
4725 PyObject * obj1 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "self",(char *) "items",(char *) "pos", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4732 {
4733 if (! PySequence_Check(obj1)) {
4734 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4735 SWIG_fail;
4736 }
4737 arg2 = new wxArrayString;
4738 int i, len=PySequence_Length(obj1);
4739 for (i=0; i<len; i++) {
4740 PyObject* item = PySequence_GetItem(obj1, i);
4741 #if wxUSE_UNICODE
4742 PyObject* str = PyObject_Unicode(item);
4743 #else
4744 PyObject* str = PyObject_Str(item);
4745 #endif
4746 arg2->Add(Py2wxString(str));
4747 Py_DECREF(item);
4748 Py_DECREF(str);
4749 }
4750 }
4751 {
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4754
4755 wxPyEndAllowThreads(__tstate);
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 Py_INCREF(Py_None); resultobj = Py_None;
4759 {
4760 if (arg2) delete arg2;
4761 }
4762 return resultobj;
4763 fail:
4764 {
4765 if (arg2) delete arg2;
4766 }
4767 return NULL;
4768 }
4769
4770
4771 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxListBox *arg1 = (wxListBox *) 0 ;
4774 wxArrayString *arg2 = 0 ;
4775 PyObject * obj0 = 0 ;
4776 PyObject * obj1 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self",(char *) "items", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 {
4784 if (! PySequence_Check(obj1)) {
4785 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4786 SWIG_fail;
4787 }
4788 arg2 = new wxArrayString;
4789 int i, len=PySequence_Length(obj1);
4790 for (i=0; i<len; i++) {
4791 PyObject* item = PySequence_GetItem(obj1, i);
4792 #if wxUSE_UNICODE
4793 PyObject* str = PyObject_Unicode(item);
4794 #else
4795 PyObject* str = PyObject_Str(item);
4796 #endif
4797 arg2->Add(Py2wxString(str));
4798 Py_DECREF(item);
4799 Py_DECREF(str);
4800 }
4801 }
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 (arg1)->Set((wxArrayString const &)*arg2);
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 Py_INCREF(Py_None); resultobj = Py_None;
4810 {
4811 if (arg2) delete arg2;
4812 }
4813 return resultobj;
4814 fail:
4815 {
4816 if (arg2) delete arg2;
4817 }
4818 return NULL;
4819 }
4820
4821
4822 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject *resultobj;
4824 wxListBox *arg1 = (wxListBox *) 0 ;
4825 int arg2 ;
4826 bool result;
4827 PyObject * obj0 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "self",(char *) "n", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 resultobj = PyInt_FromLong((long)result);
4842 return resultobj;
4843 fail:
4844 return NULL;
4845 }
4846
4847
4848 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxListBox *arg1 = (wxListBox *) 0 ;
4851 int arg2 ;
4852 bool arg3 = (bool) True ;
4853 PyObject * obj0 = 0 ;
4854 PyObject * obj2 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self",(char *) "n",(char *) "select", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 if (obj2) {
4862 arg3 = PyInt_AsLong(obj2) ? true : false;
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 (arg1)->SetSelection(arg2,arg3);
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 Py_INCREF(Py_None); resultobj = Py_None;
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxListBox *arg1 = (wxListBox *) 0 ;
4882 int arg2 ;
4883 PyObject * obj0 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self",(char *) "n", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 (arg1)->Select(arg2);
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 Py_INCREF(Py_None); resultobj = Py_None;
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxListBox *arg1 = (wxListBox *) 0 ;
4907 int arg2 ;
4908 PyObject * obj0 = 0 ;
4909 char *kwnames[] = {
4910 (char *) "self",(char *) "n", NULL
4911 };
4912
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->Deselect(arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject *resultobj;
4931 wxListBox *arg1 = (wxListBox *) 0 ;
4932 int arg2 = (int) -1 ;
4933 PyObject * obj0 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "itemToLeaveSelected", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 (arg1)->DeselectAll(arg2);
4943
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 Py_INCREF(Py_None); resultobj = Py_None;
4948 return resultobj;
4949 fail:
4950 return NULL;
4951 }
4952
4953
4954 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject *resultobj;
4956 wxListBox *arg1 = (wxListBox *) 0 ;
4957 wxString *arg2 = 0 ;
4958 bool arg3 = (bool) True ;
4959 bool result;
4960 bool temp2 = False ;
4961 PyObject * obj0 = 0 ;
4962 PyObject * obj1 = 0 ;
4963 PyObject * obj2 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self",(char *) "s",(char *) "select", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4970 {
4971 arg2 = wxString_in_helper(obj1);
4972 if (arg2 == NULL) SWIG_fail;
4973 temp2 = True;
4974 }
4975 if (obj2) {
4976 arg3 = PyInt_AsLong(obj2) ? true : false;
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 resultobj = PyInt_FromLong((long)result);
4987 {
4988 if (temp2)
4989 delete arg2;
4990 }
4991 return resultobj;
4992 fail:
4993 {
4994 if (temp2)
4995 delete arg2;
4996 }
4997 return NULL;
4998 }
4999
5000
5001 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5002 PyObject *resultobj;
5003 wxListBox *arg1 = (wxListBox *) 0 ;
5004 PyObject *result;
5005 PyObject * obj0 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 result = (PyObject *)wxListBox_GetSelections(arg1);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 resultobj = result;
5020 return resultobj;
5021 fail:
5022 return NULL;
5023 }
5024
5025
5026 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject *resultobj;
5028 wxListBox *arg1 = (wxListBox *) 0 ;
5029 int arg2 ;
5030 PyObject * obj0 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "n", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 (arg1)->SetFirstItem(arg2);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 Py_INCREF(Py_None); resultobj = Py_None;
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxListBox *arg1 = (wxListBox *) 0 ;
5054 wxString *arg2 = 0 ;
5055 bool temp2 = False ;
5056 PyObject * obj0 = 0 ;
5057 PyObject * obj1 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "self",(char *) "s", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5064 {
5065 arg2 = wxString_in_helper(obj1);
5066 if (arg2 == NULL) SWIG_fail;
5067 temp2 = True;
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 (arg1)->SetFirstItem((wxString const &)*arg2);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 Py_INCREF(Py_None); resultobj = Py_None;
5077 {
5078 if (temp2)
5079 delete arg2;
5080 }
5081 return resultobj;
5082 fail:
5083 {
5084 if (temp2)
5085 delete arg2;
5086 }
5087 return NULL;
5088 }
5089
5090
5091 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject *resultobj;
5093 wxListBox *arg1 = (wxListBox *) 0 ;
5094 int arg2 ;
5095 PyObject * obj0 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "n", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->EnsureVisible(arg2);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 Py_INCREF(Py_None); resultobj = Py_None;
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxListBox *arg1 = (wxListBox *) 0 ;
5119 wxString *arg2 = 0 ;
5120 bool temp2 = False ;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self",(char *) "s", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5129 {
5130 arg2 = wxString_in_helper(obj1);
5131 if (arg2 == NULL) SWIG_fail;
5132 temp2 = True;
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 Py_INCREF(Py_None); resultobj = Py_None;
5142 {
5143 if (temp2)
5144 delete arg2;
5145 }
5146 return resultobj;
5147 fail:
5148 {
5149 if (temp2)
5150 delete arg2;
5151 }
5152 return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject *resultobj;
5158 wxListBox *arg1 = (wxListBox *) 0 ;
5159 bool result;
5160 PyObject * obj0 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = (bool)((wxListBox const *)arg1)->IsSorted();
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = PyInt_FromLong((long)result);
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5182 PyObject *obj;
5183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5185 Py_INCREF(obj);
5186 return Py_BuildValue((char *)"");
5187 }
5188 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 wxWindow *arg1 = (wxWindow *) 0 ;
5191 int arg2 ;
5192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5194 wxSize const &arg4_defvalue = wxDefaultSize ;
5195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5196 int arg5 = (int) 0 ;
5197 wxString *arg6 = (wxString *) NULL ;
5198 long arg7 = (long) 0 ;
5199 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5200 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5201 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5202 wxString *arg9 = (wxString *) &arg9_defvalue ;
5203 wxCheckListBox *result;
5204 wxPoint temp3 ;
5205 wxSize temp4 ;
5206 bool temp8 = False ;
5207 PyObject * obj0 = 0 ;
5208 PyObject * obj2 = 0 ;
5209 PyObject * obj3 = 0 ;
5210 PyObject * obj4 = 0 ;
5211 PyObject * obj6 = 0 ;
5212 PyObject * obj7 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5219 if (obj2) {
5220 {
5221 arg3 = &temp3;
5222 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5223 }
5224 }
5225 if (obj3) {
5226 {
5227 arg4 = &temp4;
5228 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5229 }
5230 }
5231 if (obj4) {
5232 {
5233 arg5 = PyList_Size(obj4);
5234 arg6 = wxString_LIST_helper(obj4);
5235 if (arg6 == NULL) SWIG_fail;
5236 }
5237 }
5238 if (obj6) {
5239 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5240 if (arg8 == NULL) {
5241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5242 }
5243 }
5244 if (obj7) {
5245 {
5246 arg9 = wxString_in_helper(obj7);
5247 if (arg9 == NULL) SWIG_fail;
5248 temp8 = True;
5249 }
5250 }
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5259 {
5260 if (arg6) delete [] arg6;
5261 }
5262 {
5263 if (temp8)
5264 delete arg9;
5265 }
5266 return resultobj;
5267 fail:
5268 {
5269 if (arg6) delete [] arg6;
5270 }
5271 {
5272 if (temp8)
5273 delete arg9;
5274 }
5275 return NULL;
5276 }
5277
5278
5279 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject *resultobj;
5281 wxCheckListBox *result;
5282 char *kwnames[] = {
5283 NULL
5284 };
5285
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (wxCheckListBox *)new wxCheckListBox();
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5295 return resultobj;
5296 fail:
5297 return NULL;
5298 }
5299
5300
5301 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5302 PyObject *resultobj;
5303 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5304 wxWindow *arg2 = (wxWindow *) 0 ;
5305 int arg3 ;
5306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5308 wxSize const &arg5_defvalue = wxDefaultSize ;
5309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5310 int arg6 = (int) 0 ;
5311 wxString *arg7 = (wxString *) NULL ;
5312 long arg8 = (long) 0 ;
5313 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5314 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5315 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5316 wxString *arg10 = (wxString *) &arg10_defvalue ;
5317 bool result;
5318 wxPoint temp4 ;
5319 wxSize temp5 ;
5320 bool temp9 = False ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 PyObject * obj3 = 0 ;
5324 PyObject * obj4 = 0 ;
5325 PyObject * obj5 = 0 ;
5326 PyObject * obj7 = 0 ;
5327 PyObject * obj8 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5335 if (obj3) {
5336 {
5337 arg4 = &temp4;
5338 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5339 }
5340 }
5341 if (obj4) {
5342 {
5343 arg5 = &temp5;
5344 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5345 }
5346 }
5347 if (obj5) {
5348 {
5349 arg6 = PyList_Size(obj5);
5350 arg7 = wxString_LIST_helper(obj5);
5351 if (arg7 == NULL) SWIG_fail;
5352 }
5353 }
5354 if (obj7) {
5355 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5356 if (arg9 == NULL) {
5357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5358 }
5359 }
5360 if (obj8) {
5361 {
5362 arg10 = wxString_in_helper(obj8);
5363 if (arg10 == NULL) SWIG_fail;
5364 temp9 = True;
5365 }
5366 }
5367 {
5368 PyThreadState* __tstate = wxPyBeginAllowThreads();
5369 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5370
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 resultobj = PyInt_FromLong((long)result);
5375 {
5376 if (arg7) delete [] arg7;
5377 }
5378 {
5379 if (temp9)
5380 delete arg10;
5381 }
5382 return resultobj;
5383 fail:
5384 {
5385 if (arg7) delete [] arg7;
5386 }
5387 {
5388 if (temp9)
5389 delete arg10;
5390 }
5391 return NULL;
5392 }
5393
5394
5395 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj;
5397 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5398 int arg2 ;
5399 bool result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self",(char *) "index", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (bool)(arg1)->IsChecked(arg2);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = PyInt_FromLong((long)result);
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj;
5423 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5424 int arg2 ;
5425 int arg3 = (int) True ;
5426 PyObject * obj0 = 0 ;
5427 char *kwnames[] = {
5428 (char *) "self",(char *) "index",(char *) "check", NULL
5429 };
5430
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 (arg1)->Check(arg2,arg3);
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 Py_INCREF(Py_None); resultobj = Py_None;
5441 return resultobj;
5442 fail:
5443 return NULL;
5444 }
5445
5446
5447 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5450 int result;
5451 PyObject * obj0 = 0 ;
5452 char *kwnames[] = {
5453 (char *) "self", NULL
5454 };
5455
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 result = (int)(arg1)->GetItemHeight();
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 resultobj = PyInt_FromLong((long)result);
5466 return resultobj;
5467 fail:
5468 return NULL;
5469 }
5470
5471
5472 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5473 PyObject *resultobj;
5474 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5475 wxPoint *arg2 = 0 ;
5476 int result;
5477 wxPoint temp2 ;
5478 PyObject * obj0 = 0 ;
5479 PyObject * obj1 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self",(char *) "pt", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5486 {
5487 arg2 = &temp2;
5488 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 resultobj = PyInt_FromLong((long)result);
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj;
5506 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5507 int arg2 ;
5508 int arg3 ;
5509 int result;
5510 PyObject * obj0 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "self",(char *) "x",(char *) "y", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 resultobj = PyInt_FromLong((long)result);
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5532 PyObject *obj;
5533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5534 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5535 Py_INCREF(obj);
5536 return Py_BuildValue((char *)"");
5537 }
5538 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5539 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5540 return 1;
5541 }
5542
5543
5544 static PyObject *_wrap_TextCtrlNameStr_get() {
5545 PyObject *pyobj;
5546
5547 {
5548 #if wxUSE_UNICODE
5549 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5550 #else
5551 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5552 #endif
5553 }
5554 return pyobj;
5555 }
5556
5557
5558 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5559 PyObject *resultobj;
5560 wxTextAttr *result;
5561
5562 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (wxTextAttr *)new wxTextAttr();
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5571 return resultobj;
5572 fail:
5573 return NULL;
5574 }
5575
5576
5577 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5578 PyObject *resultobj;
5579 wxColour *arg1 = 0 ;
5580 wxColour const &arg2_defvalue = wxNullColour ;
5581 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5582 wxFont const &arg3_defvalue = wxNullFont ;
5583 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5584 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5585 wxTextAttr *result;
5586 wxColour temp1 ;
5587 wxColour temp2 ;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 PyObject * obj2 = 0 ;
5591
5592 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5593 {
5594 arg1 = &temp1;
5595 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5596 }
5597 if (obj1) {
5598 {
5599 arg2 = &temp2;
5600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5601 }
5602 }
5603 if (obj2) {
5604 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5605 if (arg3 == NULL) {
5606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5607 }
5608 }
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5617 return resultobj;
5618 fail:
5619 return NULL;
5620 }
5621
5622
5623 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5624 int argc;
5625 PyObject *argv[5];
5626 int ii;
5627
5628 argc = PyObject_Length(args);
5629 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5630 argv[ii] = PyTuple_GetItem(args,ii);
5631 }
5632 if (argc == 0) {
5633 return _wrap_new_TextAttr__SWIG_0(self,args);
5634 }
5635 if ((argc >= 1) && (argc <= 4)) {
5636 int _v;
5637 {
5638 _v = wxColour_typecheck(argv[0]);
5639 }
5640 if (_v) {
5641 if (argc <= 1) {
5642 return _wrap_new_TextAttr__SWIG_1(self,args);
5643 }
5644 {
5645 _v = wxColour_typecheck(argv[1]);
5646 }
5647 if (_v) {
5648 if (argc <= 2) {
5649 return _wrap_new_TextAttr__SWIG_1(self,args);
5650 }
5651 {
5652 void *ptr;
5653 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5654 _v = 0;
5655 PyErr_Clear();
5656 } else {
5657 _v = 1;
5658 }
5659 }
5660 if (_v) {
5661 if (argc <= 3) {
5662 return _wrap_new_TextAttr__SWIG_1(self,args);
5663 }
5664 {
5665 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5666 }
5667 if (_v) {
5668 return _wrap_new_TextAttr__SWIG_1(self,args);
5669 }
5670 }
5671 }
5672 }
5673 }
5674
5675 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5676 return NULL;
5677 }
5678
5679
5680 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5681 PyObject *resultobj;
5682 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5683 PyObject * obj0 = 0 ;
5684 char *kwnames[] = {
5685 (char *) "self", NULL
5686 };
5687
5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5690 {
5691 PyThreadState* __tstate = wxPyBeginAllowThreads();
5692 (arg1)->Init();
5693
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 Py_INCREF(Py_None); resultobj = Py_None;
5698 return resultobj;
5699 fail:
5700 return NULL;
5701 }
5702
5703
5704 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5705 PyObject *resultobj;
5706 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5707 wxColour *arg2 = 0 ;
5708 wxColour temp2 ;
5709 PyObject * obj0 = 0 ;
5710 PyObject * obj1 = 0 ;
5711 char *kwnames[] = {
5712 (char *) "self",(char *) "colText", NULL
5713 };
5714
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5717 {
5718 arg2 = &temp2;
5719 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5720 }
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 (arg1)->SetTextColour((wxColour const &)*arg2);
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 Py_INCREF(Py_None); resultobj = Py_None;
5729 return resultobj;
5730 fail:
5731 return NULL;
5732 }
5733
5734
5735 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5736 PyObject *resultobj;
5737 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5738 wxColour *arg2 = 0 ;
5739 wxColour temp2 ;
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self",(char *) "colBack", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5748 {
5749 arg2 = &temp2;
5750 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5751 }
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 Py_INCREF(Py_None); resultobj = Py_None;
5760 return resultobj;
5761 fail:
5762 return NULL;
5763 }
5764
5765
5766 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj;
5768 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5769 wxFont *arg2 = 0 ;
5770 long arg3 = (long) wxTEXT_ATTR_FONT ;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 char *kwnames[] = {
5774 (char *) "self",(char *) "font",(char *) "flags", NULL
5775 };
5776
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5780 if (arg2 == NULL) {
5781 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5782 }
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 Py_INCREF(Py_None); resultobj = Py_None;
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5800 int arg2 ;
5801 PyObject * obj0 = 0 ;
5802 char *kwnames[] = {
5803 (char *) "self",(char *) "alignment", NULL
5804 };
5805
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 Py_INCREF(Py_None); resultobj = Py_None;
5816 return resultobj;
5817 fail:
5818 return NULL;
5819 }
5820
5821
5822 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5823 PyObject *resultobj;
5824 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5825 wxArrayInt *arg2 = 0 ;
5826 PyObject * obj0 = 0 ;
5827 PyObject * obj1 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self",(char *) "tabs", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5834 {
5835 if (! PySequence_Check(obj1)) {
5836 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5837 SWIG_fail;
5838 }
5839 arg2 = new wxArrayInt;
5840 int i, len=PySequence_Length(obj1);
5841 for (i=0; i<len; i++) {
5842 PyObject* item = PySequence_GetItem(obj1, i);
5843 PyObject* number = PyNumber_Int(item);
5844 arg2->Add(PyInt_AS_LONG(number));
5845 Py_DECREF(item);
5846 Py_DECREF(number);
5847 }
5848 }
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 Py_INCREF(Py_None); resultobj = Py_None;
5857 {
5858 if (arg2) delete arg2;
5859 }
5860 return resultobj;
5861 fail:
5862 {
5863 if (arg2) delete arg2;
5864 }
5865 return NULL;
5866 }
5867
5868
5869 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5872 int arg2 ;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self",(char *) "indent", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 (arg1)->SetLeftIndent(arg2);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 Py_INCREF(Py_None); resultobj = Py_None;
5888 return resultobj;
5889 fail:
5890 return NULL;
5891 }
5892
5893
5894 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj;
5896 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5897 int arg2 ;
5898 PyObject * obj0 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self",(char *) "indent", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 (arg1)->SetRightIndent(arg2);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 Py_INCREF(Py_None); resultobj = Py_None;
5913 return resultobj;
5914 fail:
5915 return NULL;
5916 }
5917
5918
5919 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5922 long arg2 ;
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self",(char *) "flags", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 (arg1)->SetFlags(arg2);
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 Py_INCREF(Py_None); resultobj = Py_None;
5938 return resultobj;
5939 fail:
5940 return NULL;
5941 }
5942
5943
5944 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj;
5946 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5947 bool result;
5948 PyObject * obj0 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "self", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 resultobj = PyInt_FromLong((long)result);
5963 return resultobj;
5964 fail:
5965 return NULL;
5966 }
5967
5968
5969 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5972 bool result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 resultobj = PyInt_FromLong((long)result);
5988 return resultobj;
5989 fail:
5990 return NULL;
5991 }
5992
5993
5994 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5995 PyObject *resultobj;
5996 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5997 bool result;
5998 PyObject * obj0 = 0 ;
5999 char *kwnames[] = {
6000 (char *) "self", NULL
6001 };
6002
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 resultobj = PyInt_FromLong((long)result);
6013 return resultobj;
6014 fail:
6015 return NULL;
6016 }
6017
6018
6019 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6022 bool result;
6023 PyObject * obj0 = 0 ;
6024 char *kwnames[] = {
6025 (char *) "self", NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 resultobj = PyInt_FromLong((long)result);
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6047 bool result;
6048 PyObject * obj0 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = PyInt_FromLong((long)result);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6072 bool result;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 resultobj = PyInt_FromLong((long)result);
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6097 bool result;
6098 PyObject * obj0 = 0 ;
6099 char *kwnames[] = {
6100 (char *) "self", NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 resultobj = PyInt_FromLong((long)result);
6113 return resultobj;
6114 fail:
6115 return NULL;
6116 }
6117
6118
6119 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj;
6121 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6122 long arg2 ;
6123 bool result;
6124 PyObject * obj0 = 0 ;
6125 char *kwnames[] = {
6126 (char *) "self",(char *) "flag", NULL
6127 };
6128
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 resultobj = PyInt_FromLong((long)result);
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6148 wxColour *result;
6149 PyObject * obj0 = 0 ;
6150 char *kwnames[] = {
6151 (char *) "self", NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 {
6159 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6160 result = (wxColour *) &_result_ref;
6161 }
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6167 return resultobj;
6168 fail:
6169 return NULL;
6170 }
6171
6172
6173 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj;
6175 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6176 wxColour *result;
6177 PyObject * obj0 = 0 ;
6178 char *kwnames[] = {
6179 (char *) "self", NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 {
6187 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6188 result = (wxColour *) &_result_ref;
6189 }
6190
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6204 wxFont *result;
6205 PyObject * obj0 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "self", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 {
6215 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6216 result = (wxFont *) &_result_ref;
6217 }
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6223 return resultobj;
6224 fail:
6225 return NULL;
6226 }
6227
6228
6229 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6230 PyObject *resultobj;
6231 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6232 int result;
6233 PyObject * obj0 = 0 ;
6234 char *kwnames[] = {
6235 (char *) "self", NULL
6236 };
6237
6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = PyInt_FromLong((long)result);
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6257 wxArrayInt *result;
6258 PyObject * obj0 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "self", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 {
6268 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6269 result = (wxArrayInt *) &_result_ref;
6270 }
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 {
6276 resultobj = PyList_New(0);
6277 size_t idx;
6278 for (idx = 0; idx < result->GetCount(); idx += 1) {
6279 PyObject* val = PyInt_FromLong( result->Item(idx) );
6280 PyList_Append(resultobj, val);
6281 Py_DECREF(val);
6282 }
6283 }
6284 return resultobj;
6285 fail:
6286 return NULL;
6287 }
6288
6289
6290 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj;
6292 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6293 long result;
6294 PyObject * obj0 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 resultobj = PyInt_FromLong((long)result);
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6318 long result;
6319 PyObject * obj0 = 0 ;
6320 char *kwnames[] = {
6321 (char *) "self", NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = PyInt_FromLong((long)result);
6334 return resultobj;
6335 fail:
6336 return NULL;
6337 }
6338
6339
6340 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6341 PyObject *resultobj;
6342 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6343 long result;
6344 PyObject * obj0 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = PyInt_FromLong((long)result);
6359 return resultobj;
6360 fail:
6361 return NULL;
6362 }
6363
6364
6365 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6368 bool result;
6369 PyObject * obj0 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 resultobj = PyInt_FromLong((long)result);
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxTextAttr *arg1 = 0 ;
6393 wxTextAttr *arg2 = 0 ;
6394 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6395 wxTextAttr result;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 PyObject * obj2 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6405 if (arg1 == NULL) {
6406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6407 }
6408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6409 if (arg2 == NULL) {
6410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6411 }
6412 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 {
6421 wxTextAttr * resultptr;
6422 resultptr = new wxTextAttr((wxTextAttr &) result);
6423 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6424 }
6425 return resultobj;
6426 fail:
6427 return NULL;
6428 }
6429
6430
6431 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6432 PyObject *obj;
6433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6434 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6435 Py_INCREF(obj);
6436 return Py_BuildValue((char *)"");
6437 }
6438 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxWindow *arg1 = (wxWindow *) 0 ;
6441 int arg2 ;
6442 wxString const &arg3_defvalue = wxPyEmptyString ;
6443 wxString *arg3 = (wxString *) &arg3_defvalue ;
6444 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6445 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6446 wxSize const &arg5_defvalue = wxDefaultSize ;
6447 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6448 long arg6 = (long) 0 ;
6449 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6450 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6451 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6452 wxString *arg8 = (wxString *) &arg8_defvalue ;
6453 wxTextCtrl *result;
6454 bool temp3 = False ;
6455 wxPoint temp4 ;
6456 wxSize temp5 ;
6457 bool temp8 = False ;
6458 PyObject * obj0 = 0 ;
6459 PyObject * obj2 = 0 ;
6460 PyObject * obj3 = 0 ;
6461 PyObject * obj4 = 0 ;
6462 PyObject * obj6 = 0 ;
6463 PyObject * obj7 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6470 if (obj2) {
6471 {
6472 arg3 = wxString_in_helper(obj2);
6473 if (arg3 == NULL) SWIG_fail;
6474 temp3 = True;
6475 }
6476 }
6477 if (obj3) {
6478 {
6479 arg4 = &temp4;
6480 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6481 }
6482 }
6483 if (obj4) {
6484 {
6485 arg5 = &temp5;
6486 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6487 }
6488 }
6489 if (obj6) {
6490 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6491 if (arg7 == NULL) {
6492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6493 }
6494 }
6495 if (obj7) {
6496 {
6497 arg8 = wxString_in_helper(obj7);
6498 if (arg8 == NULL) SWIG_fail;
6499 temp8 = True;
6500 }
6501 }
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 {
6510 resultobj = wxPyMake_wxObject(result);
6511 }
6512 {
6513 if (temp3)
6514 delete arg3;
6515 }
6516 {
6517 if (temp8)
6518 delete arg8;
6519 }
6520 return resultobj;
6521 fail:
6522 {
6523 if (temp3)
6524 delete arg3;
6525 }
6526 {
6527 if (temp8)
6528 delete arg8;
6529 }
6530 return NULL;
6531 }
6532
6533
6534 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6535 PyObject *resultobj;
6536 wxTextCtrl *result;
6537 char *kwnames[] = {
6538 NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (wxTextCtrl *)new wxTextCtrl();
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 {
6550 resultobj = wxPyMake_wxObject(result);
6551 }
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj;
6560 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6561 wxWindow *arg2 = (wxWindow *) 0 ;
6562 int arg3 ;
6563 wxString const &arg4_defvalue = wxPyEmptyString ;
6564 wxString *arg4 = (wxString *) &arg4_defvalue ;
6565 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6566 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6567 wxSize const &arg6_defvalue = wxDefaultSize ;
6568 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6569 long arg7 = (long) 0 ;
6570 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6571 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6572 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6573 wxString *arg9 = (wxString *) &arg9_defvalue ;
6574 bool result;
6575 bool temp4 = False ;
6576 wxPoint temp5 ;
6577 wxSize temp6 ;
6578 bool temp9 = False ;
6579 PyObject * obj0 = 0 ;
6580 PyObject * obj1 = 0 ;
6581 PyObject * obj3 = 0 ;
6582 PyObject * obj4 = 0 ;
6583 PyObject * obj5 = 0 ;
6584 PyObject * obj7 = 0 ;
6585 PyObject * obj8 = 0 ;
6586 char *kwnames[] = {
6587 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6588 };
6589
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6593 if (obj3) {
6594 {
6595 arg4 = wxString_in_helper(obj3);
6596 if (arg4 == NULL) SWIG_fail;
6597 temp4 = True;
6598 }
6599 }
6600 if (obj4) {
6601 {
6602 arg5 = &temp5;
6603 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6604 }
6605 }
6606 if (obj5) {
6607 {
6608 arg6 = &temp6;
6609 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6610 }
6611 }
6612 if (obj7) {
6613 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 if (arg8 == NULL) {
6615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6616 }
6617 }
6618 if (obj8) {
6619 {
6620 arg9 = wxString_in_helper(obj8);
6621 if (arg9 == NULL) SWIG_fail;
6622 temp9 = True;
6623 }
6624 }
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 resultobj = PyInt_FromLong((long)result);
6633 {
6634 if (temp4)
6635 delete arg4;
6636 }
6637 {
6638 if (temp9)
6639 delete arg9;
6640 }
6641 return resultobj;
6642 fail:
6643 {
6644 if (temp4)
6645 delete arg4;
6646 }
6647 {
6648 if (temp9)
6649 delete arg9;
6650 }
6651 return NULL;
6652 }
6653
6654
6655 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6658 wxString result;
6659 PyObject * obj0 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = ((wxTextCtrl const *)arg1)->GetValue();
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 {
6674 #if wxUSE_UNICODE
6675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6676 #else
6677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6678 #endif
6679 }
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj;
6688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6689 wxString *arg2 = 0 ;
6690 bool temp2 = False ;
6691 PyObject * obj0 = 0 ;
6692 PyObject * obj1 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self",(char *) "value", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6699 {
6700 arg2 = wxString_in_helper(obj1);
6701 if (arg2 == NULL) SWIG_fail;
6702 temp2 = True;
6703 }
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 (arg1)->SetValue((wxString const &)*arg2);
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 Py_INCREF(Py_None); resultobj = Py_None;
6712 {
6713 if (temp2)
6714 delete arg2;
6715 }
6716 return resultobj;
6717 fail:
6718 {
6719 if (temp2)
6720 delete arg2;
6721 }
6722 return NULL;
6723 }
6724
6725
6726 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj;
6728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6729 long arg2 ;
6730 long arg3 ;
6731 wxString result;
6732 PyObject * obj0 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "self",(char *) "from",(char *) "to", NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 {
6747 #if wxUSE_UNICODE
6748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6749 #else
6750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6751 #endif
6752 }
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6762 long arg2 ;
6763 int result;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self",(char *) "lineNo", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = PyInt_FromLong((long)result);
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj;
6787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6788 long arg2 ;
6789 wxString result;
6790 PyObject * obj0 = 0 ;
6791 char *kwnames[] = {
6792 (char *) "self",(char *) "lineNo", NULL
6793 };
6794
6795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 {
6805 #if wxUSE_UNICODE
6806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6807 #else
6808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6809 #endif
6810 }
6811 return resultobj;
6812 fail:
6813 return NULL;
6814 }
6815
6816
6817 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6820 int result;
6821 PyObject * obj0 = 0 ;
6822 char *kwnames[] = {
6823 (char *) "self", NULL
6824 };
6825
6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 resultobj = PyInt_FromLong((long)result);
6836 return resultobj;
6837 fail:
6838 return NULL;
6839 }
6840
6841
6842 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6845 bool result;
6846 PyObject * obj0 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6856
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = PyInt_FromLong((long)result);
6861 return resultobj;
6862 fail:
6863 return NULL;
6864 }
6865
6866
6867 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6868 PyObject *resultobj;
6869 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6870 bool result;
6871 PyObject * obj0 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 resultobj = PyInt_FromLong((long)result);
6886 return resultobj;
6887 fail:
6888 return NULL;
6889 }
6890
6891
6892 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6895 bool result;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = PyInt_FromLong((long)result);
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6920 bool result;
6921 PyObject * obj0 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 resultobj = PyInt_FromLong((long)result);
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6945 long *arg2 = (long *) 0 ;
6946 long *arg3 = (long *) 0 ;
6947 long temp2 ;
6948 long temp3 ;
6949 PyObject * obj0 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self", NULL
6952 };
6953
6954 arg2 = &temp2;
6955 arg3 = &temp3;
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 Py_INCREF(Py_None); resultobj = Py_None;
6966 {
6967 PyObject *o = PyInt_FromLong((long) (*arg2));
6968 resultobj = t_output_helper(resultobj,o);
6969 }
6970 {
6971 PyObject *o = PyInt_FromLong((long) (*arg3));
6972 resultobj = t_output_helper(resultobj,o);
6973 }
6974 return resultobj;
6975 fail:
6976 return NULL;
6977 }
6978
6979
6980 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6981 PyObject *resultobj;
6982 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6983 wxString result;
6984 PyObject * obj0 = 0 ;
6985 char *kwnames[] = {
6986 (char *) "self", NULL
6987 };
6988
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 {
6999 #if wxUSE_UNICODE
7000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7001 #else
7002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7003 #endif
7004 }
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7014 PyObject * obj0 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 (arg1)->Clear();
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 Py_INCREF(Py_None); resultobj = Py_None;
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7038 long arg2 ;
7039 long arg3 ;
7040 wxString *arg4 = 0 ;
7041 bool temp4 = False ;
7042 PyObject * obj0 = 0 ;
7043 PyObject * obj3 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7050 {
7051 arg4 = wxString_in_helper(obj3);
7052 if (arg4 == NULL) SWIG_fail;
7053 temp4 = True;
7054 }
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 {
7064 if (temp4)
7065 delete arg4;
7066 }
7067 return resultobj;
7068 fail:
7069 {
7070 if (temp4)
7071 delete arg4;
7072 }
7073 return NULL;
7074 }
7075
7076
7077 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7080 long arg2 ;
7081 long arg3 ;
7082 PyObject * obj0 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self",(char *) "from",(char *) "to", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->Remove(arg2,arg3);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 Py_INCREF(Py_None); resultobj = Py_None;
7097 return resultobj;
7098 fail:
7099 return NULL;
7100 }
7101
7102
7103 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7106 wxString *arg2 = 0 ;
7107 bool result;
7108 bool temp2 = False ;
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self",(char *) "file", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7117 {
7118 arg2 = wxString_in_helper(obj1);
7119 if (arg2 == NULL) SWIG_fail;
7120 temp2 = True;
7121 }
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 resultobj = PyInt_FromLong((long)result);
7130 {
7131 if (temp2)
7132 delete arg2;
7133 }
7134 return resultobj;
7135 fail:
7136 {
7137 if (temp2)
7138 delete arg2;
7139 }
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7147 wxString const &arg2_defvalue = wxPyEmptyString ;
7148 wxString *arg2 = (wxString *) &arg2_defvalue ;
7149 bool result;
7150 bool temp2 = False ;
7151 PyObject * obj0 = 0 ;
7152 PyObject * obj1 = 0 ;
7153 char *kwnames[] = {
7154 (char *) "self",(char *) "file", NULL
7155 };
7156
7157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7159 if (obj1) {
7160 {
7161 arg2 = wxString_in_helper(obj1);
7162 if (arg2 == NULL) SWIG_fail;
7163 temp2 = True;
7164 }
7165 }
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 resultobj = PyInt_FromLong((long)result);
7174 {
7175 if (temp2)
7176 delete arg2;
7177 }
7178 return resultobj;
7179 fail:
7180 {
7181 if (temp2)
7182 delete arg2;
7183 }
7184 return NULL;
7185 }
7186
7187
7188 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7191 PyObject * obj0 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 (arg1)->MarkDirty();
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_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7215 PyObject * obj0 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "self", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 (arg1)->DiscardEdits();
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 Py_INCREF(Py_None); resultobj = Py_None;
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7239 unsigned long arg2 ;
7240 PyObject * obj0 = 0 ;
7241 PyObject * obj1 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self",(char *) "len", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7248 arg2 = (unsigned long) PyInt_AsLong(obj1);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 (arg1)->SetMaxLength(arg2);
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 Py_INCREF(Py_None); resultobj = Py_None;
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj;
7266 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7267 wxString *arg2 = 0 ;
7268 bool temp2 = False ;
7269 PyObject * obj0 = 0 ;
7270 PyObject * obj1 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "self",(char *) "text", NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7277 {
7278 arg2 = wxString_in_helper(obj1);
7279 if (arg2 == NULL) SWIG_fail;
7280 temp2 = True;
7281 }
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 (arg1)->WriteText((wxString const &)*arg2);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 Py_INCREF(Py_None); resultobj = Py_None;
7290 {
7291 if (temp2)
7292 delete arg2;
7293 }
7294 return resultobj;
7295 fail:
7296 {
7297 if (temp2)
7298 delete arg2;
7299 }
7300 return NULL;
7301 }
7302
7303
7304 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject *resultobj;
7306 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7307 wxString *arg2 = 0 ;
7308 bool temp2 = False ;
7309 PyObject * obj0 = 0 ;
7310 PyObject * obj1 = 0 ;
7311 char *kwnames[] = {
7312 (char *) "self",(char *) "text", NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 {
7318 arg2 = wxString_in_helper(obj1);
7319 if (arg2 == NULL) SWIG_fail;
7320 temp2 = True;
7321 }
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 (arg1)->AppendText((wxString const &)*arg2);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 Py_INCREF(Py_None); resultobj = Py_None;
7330 {
7331 if (temp2)
7332 delete arg2;
7333 }
7334 return resultobj;
7335 fail:
7336 {
7337 if (temp2)
7338 delete arg2;
7339 }
7340 return NULL;
7341 }
7342
7343
7344 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7347 wxKeyEvent *arg2 = 0 ;
7348 bool result;
7349 PyObject * obj0 = 0 ;
7350 PyObject * obj1 = 0 ;
7351 char *kwnames[] = {
7352 (char *) "self",(char *) "event", NULL
7353 };
7354
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7358 if (arg2 == NULL) {
7359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7360 }
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 resultobj = PyInt_FromLong((long)result);
7369 return resultobj;
7370 fail:
7371 return NULL;
7372 }
7373
7374
7375 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7378 long arg2 ;
7379 long arg3 ;
7380 wxTextAttr *arg4 = 0 ;
7381 bool result;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj3 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7390 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7391 if (arg4 == NULL) {
7392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 resultobj = PyInt_FromLong((long)result);
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7411 long arg2 ;
7412 wxTextAttr *arg3 = 0 ;
7413 bool result;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj2 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "position",(char *) "style", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7423 if (arg3 == NULL) {
7424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7425 }
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = PyInt_FromLong((long)result);
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7443 wxTextAttr *arg2 = 0 ;
7444 bool result;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self",(char *) "style", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7454 if (arg2 == NULL) {
7455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7456 }
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 resultobj = PyInt_FromLong((long)result);
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7474 wxTextAttr *result;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 {
7485 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7486 result = (wxTextAttr *) &_result_ref;
7487 }
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7493 return resultobj;
7494 fail:
7495 return NULL;
7496 }
7497
7498
7499 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7500 PyObject *resultobj;
7501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7502 long arg2 ;
7503 long arg3 ;
7504 long result;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self",(char *) "x",(char *) "y", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = PyInt_FromLong((long)result);
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7529 long arg2 ;
7530 long *arg3 = (long *) 0 ;
7531 long *arg4 = (long *) 0 ;
7532 long temp3 ;
7533 long temp4 ;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self",(char *) "pos", NULL
7537 };
7538
7539 arg3 = &temp3;
7540 arg4 = &temp4;
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 Py_INCREF(Py_None); resultobj = Py_None;
7551 {
7552 PyObject *o = PyInt_FromLong((long) (*arg3));
7553 resultobj = t_output_helper(resultobj,o);
7554 }
7555 {
7556 PyObject *o = PyInt_FromLong((long) (*arg4));
7557 resultobj = t_output_helper(resultobj,o);
7558 }
7559 return resultobj;
7560 fail:
7561 return NULL;
7562 }
7563
7564
7565 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj;
7567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7568 long arg2 ;
7569 PyObject * obj0 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "self",(char *) "pos", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 (arg1)->ShowPosition(arg2);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 Py_INCREF(Py_None); resultobj = Py_None;
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7593 PyObject * obj0 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->Copy();
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 Py_INCREF(Py_None); resultobj = Py_None;
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7615 PyObject *resultobj;
7616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7617 PyObject * obj0 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 (arg1)->Cut();
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 Py_INCREF(Py_None); resultobj = Py_None;
7632 return resultobj;
7633 fail:
7634 return NULL;
7635 }
7636
7637
7638 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7639 PyObject *resultobj;
7640 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7641 PyObject * obj0 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 (arg1)->Paste();
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 Py_INCREF(Py_None); resultobj = Py_None;
7656 return resultobj;
7657 fail:
7658 return NULL;
7659 }
7660
7661
7662 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7665 bool result;
7666 PyObject * obj0 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 resultobj = PyInt_FromLong((long)result);
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7690 bool result;
7691 PyObject * obj0 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 resultobj = PyInt_FromLong((long)result);
7706 return resultobj;
7707 fail:
7708 return NULL;
7709 }
7710
7711
7712 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj;
7714 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7715 bool result;
7716 PyObject * obj0 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 resultobj = PyInt_FromLong((long)result);
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7740 PyObject * obj0 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 (arg1)->Undo();
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 Py_INCREF(Py_None); resultobj = Py_None;
7755 return resultobj;
7756 fail:
7757 return NULL;
7758 }
7759
7760
7761 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7764 PyObject * obj0 = 0 ;
7765 char *kwnames[] = {
7766 (char *) "self", NULL
7767 };
7768
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 (arg1)->Redo();
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 Py_INCREF(Py_None); resultobj = Py_None;
7779 return resultobj;
7780 fail:
7781 return NULL;
7782 }
7783
7784
7785 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7786 PyObject *resultobj;
7787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7788 bool result;
7789 PyObject * obj0 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "self", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7799
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 resultobj = PyInt_FromLong((long)result);
7804 return resultobj;
7805 fail:
7806 return NULL;
7807 }
7808
7809
7810 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7813 bool result;
7814 PyObject * obj0 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 resultobj = PyInt_FromLong((long)result);
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7838 long arg2 ;
7839 PyObject * obj0 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self",(char *) "pos", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 (arg1)->SetInsertionPoint(arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 Py_INCREF(Py_None); resultobj = Py_None;
7854 return resultobj;
7855 fail:
7856 return NULL;
7857 }
7858
7859
7860 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7863 PyObject * obj0 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 (arg1)->SetInsertionPointEnd();
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 Py_INCREF(Py_None); resultobj = Py_None;
7878 return resultobj;
7879 fail:
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7887 long result;
7888 PyObject * obj0 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 resultobj = PyInt_FromLong((long)result);
7903 return resultobj;
7904 fail:
7905 return NULL;
7906 }
7907
7908
7909 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj;
7911 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7912 long result;
7913 PyObject * obj0 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = PyInt_FromLong((long)result);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7937 long arg2 ;
7938 long arg3 ;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self",(char *) "from",(char *) "to", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->SetSelection(arg2,arg3);
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_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 (arg1)->SelectAll();
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 Py_INCREF(Py_None); resultobj = Py_None;
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7987 bool arg2 ;
7988 PyObject * obj0 = 0 ;
7989 PyObject * obj1 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self",(char *) "editable", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7996 arg2 = PyInt_AsLong(obj1) ? true : false;
7997 if (PyErr_Occurred()) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 (arg1)->SetEditable(arg2);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8015 bool arg2 = (bool) True ;
8016 bool result;
8017 PyObject * obj0 = 0 ;
8018 PyObject * obj1 = 0 ;
8019 char *kwnames[] = {
8020 (char *) "self",(char *) "show", NULL
8021 };
8022
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
8024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8025 if (obj1) {
8026 arg2 = PyInt_AsLong(obj1) ? true : false;
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (bool)(arg1)->ShowNativeCaret(arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 resultobj = PyInt_FromLong((long)result);
8037 return resultobj;
8038 fail:
8039 return NULL;
8040 }
8041
8042
8043 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8046 bool result;
8047 PyObject * obj0 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
8053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (bool)(arg1)->HideNativeCaret();
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 resultobj = PyInt_FromLong((long)result);
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8071 wxString *arg2 = 0 ;
8072 bool temp2 = False ;
8073 PyObject * obj0 = 0 ;
8074 PyObject * obj1 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self",(char *) "text", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8081 {
8082 arg2 = wxString_in_helper(obj1);
8083 if (arg2 == NULL) SWIG_fail;
8084 temp2 = True;
8085 }
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 Py_INCREF(Py_None); resultobj = Py_None;
8094 {
8095 if (temp2)
8096 delete arg2;
8097 }
8098 return resultobj;
8099 fail:
8100 {
8101 if (temp2)
8102 delete arg2;
8103 }
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8111 long arg2 ;
8112 long arg3 ;
8113 wxString result;
8114 PyObject * obj0 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self",(char *) "from",(char *) "to", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 {
8129 #if wxUSE_UNICODE
8130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8131 #else
8132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8133 #endif
8134 }
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8142 PyObject *obj;
8143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8144 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8145 Py_INCREF(obj);
8146 return Py_BuildValue((char *)"");
8147 }
8148 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj;
8150 int arg1 ;
8151 wxMouseEvent *arg2 = 0 ;
8152 long arg3 ;
8153 long arg4 ;
8154 wxTextUrlEvent *result;
8155 PyObject * obj1 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8162 if (arg2 == NULL) {
8163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8164 }
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8182 wxMouseEvent *result;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 {
8193 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8194 result = (wxMouseEvent *) &_result_ref;
8195 }
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8201 return resultobj;
8202 fail:
8203 return NULL;
8204 }
8205
8206
8207 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8210 long result;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 resultobj = PyInt_FromLong((long)result);
8226 return resultobj;
8227 fail:
8228 return NULL;
8229 }
8230
8231
8232 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8235 long result;
8236 PyObject * obj0 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 resultobj = PyInt_FromLong((long)result);
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8258 PyObject *obj;
8259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8260 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8261 Py_INCREF(obj);
8262 return Py_BuildValue((char *)"");
8263 }
8264 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8265 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8266 return 1;
8267 }
8268
8269
8270 static PyObject *_wrap_ScrollBarNameStr_get() {
8271 PyObject *pyobj;
8272
8273 {
8274 #if wxUSE_UNICODE
8275 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8276 #else
8277 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8278 #endif
8279 }
8280 return pyobj;
8281 }
8282
8283
8284 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8285 PyObject *resultobj;
8286 wxWindow *arg1 = (wxWindow *) 0 ;
8287 int arg2 = (int) -1 ;
8288 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8289 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8290 wxSize const &arg4_defvalue = wxDefaultSize ;
8291 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8292 long arg5 = (long) wxSB_HORIZONTAL ;
8293 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8294 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8295 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8296 wxString *arg7 = (wxString *) &arg7_defvalue ;
8297 wxScrollBar *result;
8298 wxPoint temp3 ;
8299 wxSize temp4 ;
8300 bool temp7 = False ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 PyObject * obj3 = 0 ;
8304 PyObject * obj5 = 0 ;
8305 PyObject * obj6 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8312 if (obj2) {
8313 {
8314 arg3 = &temp3;
8315 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8316 }
8317 }
8318 if (obj3) {
8319 {
8320 arg4 = &temp4;
8321 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8322 }
8323 }
8324 if (obj5) {
8325 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8326 if (arg6 == NULL) {
8327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8328 }
8329 }
8330 if (obj6) {
8331 {
8332 arg7 = wxString_in_helper(obj6);
8333 if (arg7 == NULL) SWIG_fail;
8334 temp7 = True;
8335 }
8336 }
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8345 {
8346 if (temp7)
8347 delete arg7;
8348 }
8349 return resultobj;
8350 fail:
8351 {
8352 if (temp7)
8353 delete arg7;
8354 }
8355 return NULL;
8356 }
8357
8358
8359 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj;
8361 wxScrollBar *result;
8362 char *kwnames[] = {
8363 NULL
8364 };
8365
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 result = (wxScrollBar *)new wxScrollBar();
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8384 wxWindow *arg2 = (wxWindow *) 0 ;
8385 int arg3 = (int) -1 ;
8386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8388 wxSize const &arg5_defvalue = wxDefaultSize ;
8389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8390 long arg6 = (long) wxSB_HORIZONTAL ;
8391 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8392 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8393 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8394 wxString *arg8 = (wxString *) &arg8_defvalue ;
8395 bool result;
8396 wxPoint temp4 ;
8397 wxSize temp5 ;
8398 bool temp8 = False ;
8399 PyObject * obj0 = 0 ;
8400 PyObject * obj1 = 0 ;
8401 PyObject * obj3 = 0 ;
8402 PyObject * obj4 = 0 ;
8403 PyObject * obj6 = 0 ;
8404 PyObject * obj7 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8412 if (obj3) {
8413 {
8414 arg4 = &temp4;
8415 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8416 }
8417 }
8418 if (obj4) {
8419 {
8420 arg5 = &temp5;
8421 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8422 }
8423 }
8424 if (obj6) {
8425 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8426 if (arg7 == NULL) {
8427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8428 }
8429 }
8430 if (obj7) {
8431 {
8432 arg8 = wxString_in_helper(obj7);
8433 if (arg8 == NULL) SWIG_fail;
8434 temp8 = True;
8435 }
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 resultobj = PyInt_FromLong((long)result);
8445 {
8446 if (temp8)
8447 delete arg8;
8448 }
8449 return resultobj;
8450 fail:
8451 {
8452 if (temp8)
8453 delete arg8;
8454 }
8455 return NULL;
8456 }
8457
8458
8459 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8462 int result;
8463 PyObject * obj0 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 resultobj = PyInt_FromLong((long)result);
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8487 int result;
8488 PyObject * obj0 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "self", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 resultobj = PyInt_FromLong((long)result);
8503 return resultobj;
8504 fail:
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8512 int result;
8513 PyObject * obj0 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "self", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 resultobj = PyInt_FromLong((long)result);
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8537 int result;
8538 PyObject * obj0 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (int)((wxScrollBar const *)arg1)->GetRange();
8548
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 resultobj = PyInt_FromLong((long)result);
8553 return resultobj;
8554 fail:
8555 return NULL;
8556 }
8557
8558
8559 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8560 PyObject *resultobj;
8561 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8562 bool result;
8563 PyObject * obj0 = 0 ;
8564 char *kwnames[] = {
8565 (char *) "self", NULL
8566 };
8567
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 resultobj = PyInt_FromLong((long)result);
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj;
8586 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8587 int arg2 ;
8588 PyObject * obj0 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "viewStart", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 (arg1)->SetThumbPosition(arg2);
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 Py_INCREF(Py_None); resultobj = Py_None;
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8612 int arg2 ;
8613 int arg3 ;
8614 int arg4 ;
8615 int arg5 ;
8616 bool arg6 = (bool) True ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj5 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8625 if (obj5) {
8626 arg6 = PyInt_AsLong(obj5) ? true : false;
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 Py_INCREF(Py_None); resultobj = Py_None;
8637 return resultobj;
8638 fail:
8639 return NULL;
8640 }
8641
8642
8643 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8644 PyObject *obj;
8645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8646 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8647 Py_INCREF(obj);
8648 return Py_BuildValue((char *)"");
8649 }
8650 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8651 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8652 return 1;
8653 }
8654
8655
8656 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8657 PyObject *pyobj;
8658
8659 {
8660 #if wxUSE_UNICODE
8661 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8662 #else
8663 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8664 #endif
8665 }
8666 return pyobj;
8667 }
8668
8669
8670 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8671 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8672 return 1;
8673 }
8674
8675
8676 static PyObject *_wrap_SpinCtrlNameStr_get() {
8677 PyObject *pyobj;
8678
8679 {
8680 #if wxUSE_UNICODE
8681 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8682 #else
8683 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8684 #endif
8685 }
8686 return pyobj;
8687 }
8688
8689
8690 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxWindow *arg1 = (wxWindow *) 0 ;
8693 int arg2 = (int) -1 ;
8694 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8695 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8696 wxSize const &arg4_defvalue = wxDefaultSize ;
8697 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8698 long arg5 = (long) wxSP_HORIZONTAL ;
8699 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8700 wxString *arg6 = (wxString *) &arg6_defvalue ;
8701 wxSpinButton *result;
8702 wxPoint temp3 ;
8703 wxSize temp4 ;
8704 bool temp6 = False ;
8705 PyObject * obj0 = 0 ;
8706 PyObject * obj2 = 0 ;
8707 PyObject * obj3 = 0 ;
8708 PyObject * obj5 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8715 if (obj2) {
8716 {
8717 arg3 = &temp3;
8718 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8719 }
8720 }
8721 if (obj3) {
8722 {
8723 arg4 = &temp4;
8724 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8725 }
8726 }
8727 if (obj5) {
8728 {
8729 arg6 = wxString_in_helper(obj5);
8730 if (arg6 == NULL) SWIG_fail;
8731 temp6 = True;
8732 }
8733 }
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8742 {
8743 if (temp6)
8744 delete arg6;
8745 }
8746 return resultobj;
8747 fail:
8748 {
8749 if (temp6)
8750 delete arg6;
8751 }
8752 return NULL;
8753 }
8754
8755
8756 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8757 PyObject *resultobj;
8758 wxSpinButton *result;
8759 char *kwnames[] = {
8760 NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (wxSpinButton *)new wxSpinButton();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8781 wxWindow *arg2 = (wxWindow *) 0 ;
8782 int arg3 = (int) -1 ;
8783 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8784 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8785 wxSize const &arg5_defvalue = wxDefaultSize ;
8786 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8787 long arg6 = (long) wxSP_HORIZONTAL ;
8788 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8789 wxString *arg7 = (wxString *) &arg7_defvalue ;
8790 bool result;
8791 wxPoint temp4 ;
8792 wxSize temp5 ;
8793 bool temp7 = False ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 PyObject * obj3 = 0 ;
8797 PyObject * obj4 = 0 ;
8798 PyObject * obj6 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8806 if (obj3) {
8807 {
8808 arg4 = &temp4;
8809 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8810 }
8811 }
8812 if (obj4) {
8813 {
8814 arg5 = &temp5;
8815 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8816 }
8817 }
8818 if (obj6) {
8819 {
8820 arg7 = wxString_in_helper(obj6);
8821 if (arg7 == NULL) SWIG_fail;
8822 temp7 = True;
8823 }
8824 }
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 resultobj = PyInt_FromLong((long)result);
8833 {
8834 if (temp7)
8835 delete arg7;
8836 }
8837 return resultobj;
8838 fail:
8839 {
8840 if (temp7)
8841 delete arg7;
8842 }
8843 return NULL;
8844 }
8845
8846
8847 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj;
8849 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8850 int result;
8851 PyObject * obj0 = 0 ;
8852 char *kwnames[] = {
8853 (char *) "self", NULL
8854 };
8855
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 result = (int)((wxSpinButton const *)arg1)->GetValue();
8861
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 resultobj = PyInt_FromLong((long)result);
8866 return resultobj;
8867 fail:
8868 return NULL;
8869 }
8870
8871
8872 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8873 PyObject *resultobj;
8874 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8875 int result;
8876 PyObject * obj0 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8883 {
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 result = (int)((wxSpinButton const *)arg1)->GetMin();
8886
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
8890 resultobj = PyInt_FromLong((long)result);
8891 return resultobj;
8892 fail:
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8900 int result;
8901 PyObject * obj0 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 result = (int)((wxSpinButton const *)arg1)->GetMax();
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 resultobj = PyInt_FromLong((long)result);
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8925 int arg2 ;
8926 PyObject * obj0 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self",(char *) "val", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 (arg1)->SetValue(arg2);
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 Py_INCREF(Py_None); resultobj = Py_None;
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8950 int arg2 ;
8951 PyObject * obj0 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "minVal", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 (arg1)->SetMin(arg2);
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 Py_INCREF(Py_None); resultobj = Py_None;
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8975 int arg2 ;
8976 PyObject * obj0 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "maxVal", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 (arg1)->SetMax(arg2);
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 Py_INCREF(Py_None); resultobj = Py_None;
8991 return resultobj;
8992 fail:
8993 return NULL;
8994 }
8995
8996
8997 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj;
8999 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9000 int arg2 ;
9001 int arg3 ;
9002 PyObject * obj0 = 0 ;
9003 char *kwnames[] = {
9004 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9005 };
9006
9007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 (arg1)->SetRange(arg2,arg3);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 Py_INCREF(Py_None); resultobj = Py_None;
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9026 bool result;
9027 PyObject * obj0 = 0 ;
9028 char *kwnames[] = {
9029 (char *) "self", NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034 {
9035 PyThreadState* __tstate = wxPyBeginAllowThreads();
9036 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9037
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
9041 resultobj = PyInt_FromLong((long)result);
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9049 PyObject *obj;
9050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9051 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9052 Py_INCREF(obj);
9053 return Py_BuildValue((char *)"");
9054 }
9055 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxWindow *arg1 = (wxWindow *) 0 ;
9058 int arg2 = (int) -1 ;
9059 wxString const &arg3_defvalue = wxPyEmptyString ;
9060 wxString *arg3 = (wxString *) &arg3_defvalue ;
9061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9063 wxSize const &arg5_defvalue = wxDefaultSize ;
9064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9065 long arg6 = (long) wxSP_ARROW_KEYS ;
9066 int arg7 = (int) 0 ;
9067 int arg8 = (int) 100 ;
9068 int arg9 = (int) 0 ;
9069 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9070 wxString *arg10 = (wxString *) &arg10_defvalue ;
9071 wxSpinCtrl *result;
9072 bool temp3 = False ;
9073 wxPoint temp4 ;
9074 wxSize temp5 ;
9075 bool temp10 = False ;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj2 = 0 ;
9078 PyObject * obj3 = 0 ;
9079 PyObject * obj4 = 0 ;
9080 PyObject * obj9 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
9086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9087 if (obj2) {
9088 {
9089 arg3 = wxString_in_helper(obj2);
9090 if (arg3 == NULL) SWIG_fail;
9091 temp3 = True;
9092 }
9093 }
9094 if (obj3) {
9095 {
9096 arg4 = &temp4;
9097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9098 }
9099 }
9100 if (obj4) {
9101 {
9102 arg5 = &temp5;
9103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9104 }
9105 }
9106 if (obj9) {
9107 {
9108 arg10 = wxString_in_helper(obj9);
9109 if (arg10 == NULL) SWIG_fail;
9110 temp10 = True;
9111 }
9112 }
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9121 {
9122 if (temp3)
9123 delete arg3;
9124 }
9125 {
9126 if (temp10)
9127 delete arg10;
9128 }
9129 return resultobj;
9130 fail:
9131 {
9132 if (temp3)
9133 delete arg3;
9134 }
9135 {
9136 if (temp10)
9137 delete arg10;
9138 }
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxSpinCtrl *result;
9146 char *kwnames[] = {
9147 NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (wxSpinCtrl *)new wxSpinCtrl();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9168 wxWindow *arg2 = (wxWindow *) 0 ;
9169 int arg3 = (int) -1 ;
9170 wxString const &arg4_defvalue = wxPyEmptyString ;
9171 wxString *arg4 = (wxString *) &arg4_defvalue ;
9172 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9173 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9174 wxSize const &arg6_defvalue = wxDefaultSize ;
9175 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9176 long arg7 = (long) wxSP_ARROW_KEYS ;
9177 int arg8 = (int) 0 ;
9178 int arg9 = (int) 100 ;
9179 int arg10 = (int) 0 ;
9180 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9181 wxString *arg11 = (wxString *) &arg11_defvalue ;
9182 bool result;
9183 bool temp4 = False ;
9184 wxPoint temp5 ;
9185 wxSize temp6 ;
9186 bool temp11 = False ;
9187 PyObject * obj0 = 0 ;
9188 PyObject * obj1 = 0 ;
9189 PyObject * obj3 = 0 ;
9190 PyObject * obj4 = 0 ;
9191 PyObject * obj5 = 0 ;
9192 PyObject * obj10 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9200 if (obj3) {
9201 {
9202 arg4 = wxString_in_helper(obj3);
9203 if (arg4 == NULL) SWIG_fail;
9204 temp4 = True;
9205 }
9206 }
9207 if (obj4) {
9208 {
9209 arg5 = &temp5;
9210 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9211 }
9212 }
9213 if (obj5) {
9214 {
9215 arg6 = &temp6;
9216 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9217 }
9218 }
9219 if (obj10) {
9220 {
9221 arg11 = wxString_in_helper(obj10);
9222 if (arg11 == NULL) SWIG_fail;
9223 temp11 = True;
9224 }
9225 }
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = PyInt_FromLong((long)result);
9234 {
9235 if (temp4)
9236 delete arg4;
9237 }
9238 {
9239 if (temp11)
9240 delete arg11;
9241 }
9242 return resultobj;
9243 fail:
9244 {
9245 if (temp4)
9246 delete arg4;
9247 }
9248 {
9249 if (temp11)
9250 delete arg11;
9251 }
9252 return NULL;
9253 }
9254
9255
9256 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9259 int result;
9260 PyObject * obj0 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 resultobj = PyInt_FromLong((long)result);
9275 return resultobj;
9276 fail:
9277 return NULL;
9278 }
9279
9280
9281 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9284 int arg2 ;
9285 PyObject * obj0 = 0 ;
9286 char *kwnames[] = {
9287 (char *) "self",(char *) "value", NULL
9288 };
9289
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 (arg1)->SetValue(arg2);
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 Py_INCREF(Py_None); resultobj = Py_None;
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj;
9308 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9309 wxString *arg2 = 0 ;
9310 bool temp2 = False ;
9311 PyObject * obj0 = 0 ;
9312 PyObject * obj1 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self",(char *) "text", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9319 {
9320 arg2 = wxString_in_helper(obj1);
9321 if (arg2 == NULL) SWIG_fail;
9322 temp2 = True;
9323 }
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->SetValue((wxString const &)*arg2);
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 {
9333 if (temp2)
9334 delete arg2;
9335 }
9336 return resultobj;
9337 fail:
9338 {
9339 if (temp2)
9340 delete arg2;
9341 }
9342 return NULL;
9343 }
9344
9345
9346 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9349 int arg2 ;
9350 int arg3 ;
9351 PyObject * obj0 = 0 ;
9352 char *kwnames[] = {
9353 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9354 };
9355
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->SetRange(arg2,arg3);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 Py_INCREF(Py_None); resultobj = Py_None;
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9375 int result;
9376 PyObject * obj0 = 0 ;
9377 char *kwnames[] = {
9378 (char *) "self", NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9386
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 resultobj = PyInt_FromLong((long)result);
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj;
9399 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9400 int result;
9401 PyObject * obj0 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "self", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 resultobj = PyInt_FromLong((long)result);
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9425 long arg2 ;
9426 long arg3 ;
9427 PyObject * obj0 = 0 ;
9428 char *kwnames[] = {
9429 (char *) "self",(char *) "from",(char *) "to", NULL
9430 };
9431
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 (arg1)->SetSelection(arg2,arg3);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 Py_INCREF(Py_None); resultobj = Py_None;
9442 return resultobj;
9443 fail:
9444 return NULL;
9445 }
9446
9447
9448 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9449 PyObject *obj;
9450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9451 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9452 Py_INCREF(obj);
9453 return Py_BuildValue((char *)"");
9454 }
9455 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9458 int arg2 = (int) 0 ;
9459 wxSpinEvent *result;
9460 char *kwnames[] = {
9461 (char *) "commandType",(char *) "winid", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SpinEvent",kwnames,&arg1,&arg2)) goto fail;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9482 int result;
9483 PyObject * obj0 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
9489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 resultobj = PyInt_FromLong((long)result);
9498 return resultobj;
9499 fail:
9500 return NULL;
9501 }
9502
9503
9504 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9505 PyObject *resultobj;
9506 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9507 int arg2 ;
9508 PyObject * obj0 = 0 ;
9509 char *kwnames[] = {
9510 (char *) "self",(char *) "pos", NULL
9511 };
9512
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->SetPosition(arg2);
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 Py_INCREF(Py_None); resultobj = Py_None;
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
9530 PyObject *obj;
9531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9532 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
9533 Py_INCREF(obj);
9534 return Py_BuildValue((char *)"");
9535 }
9536 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9537 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9538 return 1;
9539 }
9540
9541
9542 static PyObject *_wrap_RadioBoxNameStr_get() {
9543 PyObject *pyobj;
9544
9545 {
9546 #if wxUSE_UNICODE
9547 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9548 #else
9549 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9550 #endif
9551 }
9552 return pyobj;
9553 }
9554
9555
9556 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9557 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9558 return 1;
9559 }
9560
9561
9562 static PyObject *_wrap_RadioButtonNameStr_get() {
9563 PyObject *pyobj;
9564
9565 {
9566 #if wxUSE_UNICODE
9567 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9568 #else
9569 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9570 #endif
9571 }
9572 return pyobj;
9573 }
9574
9575
9576 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxWindow *arg1 = (wxWindow *) 0 ;
9579 int arg2 ;
9580 wxString *arg3 = 0 ;
9581 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9582 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9583 wxSize const &arg5_defvalue = wxDefaultSize ;
9584 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9585 int arg6 = (int) 0 ;
9586 wxString *arg7 = (wxString *) NULL ;
9587 int arg8 = (int) 0 ;
9588 long arg9 = (long) wxRA_HORIZONTAL ;
9589 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9590 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9591 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9592 wxString *arg11 = (wxString *) &arg11_defvalue ;
9593 wxRadioBox *result;
9594 bool temp3 = False ;
9595 wxPoint temp4 ;
9596 wxSize temp5 ;
9597 bool temp10 = False ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj2 = 0 ;
9600 PyObject * obj3 = 0 ;
9601 PyObject * obj4 = 0 ;
9602 PyObject * obj5 = 0 ;
9603 PyObject * obj8 = 0 ;
9604 PyObject * obj9 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 {
9612 arg3 = wxString_in_helper(obj2);
9613 if (arg3 == NULL) SWIG_fail;
9614 temp3 = True;
9615 }
9616 if (obj3) {
9617 {
9618 arg4 = &temp4;
9619 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9620 }
9621 }
9622 if (obj4) {
9623 {
9624 arg5 = &temp5;
9625 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9626 }
9627 }
9628 if (obj5) {
9629 {
9630 arg6 = PyList_Size(obj5);
9631 arg7 = wxString_LIST_helper(obj5);
9632 if (arg7 == NULL) SWIG_fail;
9633 }
9634 }
9635 if (obj8) {
9636 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 if (arg10 == NULL) {
9638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9639 }
9640 }
9641 if (obj9) {
9642 {
9643 arg11 = wxString_in_helper(obj9);
9644 if (arg11 == NULL) SWIG_fail;
9645 temp10 = True;
9646 }
9647 }
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 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);
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9656 {
9657 if (temp3)
9658 delete arg3;
9659 }
9660 {
9661 if (arg7) delete [] arg7;
9662 }
9663 {
9664 if (temp10)
9665 delete arg11;
9666 }
9667 return resultobj;
9668 fail:
9669 {
9670 if (temp3)
9671 delete arg3;
9672 }
9673 {
9674 if (arg7) delete [] arg7;
9675 }
9676 {
9677 if (temp10)
9678 delete arg11;
9679 }
9680 return NULL;
9681 }
9682
9683
9684 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9685 PyObject *resultobj;
9686 wxRadioBox *result;
9687 char *kwnames[] = {
9688 NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (wxRadioBox *)new wxRadioBox();
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9709 wxWindow *arg2 = (wxWindow *) 0 ;
9710 int arg3 ;
9711 wxString *arg4 = 0 ;
9712 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9713 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9714 wxSize const &arg6_defvalue = wxDefaultSize ;
9715 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9716 int arg7 = (int) 0 ;
9717 wxString *arg8 = (wxString *) NULL ;
9718 int arg9 = (int) 0 ;
9719 long arg10 = (long) wxRA_HORIZONTAL ;
9720 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9721 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9722 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9723 wxString *arg12 = (wxString *) &arg12_defvalue ;
9724 bool result;
9725 bool temp4 = False ;
9726 wxPoint temp5 ;
9727 wxSize temp6 ;
9728 bool temp11 = False ;
9729 PyObject * obj0 = 0 ;
9730 PyObject * obj1 = 0 ;
9731 PyObject * obj3 = 0 ;
9732 PyObject * obj4 = 0 ;
9733 PyObject * obj5 = 0 ;
9734 PyObject * obj6 = 0 ;
9735 PyObject * obj9 = 0 ;
9736 PyObject * obj10 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9744 {
9745 arg4 = wxString_in_helper(obj3);
9746 if (arg4 == NULL) SWIG_fail;
9747 temp4 = True;
9748 }
9749 if (obj4) {
9750 {
9751 arg5 = &temp5;
9752 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9753 }
9754 }
9755 if (obj5) {
9756 {
9757 arg6 = &temp6;
9758 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9759 }
9760 }
9761 if (obj6) {
9762 {
9763 arg7 = PyList_Size(obj6);
9764 arg8 = wxString_LIST_helper(obj6);
9765 if (arg8 == NULL) SWIG_fail;
9766 }
9767 }
9768 if (obj9) {
9769 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9770 if (arg11 == NULL) {
9771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9772 }
9773 }
9774 if (obj10) {
9775 {
9776 arg12 = wxString_in_helper(obj10);
9777 if (arg12 == NULL) SWIG_fail;
9778 temp11 = True;
9779 }
9780 }
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 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);
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 resultobj = PyInt_FromLong((long)result);
9789 {
9790 if (temp4)
9791 delete arg4;
9792 }
9793 {
9794 if (arg8) delete [] arg8;
9795 }
9796 {
9797 if (temp11)
9798 delete arg12;
9799 }
9800 return resultobj;
9801 fail:
9802 {
9803 if (temp4)
9804 delete arg4;
9805 }
9806 {
9807 if (arg8) delete [] arg8;
9808 }
9809 {
9810 if (temp11)
9811 delete arg12;
9812 }
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9820 int arg2 ;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self",(char *) "n", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",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 (arg1)->SetSelection(arg2);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 Py_INCREF(Py_None); resultobj = Py_None;
9836 return resultobj;
9837 fail:
9838 return NULL;
9839 }
9840
9841
9842 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9845 int result;
9846 PyObject * obj0 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 resultobj = PyInt_FromLong((long)result);
9861 return resultobj;
9862 fail:
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9870 wxString result;
9871 PyObject * obj0 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "self", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 {
9886 #if wxUSE_UNICODE
9887 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9888 #else
9889 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9890 #endif
9891 }
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9901 wxString *arg2 = 0 ;
9902 bool result;
9903 bool temp2 = False ;
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 char *kwnames[] = {
9907 (char *) "self",(char *) "s", NULL
9908 };
9909
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9912 {
9913 arg2 = wxString_in_helper(obj1);
9914 if (arg2 == NULL) SWIG_fail;
9915 temp2 = True;
9916 }
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 resultobj = PyInt_FromLong((long)result);
9925 {
9926 if (temp2)
9927 delete arg2;
9928 }
9929 return resultobj;
9930 fail:
9931 {
9932 if (temp2)
9933 delete arg2;
9934 }
9935 return NULL;
9936 }
9937
9938
9939 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject *resultobj;
9941 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9942 int result;
9943 PyObject * obj0 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "self", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = (int)((wxRadioBox const *)arg1)->GetCount();
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 resultobj = PyInt_FromLong((long)result);
9958 return resultobj;
9959 fail:
9960 return NULL;
9961 }
9962
9963
9964 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9967 wxString *arg2 = 0 ;
9968 int result;
9969 bool temp2 = False ;
9970 PyObject * obj0 = 0 ;
9971 PyObject * obj1 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "self",(char *) "s", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9978 {
9979 arg2 = wxString_in_helper(obj1);
9980 if (arg2 == NULL) SWIG_fail;
9981 temp2 = True;
9982 }
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9986
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 resultobj = PyInt_FromLong((long)result);
9991 {
9992 if (temp2)
9993 delete arg2;
9994 }
9995 return resultobj;
9996 fail:
9997 {
9998 if (temp2)
9999 delete arg2;
10000 }
10001 return NULL;
10002 }
10003
10004
10005 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj;
10007 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10008 int arg2 ;
10009 wxString result;
10010 PyObject * obj0 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "n", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 result = ((wxRadioBox const *)arg1)->GetString(arg2);
10020
10021 wxPyEndAllowThreads(__tstate);
10022 if (PyErr_Occurred()) SWIG_fail;
10023 }
10024 {
10025 #if wxUSE_UNICODE
10026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10027 #else
10028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10029 #endif
10030 }
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10040 int arg2 ;
10041 wxString *arg3 = 0 ;
10042 bool temp3 = False ;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj2 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self",(char *) "n",(char *) "label", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
10050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10051 {
10052 arg3 = wxString_in_helper(obj2);
10053 if (arg3 == NULL) SWIG_fail;
10054 temp3 = True;
10055 }
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 (arg1)->SetString(arg2,(wxString const &)*arg3);
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 Py_INCREF(Py_None); resultobj = Py_None;
10064 {
10065 if (temp3)
10066 delete arg3;
10067 }
10068 return resultobj;
10069 fail:
10070 {
10071 if (temp3)
10072 delete arg3;
10073 }
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10081 int arg2 ;
10082 bool arg3 = (bool) True ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj2 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "n",(char *) "enable", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10091 if (obj2) {
10092 arg3 = PyInt_AsLong(obj2) ? true : false;
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->Enable(arg2,arg3);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 Py_INCREF(Py_None); resultobj = Py_None;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10112 int arg2 ;
10113 bool arg3 = (bool) True ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj2 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self",(char *) "n",(char *) "show", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 if (obj2) {
10123 arg3 = PyInt_AsLong(obj2) ? true : false;
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 (arg1)->Show(arg2,arg3);
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 Py_INCREF(Py_None); resultobj = Py_None;
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10143 int result;
10144 PyObject * obj0 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "self", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 resultobj = PyInt_FromLong((long)result);
10159 return resultobj;
10160 fail:
10161 return NULL;
10162 }
10163
10164
10165 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10168 int result;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 resultobj = PyInt_FromLong((long)result);
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10193 int arg2 ;
10194 int arg3 ;
10195 long arg4 ;
10196 int result;
10197 PyObject * obj0 = 0 ;
10198 char *kwnames[] = {
10199 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10200 };
10201
10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 resultobj = PyInt_FromLong((long)result);
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10219 PyObject *obj;
10220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10221 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10222 Py_INCREF(obj);
10223 return Py_BuildValue((char *)"");
10224 }
10225 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10226 PyObject *resultobj;
10227 wxWindow *arg1 = (wxWindow *) 0 ;
10228 int arg2 ;
10229 wxString *arg3 = 0 ;
10230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10232 wxSize const &arg5_defvalue = wxDefaultSize ;
10233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10234 long arg6 = (long) 0 ;
10235 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10236 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10237 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10238 wxString *arg8 = (wxString *) &arg8_defvalue ;
10239 wxRadioButton *result;
10240 bool temp3 = False ;
10241 wxPoint temp4 ;
10242 wxSize temp5 ;
10243 bool temp8 = False ;
10244 PyObject * obj0 = 0 ;
10245 PyObject * obj2 = 0 ;
10246 PyObject * obj3 = 0 ;
10247 PyObject * obj4 = 0 ;
10248 PyObject * obj6 = 0 ;
10249 PyObject * obj7 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10256 {
10257 arg3 = wxString_in_helper(obj2);
10258 if (arg3 == NULL) SWIG_fail;
10259 temp3 = True;
10260 }
10261 if (obj3) {
10262 {
10263 arg4 = &temp4;
10264 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10265 }
10266 }
10267 if (obj4) {
10268 {
10269 arg5 = &temp5;
10270 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10271 }
10272 }
10273 if (obj6) {
10274 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10275 if (arg7 == NULL) {
10276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10277 }
10278 }
10279 if (obj7) {
10280 {
10281 arg8 = wxString_in_helper(obj7);
10282 if (arg8 == NULL) SWIG_fail;
10283 temp8 = True;
10284 }
10285 }
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10294 {
10295 if (temp3)
10296 delete arg3;
10297 }
10298 {
10299 if (temp8)
10300 delete arg8;
10301 }
10302 return resultobj;
10303 fail:
10304 {
10305 if (temp3)
10306 delete arg3;
10307 }
10308 {
10309 if (temp8)
10310 delete arg8;
10311 }
10312 return NULL;
10313 }
10314
10315
10316 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10317 PyObject *resultobj;
10318 wxRadioButton *result;
10319 char *kwnames[] = {
10320 NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 result = (wxRadioButton *)new wxRadioButton();
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10341 wxWindow *arg2 = (wxWindow *) 0 ;
10342 int arg3 ;
10343 wxString *arg4 = 0 ;
10344 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10345 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10346 wxSize const &arg6_defvalue = wxDefaultSize ;
10347 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10348 long arg7 = (long) 0 ;
10349 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10350 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10351 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10352 wxString *arg9 = (wxString *) &arg9_defvalue ;
10353 bool result;
10354 bool temp4 = False ;
10355 wxPoint temp5 ;
10356 wxSize temp6 ;
10357 bool temp9 = False ;
10358 PyObject * obj0 = 0 ;
10359 PyObject * obj1 = 0 ;
10360 PyObject * obj3 = 0 ;
10361 PyObject * obj4 = 0 ;
10362 PyObject * obj5 = 0 ;
10363 PyObject * obj7 = 0 ;
10364 PyObject * obj8 = 0 ;
10365 char *kwnames[] = {
10366 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10367 };
10368
10369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10372 {
10373 arg4 = wxString_in_helper(obj3);
10374 if (arg4 == NULL) SWIG_fail;
10375 temp4 = True;
10376 }
10377 if (obj4) {
10378 {
10379 arg5 = &temp5;
10380 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10381 }
10382 }
10383 if (obj5) {
10384 {
10385 arg6 = &temp6;
10386 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10387 }
10388 }
10389 if (obj7) {
10390 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10391 if (arg8 == NULL) {
10392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10393 }
10394 }
10395 if (obj8) {
10396 {
10397 arg9 = wxString_in_helper(obj8);
10398 if (arg9 == NULL) SWIG_fail;
10399 temp9 = True;
10400 }
10401 }
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 resultobj = PyInt_FromLong((long)result);
10410 {
10411 if (temp4)
10412 delete arg4;
10413 }
10414 {
10415 if (temp9)
10416 delete arg9;
10417 }
10418 return resultobj;
10419 fail:
10420 {
10421 if (temp4)
10422 delete arg4;
10423 }
10424 {
10425 if (temp9)
10426 delete arg9;
10427 }
10428 return NULL;
10429 }
10430
10431
10432 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10433 PyObject *resultobj;
10434 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10435 bool result;
10436 PyObject * obj0 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 result = (bool)(arg1)->GetValue();
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 resultobj = PyInt_FromLong((long)result);
10451 return resultobj;
10452 fail:
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10460 bool arg2 ;
10461 PyObject * obj0 = 0 ;
10462 PyObject * obj1 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self",(char *) "value", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10469 arg2 = PyInt_AsLong(obj1) ? true : false;
10470 if (PyErr_Occurred()) SWIG_fail;
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->SetValue(arg2);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10486 PyObject *obj;
10487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10488 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10489 Py_INCREF(obj);
10490 return Py_BuildValue((char *)"");
10491 }
10492 static int _wrap_SliderNameStr_set(PyObject *_val) {
10493 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10494 return 1;
10495 }
10496
10497
10498 static PyObject *_wrap_SliderNameStr_get() {
10499 PyObject *pyobj;
10500
10501 {
10502 #if wxUSE_UNICODE
10503 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10504 #else
10505 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10506 #endif
10507 }
10508 return pyobj;
10509 }
10510
10511
10512 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj;
10514 wxWindow *arg1 = (wxWindow *) 0 ;
10515 int arg2 ;
10516 int arg3 ;
10517 int arg4 ;
10518 int arg5 ;
10519 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10520 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10521 wxSize const &arg7_defvalue = wxDefaultSize ;
10522 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10523 long arg8 = (long) wxSL_HORIZONTAL ;
10524 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10525 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10526 wxString const &arg10_defvalue = wxPySliderNameStr ;
10527 wxString *arg10 = (wxString *) &arg10_defvalue ;
10528 wxSlider *result;
10529 wxPoint temp6 ;
10530 wxSize temp7 ;
10531 bool temp10 = False ;
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj5 = 0 ;
10534 PyObject * obj6 = 0 ;
10535 PyObject * obj8 = 0 ;
10536 PyObject * obj9 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10543 if (obj5) {
10544 {
10545 arg6 = &temp6;
10546 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10547 }
10548 }
10549 if (obj6) {
10550 {
10551 arg7 = &temp7;
10552 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10553 }
10554 }
10555 if (obj8) {
10556 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10557 if (arg9 == NULL) {
10558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10559 }
10560 }
10561 if (obj9) {
10562 {
10563 arg10 = wxString_in_helper(obj9);
10564 if (arg10 == NULL) SWIG_fail;
10565 temp10 = True;
10566 }
10567 }
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10571
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10576 {
10577 if (temp10)
10578 delete arg10;
10579 }
10580 return resultobj;
10581 fail:
10582 {
10583 if (temp10)
10584 delete arg10;
10585 }
10586 return NULL;
10587 }
10588
10589
10590 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxSlider *result;
10593 char *kwnames[] = {
10594 NULL
10595 };
10596
10597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = (wxSlider *)new wxSlider();
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj;
10614 wxSlider *arg1 = (wxSlider *) 0 ;
10615 wxWindow *arg2 = (wxWindow *) 0 ;
10616 int arg3 ;
10617 int arg4 ;
10618 int arg5 ;
10619 int arg6 ;
10620 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10621 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10622 wxSize const &arg8_defvalue = wxDefaultSize ;
10623 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10624 long arg9 = (long) wxSL_HORIZONTAL ;
10625 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10626 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10627 wxString const &arg11_defvalue = wxPySliderNameStr ;
10628 wxString *arg11 = (wxString *) &arg11_defvalue ;
10629 bool result;
10630 wxPoint temp7 ;
10631 wxSize temp8 ;
10632 bool temp11 = False ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 PyObject * obj6 = 0 ;
10636 PyObject * obj7 = 0 ;
10637 PyObject * obj9 = 0 ;
10638 PyObject * obj10 = 0 ;
10639 char *kwnames[] = {
10640 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10646 if (obj6) {
10647 {
10648 arg7 = &temp7;
10649 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10650 }
10651 }
10652 if (obj7) {
10653 {
10654 arg8 = &temp8;
10655 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10656 }
10657 }
10658 if (obj9) {
10659 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10660 if (arg10 == NULL) {
10661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10662 }
10663 }
10664 if (obj10) {
10665 {
10666 arg11 = wxString_in_helper(obj10);
10667 if (arg11 == NULL) SWIG_fail;
10668 temp11 = True;
10669 }
10670 }
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10674
10675 wxPyEndAllowThreads(__tstate);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 }
10678 resultobj = PyInt_FromLong((long)result);
10679 {
10680 if (temp11)
10681 delete arg11;
10682 }
10683 return resultobj;
10684 fail:
10685 {
10686 if (temp11)
10687 delete arg11;
10688 }
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxSlider *arg1 = (wxSlider *) 0 ;
10696 int result;
10697 PyObject * obj0 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "self", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 result = (int)((wxSlider const *)arg1)->GetValue();
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = PyInt_FromLong((long)result);
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxSlider *arg1 = (wxSlider *) 0 ;
10721 int arg2 ;
10722 PyObject * obj0 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self",(char *) "value", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 (arg1)->SetValue(arg2);
10732
10733 wxPyEndAllowThreads(__tstate);
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 Py_INCREF(Py_None); resultobj = Py_None;
10737 return resultobj;
10738 fail:
10739 return NULL;
10740 }
10741
10742
10743 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxSlider *arg1 = (wxSlider *) 0 ;
10746 int arg2 ;
10747 int arg3 ;
10748 PyObject * obj0 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 (arg1)->SetRange(arg2,arg3);
10758
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 Py_INCREF(Py_None); resultobj = Py_None;
10763 return resultobj;
10764 fail:
10765 return NULL;
10766 }
10767
10768
10769 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxSlider *arg1 = (wxSlider *) 0 ;
10772 int result;
10773 PyObject * obj0 = 0 ;
10774 char *kwnames[] = {
10775 (char *) "self", NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 result = (int)((wxSlider const *)arg1)->GetMin();
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 resultobj = PyInt_FromLong((long)result);
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxSlider *arg1 = (wxSlider *) 0 ;
10797 int result;
10798 PyObject * obj0 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 result = (int)((wxSlider const *)arg1)->GetMax();
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 resultobj = PyInt_FromLong((long)result);
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxSlider *arg1 = (wxSlider *) 0 ;
10822 int arg2 ;
10823 PyObject * obj0 = 0 ;
10824 char *kwnames[] = {
10825 (char *) "self",(char *) "minValue", NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 (arg1)->SetMin(arg2);
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 Py_INCREF(Py_None); resultobj = Py_None;
10838 return resultobj;
10839 fail:
10840 return NULL;
10841 }
10842
10843
10844 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxSlider *arg1 = (wxSlider *) 0 ;
10847 int arg2 ;
10848 PyObject * obj0 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self",(char *) "maxValue", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 (arg1)->SetMax(arg2);
10858
10859 wxPyEndAllowThreads(__tstate);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 Py_INCREF(Py_None); resultobj = Py_None;
10863 return resultobj;
10864 fail:
10865 return NULL;
10866 }
10867
10868
10869 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj;
10871 wxSlider *arg1 = (wxSlider *) 0 ;
10872 int arg2 ;
10873 PyObject * obj0 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self",(char *) "lineSize", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10880 {
10881 PyThreadState* __tstate = wxPyBeginAllowThreads();
10882 (arg1)->SetLineSize(arg2);
10883
10884 wxPyEndAllowThreads(__tstate);
10885 if (PyErr_Occurred()) SWIG_fail;
10886 }
10887 Py_INCREF(Py_None); resultobj = Py_None;
10888 return resultobj;
10889 fail:
10890 return NULL;
10891 }
10892
10893
10894 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10895 PyObject *resultobj;
10896 wxSlider *arg1 = (wxSlider *) 0 ;
10897 int arg2 ;
10898 PyObject * obj0 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "pageSize", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10905 {
10906 PyThreadState* __tstate = wxPyBeginAllowThreads();
10907 (arg1)->SetPageSize(arg2);
10908
10909 wxPyEndAllowThreads(__tstate);
10910 if (PyErr_Occurred()) SWIG_fail;
10911 }
10912 Py_INCREF(Py_None); resultobj = Py_None;
10913 return resultobj;
10914 fail:
10915 return NULL;
10916 }
10917
10918
10919 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10920 PyObject *resultobj;
10921 wxSlider *arg1 = (wxSlider *) 0 ;
10922 int result;
10923 PyObject * obj0 = 0 ;
10924 char *kwnames[] = {
10925 (char *) "self", NULL
10926 };
10927
10928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10930 {
10931 PyThreadState* __tstate = wxPyBeginAllowThreads();
10932 result = (int)((wxSlider const *)arg1)->GetLineSize();
10933
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 resultobj = PyInt_FromLong((long)result);
10938 return resultobj;
10939 fail:
10940 return NULL;
10941 }
10942
10943
10944 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj;
10946 wxSlider *arg1 = (wxSlider *) 0 ;
10947 int result;
10948 PyObject * obj0 = 0 ;
10949 char *kwnames[] = {
10950 (char *) "self", NULL
10951 };
10952
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 result = (int)((wxSlider const *)arg1)->GetPageSize();
10958
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 resultobj = PyInt_FromLong((long)result);
10963 return resultobj;
10964 fail:
10965 return NULL;
10966 }
10967
10968
10969 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10970 PyObject *resultobj;
10971 wxSlider *arg1 = (wxSlider *) 0 ;
10972 int arg2 ;
10973 PyObject * obj0 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self",(char *) "lenPixels", NULL
10976 };
10977
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 {
10981 PyThreadState* __tstate = wxPyBeginAllowThreads();
10982 (arg1)->SetThumbLength(arg2);
10983
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 Py_INCREF(Py_None); resultobj = Py_None;
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxSlider *arg1 = (wxSlider *) 0 ;
10997 int result;
10998 PyObject * obj0 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = (int)((wxSlider const *)arg1)->GetThumbLength();
11008
11009 wxPyEndAllowThreads(__tstate);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 resultobj = PyInt_FromLong((long)result);
11013 return resultobj;
11014 fail:
11015 return NULL;
11016 }
11017
11018
11019 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj;
11021 wxSlider *arg1 = (wxSlider *) 0 ;
11022 int arg2 ;
11023 int arg3 ;
11024 PyObject * obj0 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self",(char *) "n",(char *) "pos", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
11030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 (arg1)->SetTickFreq(arg2,arg3);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj;
11047 wxSlider *arg1 = (wxSlider *) 0 ;
11048 int result;
11049 PyObject * obj0 = 0 ;
11050 char *kwnames[] = {
11051 (char *) "self", NULL
11052 };
11053
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (int)((wxSlider const *)arg1)->GetTickFreq();
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 resultobj = PyInt_FromLong((long)result);
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj;
11072 wxSlider *arg1 = (wxSlider *) 0 ;
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->ClearTicks();
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxSlider *arg1 = (wxSlider *) 0 ;
11097 int arg2 ;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self",(char *) "tickPos", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->SetTick(arg2);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxSlider *arg1 = (wxSlider *) 0 ;
11122 PyObject * obj0 = 0 ;
11123 char *kwnames[] = {
11124 (char *) "self", NULL
11125 };
11126
11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 (arg1)->ClearSel();
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 Py_INCREF(Py_None); resultobj = Py_None;
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxSlider *arg1 = (wxSlider *) 0 ;
11146 int result;
11147 PyObject * obj0 = 0 ;
11148 char *kwnames[] = {
11149 (char *) "self", NULL
11150 };
11151
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 resultobj = PyInt_FromLong((long)result);
11162 return resultobj;
11163 fail:
11164 return NULL;
11165 }
11166
11167
11168 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj;
11170 wxSlider *arg1 = (wxSlider *) 0 ;
11171 int result;
11172 PyObject * obj0 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "self", NULL
11175 };
11176
11177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 result = (int)((wxSlider const *)arg1)->GetSelStart();
11182
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 resultobj = PyInt_FromLong((long)result);
11187 return resultobj;
11188 fail:
11189 return NULL;
11190 }
11191
11192
11193 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11194 PyObject *resultobj;
11195 wxSlider *arg1 = (wxSlider *) 0 ;
11196 int arg2 ;
11197 int arg3 ;
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self",(char *) "min",(char *) "max", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 (arg1)->SetSelection(arg2,arg3);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 Py_INCREF(Py_None); resultobj = Py_None;
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11220 PyObject *obj;
11221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11222 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11223 Py_INCREF(obj);
11224 return Py_BuildValue((char *)"");
11225 }
11226 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11227 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11228 return 1;
11229 }
11230
11231
11232 static PyObject *_wrap_ToggleButtonNameStr_get() {
11233 PyObject *pyobj;
11234
11235 {
11236 #if wxUSE_UNICODE
11237 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11238 #else
11239 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11240 #endif
11241 }
11242 return pyobj;
11243 }
11244
11245
11246 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxWindow *arg1 = (wxWindow *) 0 ;
11249 int arg2 ;
11250 wxString *arg3 = 0 ;
11251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11253 wxSize const &arg5_defvalue = wxDefaultSize ;
11254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11255 long arg6 = (long) 0 ;
11256 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11257 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11258 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11259 wxString *arg8 = (wxString *) &arg8_defvalue ;
11260 wxToggleButton *result;
11261 bool temp3 = False ;
11262 wxPoint temp4 ;
11263 wxSize temp5 ;
11264 bool temp8 = False ;
11265 PyObject * obj0 = 0 ;
11266 PyObject * obj2 = 0 ;
11267 PyObject * obj3 = 0 ;
11268 PyObject * obj4 = 0 ;
11269 PyObject * obj6 = 0 ;
11270 PyObject * obj7 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11277 {
11278 arg3 = wxString_in_helper(obj2);
11279 if (arg3 == NULL) SWIG_fail;
11280 temp3 = True;
11281 }
11282 if (obj3) {
11283 {
11284 arg4 = &temp4;
11285 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11286 }
11287 }
11288 if (obj4) {
11289 {
11290 arg5 = &temp5;
11291 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11292 }
11293 }
11294 if (obj6) {
11295 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11296 if (arg7 == NULL) {
11297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11298 }
11299 }
11300 if (obj7) {
11301 {
11302 arg8 = wxString_in_helper(obj7);
11303 if (arg8 == NULL) SWIG_fail;
11304 temp8 = True;
11305 }
11306 }
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
11314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11315 {
11316 if (temp3)
11317 delete arg3;
11318 }
11319 {
11320 if (temp8)
11321 delete arg8;
11322 }
11323 return resultobj;
11324 fail:
11325 {
11326 if (temp3)
11327 delete arg3;
11328 }
11329 {
11330 if (temp8)
11331 delete arg8;
11332 }
11333 return NULL;
11334 }
11335
11336
11337 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11338 PyObject *resultobj;
11339 wxToggleButton *result;
11340 char *kwnames[] = {
11341 NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (wxToggleButton *)new wxToggleButton();
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11353 return resultobj;
11354 fail:
11355 return NULL;
11356 }
11357
11358
11359 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj;
11361 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11362 wxWindow *arg2 = (wxWindow *) 0 ;
11363 int arg3 ;
11364 wxString *arg4 = 0 ;
11365 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11366 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11367 wxSize const &arg6_defvalue = wxDefaultSize ;
11368 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11369 long arg7 = (long) 0 ;
11370 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11371 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11372 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11373 wxString *arg9 = (wxString *) &arg9_defvalue ;
11374 bool result;
11375 bool temp4 = False ;
11376 wxPoint temp5 ;
11377 wxSize temp6 ;
11378 bool temp9 = False ;
11379 PyObject * obj0 = 0 ;
11380 PyObject * obj1 = 0 ;
11381 PyObject * obj3 = 0 ;
11382 PyObject * obj4 = 0 ;
11383 PyObject * obj5 = 0 ;
11384 PyObject * obj7 = 0 ;
11385 PyObject * obj8 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11393 {
11394 arg4 = wxString_in_helper(obj3);
11395 if (arg4 == NULL) SWIG_fail;
11396 temp4 = True;
11397 }
11398 if (obj4) {
11399 {
11400 arg5 = &temp5;
11401 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11402 }
11403 }
11404 if (obj5) {
11405 {
11406 arg6 = &temp6;
11407 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11408 }
11409 }
11410 if (obj7) {
11411 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11412 if (arg8 == NULL) {
11413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11414 }
11415 }
11416 if (obj8) {
11417 {
11418 arg9 = wxString_in_helper(obj8);
11419 if (arg9 == NULL) SWIG_fail;
11420 temp9 = True;
11421 }
11422 }
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 resultobj = PyInt_FromLong((long)result);
11431 {
11432 if (temp4)
11433 delete arg4;
11434 }
11435 {
11436 if (temp9)
11437 delete arg9;
11438 }
11439 return resultobj;
11440 fail:
11441 {
11442 if (temp4)
11443 delete arg4;
11444 }
11445 {
11446 if (temp9)
11447 delete arg9;
11448 }
11449 return NULL;
11450 }
11451
11452
11453 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11454 PyObject *resultobj;
11455 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11456 bool arg2 ;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self",(char *) "value", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11465 arg2 = PyInt_AsLong(obj1) ? true : false;
11466 if (PyErr_Occurred()) SWIG_fail;
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 (arg1)->SetValue(arg2);
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 Py_INCREF(Py_None); resultobj = Py_None;
11475 return resultobj;
11476 fail:
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11484 bool result;
11485 PyObject * obj0 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self", NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = PyInt_FromLong((long)result);
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11509 wxString *arg2 = 0 ;
11510 bool temp2 = False ;
11511 PyObject * obj0 = 0 ;
11512 PyObject * obj1 = 0 ;
11513 char *kwnames[] = {
11514 (char *) "self",(char *) "label", NULL
11515 };
11516
11517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11519 {
11520 arg2 = wxString_in_helper(obj1);
11521 if (arg2 == NULL) SWIG_fail;
11522 temp2 = True;
11523 }
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 (arg1)->SetLabel((wxString const &)*arg2);
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 Py_INCREF(Py_None); resultobj = Py_None;
11532 {
11533 if (temp2)
11534 delete arg2;
11535 }
11536 return resultobj;
11537 fail:
11538 {
11539 if (temp2)
11540 delete arg2;
11541 }
11542 return NULL;
11543 }
11544
11545
11546 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11547 PyObject *obj;
11548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11549 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11550 Py_INCREF(obj);
11551 return Py_BuildValue((char *)"");
11552 }
11553 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11554 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11555 return 1;
11556 }
11557
11558
11559 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11560 PyObject *pyobj;
11561
11562 {
11563 #if wxUSE_UNICODE
11564 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11565 #else
11566 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11567 #endif
11568 }
11569 return pyobj;
11570 }
11571
11572
11573 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11574 PyObject *resultobj;
11575 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11576 size_t result;
11577 PyObject * obj0 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self", NULL
11580 };
11581
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 resultobj = PyInt_FromLong((long)result);
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj;
11600 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11601 size_t arg2 ;
11602 wxWindow *result;
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "n", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11611 arg2 = (size_t) PyInt_AsLong(obj1);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (wxWindow *)(arg1)->GetPage(arg2);
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 {
11621 resultobj = wxPyMake_wxObject(result);
11622 }
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11632 int result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 resultobj = PyInt_FromLong((long)result);
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11657 size_t arg2 ;
11658 wxString *arg3 = 0 ;
11659 bool result;
11660 bool temp3 = False ;
11661 PyObject * obj0 = 0 ;
11662 PyObject * obj1 = 0 ;
11663 PyObject * obj2 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self",(char *) "n",(char *) "strText", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 arg2 = (size_t) PyInt_AsLong(obj1);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 {
11673 arg3 = wxString_in_helper(obj2);
11674 if (arg3 == NULL) SWIG_fail;
11675 temp3 = True;
11676 }
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = PyInt_FromLong((long)result);
11685 {
11686 if (temp3)
11687 delete arg3;
11688 }
11689 return resultobj;
11690 fail:
11691 {
11692 if (temp3)
11693 delete arg3;
11694 }
11695 return NULL;
11696 }
11697
11698
11699 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj;
11701 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11702 size_t arg2 ;
11703 wxString result;
11704 PyObject * obj0 = 0 ;
11705 PyObject * obj1 = 0 ;
11706 char *kwnames[] = {
11707 (char *) "self",(char *) "n", NULL
11708 };
11709
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11712 arg2 = (size_t) PyInt_AsLong(obj1);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 {
11722 #if wxUSE_UNICODE
11723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11724 #else
11725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11726 #endif
11727 }
11728 return resultobj;
11729 fail:
11730 return NULL;
11731 }
11732
11733
11734 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11735 PyObject *resultobj;
11736 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11737 wxImageList *arg2 = (wxImageList *) 0 ;
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self",(char *) "imageList", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 (arg1)->SetImageList(arg2);
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 Py_INCREF(Py_None); resultobj = Py_None;
11755 return resultobj;
11756 fail:
11757 return NULL;
11758 }
11759
11760
11761 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11764 wxImageList *arg2 = (wxImageList *) 0 ;
11765 PyObject * obj0 = 0 ;
11766 PyObject * obj1 = 0 ;
11767 char *kwnames[] = {
11768 (char *) "self",(char *) "imageList", NULL
11769 };
11770
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11774 {
11775 PyThreadState* __tstate = wxPyBeginAllowThreads();
11776 (arg1)->AssignImageList(arg2);
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 Py_INCREF(Py_None); resultobj = Py_None;
11782 return resultobj;
11783 fail:
11784 return NULL;
11785 }
11786
11787
11788 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11789 PyObject *resultobj;
11790 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11791 wxImageList *result;
11792 PyObject * obj0 = 0 ;
11793 char *kwnames[] = {
11794 (char *) "self", NULL
11795 };
11796
11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11802
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 {
11807 resultobj = wxPyMake_wxObject(result);
11808 }
11809 return resultobj;
11810 fail:
11811 return NULL;
11812 }
11813
11814
11815 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11816 PyObject *resultobj;
11817 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11818 size_t arg2 ;
11819 int result;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "self",(char *) "n", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11828 arg2 = (size_t) PyInt_AsLong(obj1);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 resultobj = PyInt_FromLong((long)result);
11838 return resultobj;
11839 fail:
11840 return NULL;
11841 }
11842
11843
11844 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11847 size_t arg2 ;
11848 int arg3 ;
11849 bool result;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self",(char *) "n",(char *) "imageId", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11858 arg2 = (size_t) PyInt_AsLong(obj1);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11863
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 resultobj = PyInt_FromLong((long)result);
11868 return resultobj;
11869 fail:
11870 return NULL;
11871 }
11872
11873
11874 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11875 PyObject *resultobj;
11876 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11877 wxSize *arg2 = 0 ;
11878 wxSize temp2 ;
11879 PyObject * obj0 = 0 ;
11880 PyObject * obj1 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self",(char *) "size", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11887 {
11888 arg2 = &temp2;
11889 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11890 }
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 (arg1)->SetPageSize((wxSize const &)*arg2);
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 Py_INCREF(Py_None); resultobj = Py_None;
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11906 PyObject *resultobj;
11907 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11908 wxSize *arg2 = 0 ;
11909 wxSize result;
11910 wxSize temp2 ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "sizePage", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11919 {
11920 arg2 = &temp2;
11921 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11922 }
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 {
11931 wxSize * resultptr;
11932 resultptr = new wxSize((wxSize &) result);
11933 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11934 }
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11944 size_t arg2 ;
11945 bool 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_DeletePage",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 = (bool)(arg1)->DeletePage(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_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj;
11972 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11973 size_t arg2 ;
11974 bool result;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 char *kwnames[] = {
11978 (char *) "self",(char *) "n", NULL
11979 };
11980
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11983 arg2 = (size_t) PyInt_AsLong(obj1);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 result = (bool)(arg1)->RemovePage(arg2);
11988
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 resultobj = PyInt_FromLong((long)result);
11993 return resultobj;
11994 fail:
11995 return NULL;
11996 }
11997
11998
11999 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj;
12001 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12002 bool result;
12003 PyObject * obj0 = 0 ;
12004 char *kwnames[] = {
12005 (char *) "self", NULL
12006 };
12007
12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
12009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 result = (bool)(arg1)->DeleteAllPages();
12013
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = PyInt_FromLong((long)result);
12018 return resultobj;
12019 fail:
12020 return NULL;
12021 }
12022
12023
12024 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12025 PyObject *resultobj;
12026 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12027 wxWindow *arg2 = (wxWindow *) 0 ;
12028 wxString *arg3 = 0 ;
12029 bool arg4 = (bool) False ;
12030 int arg5 = (int) -1 ;
12031 bool result;
12032 bool temp3 = False ;
12033 PyObject * obj0 = 0 ;
12034 PyObject * obj1 = 0 ;
12035 PyObject * obj2 = 0 ;
12036 PyObject * obj3 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 {
12045 arg3 = wxString_in_helper(obj2);
12046 if (arg3 == NULL) SWIG_fail;
12047 temp3 = True;
12048 }
12049 if (obj3) {
12050 arg4 = PyInt_AsLong(obj3) ? true : false;
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 resultobj = PyInt_FromLong((long)result);
12061 {
12062 if (temp3)
12063 delete arg3;
12064 }
12065 return resultobj;
12066 fail:
12067 {
12068 if (temp3)
12069 delete arg3;
12070 }
12071 return NULL;
12072 }
12073
12074
12075 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12078 size_t arg2 ;
12079 wxWindow *arg3 = (wxWindow *) 0 ;
12080 wxString *arg4 = 0 ;
12081 bool arg5 = (bool) False ;
12082 int arg6 = (int) -1 ;
12083 bool result;
12084 bool temp4 = False ;
12085 PyObject * obj0 = 0 ;
12086 PyObject * obj1 = 0 ;
12087 PyObject * obj2 = 0 ;
12088 PyObject * obj3 = 0 ;
12089 PyObject * obj4 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 arg2 = (size_t) PyInt_AsLong(obj1);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12099 {
12100 arg4 = wxString_in_helper(obj3);
12101 if (arg4 == NULL) SWIG_fail;
12102 temp4 = True;
12103 }
12104 if (obj4) {
12105 arg5 = PyInt_AsLong(obj4) ? true : false;
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 resultobj = PyInt_FromLong((long)result);
12116 {
12117 if (temp4)
12118 delete arg4;
12119 }
12120 return resultobj;
12121 fail:
12122 {
12123 if (temp4)
12124 delete arg4;
12125 }
12126 return NULL;
12127 }
12128
12129
12130 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj;
12132 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12133 size_t arg2 ;
12134 int result;
12135 PyObject * obj0 = 0 ;
12136 PyObject * obj1 = 0 ;
12137 char *kwnames[] = {
12138 (char *) "self",(char *) "n", NULL
12139 };
12140
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12143 arg2 = (size_t) PyInt_AsLong(obj1);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 result = (int)(arg1)->SetSelection(arg2);
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 resultobj = PyInt_FromLong((long)result);
12153 return resultobj;
12154 fail:
12155 return NULL;
12156 }
12157
12158
12159 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12160 PyObject *resultobj;
12161 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12162 bool arg2 = (bool) True ;
12163 PyObject * obj0 = 0 ;
12164 PyObject * obj1 = 0 ;
12165 char *kwnames[] = {
12166 (char *) "self",(char *) "forward", NULL
12167 };
12168
12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12171 if (obj1) {
12172 arg2 = PyInt_AsLong(obj1) ? true : false;
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 (arg1)->AdvanceSelection(arg2);
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 Py_INCREF(Py_None); resultobj = Py_None;
12183 return resultobj;
12184 fail:
12185 return NULL;
12186 }
12187
12188
12189 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12190 PyObject *obj;
12191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12192 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12193 Py_INCREF(obj);
12194 return Py_BuildValue((char *)"");
12195 }
12196 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12199 int arg2 = (int) 0 ;
12200 int arg3 = (int) -1 ;
12201 int arg4 = (int) -1 ;
12202 wxBookCtrlEvent *result;
12203 char *kwnames[] = {
12204 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12205 };
12206
12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12216 return resultobj;
12217 fail:
12218 return NULL;
12219 }
12220
12221
12222 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12225 int result;
12226 PyObject * obj0 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "self", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12236
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 }
12240 resultobj = PyInt_FromLong((long)result);
12241 return resultobj;
12242 fail:
12243 return NULL;
12244 }
12245
12246
12247 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12248 PyObject *resultobj;
12249 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12250 int arg2 ;
12251 PyObject * obj0 = 0 ;
12252 char *kwnames[] = {
12253 (char *) "self",(char *) "nSel", NULL
12254 };
12255
12256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12258 {
12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
12260 (arg1)->SetSelection(arg2);
12261
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 Py_INCREF(Py_None); resultobj = Py_None;
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12273 PyObject *resultobj;
12274 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12275 int result;
12276 PyObject * obj0 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 resultobj = PyInt_FromLong((long)result);
12291 return resultobj;
12292 fail:
12293 return NULL;
12294 }
12295
12296
12297 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12298 PyObject *resultobj;
12299 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12300 int arg2 ;
12301 PyObject * obj0 = 0 ;
12302 char *kwnames[] = {
12303 (char *) "self",(char *) "nOldSel", NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 (arg1)->SetOldSelection(arg2);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 Py_INCREF(Py_None); resultobj = Py_None;
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12323 PyObject *obj;
12324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12325 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12326 Py_INCREF(obj);
12327 return Py_BuildValue((char *)"");
12328 }
12329 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12330 PyObject *resultobj;
12331 wxWindow *arg1 = (wxWindow *) 0 ;
12332 int arg2 ;
12333 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12334 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12335 wxSize const &arg4_defvalue = wxDefaultSize ;
12336 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12337 long arg5 = (long) 0 ;
12338 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12339 wxString *arg6 = (wxString *) &arg6_defvalue ;
12340 wxNotebook *result;
12341 wxPoint temp3 ;
12342 wxSize temp4 ;
12343 bool temp6 = False ;
12344 PyObject * obj0 = 0 ;
12345 PyObject * obj2 = 0 ;
12346 PyObject * obj3 = 0 ;
12347 PyObject * obj5 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12354 if (obj2) {
12355 {
12356 arg3 = &temp3;
12357 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12358 }
12359 }
12360 if (obj3) {
12361 {
12362 arg4 = &temp4;
12363 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12364 }
12365 }
12366 if (obj5) {
12367 {
12368 arg6 = wxString_in_helper(obj5);
12369 if (arg6 == NULL) SWIG_fail;
12370 temp6 = True;
12371 }
12372 }
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 {
12381 resultobj = wxPyMake_wxObject(result);
12382 }
12383 {
12384 if (temp6)
12385 delete arg6;
12386 }
12387 return resultobj;
12388 fail:
12389 {
12390 if (temp6)
12391 delete arg6;
12392 }
12393 return NULL;
12394 }
12395
12396
12397 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj;
12399 wxNotebook *result;
12400 char *kwnames[] = {
12401 NULL
12402 };
12403
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12405 {
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 result = (wxNotebook *)new wxNotebook();
12408
12409 wxPyEndAllowThreads(__tstate);
12410 if (PyErr_Occurred()) SWIG_fail;
12411 }
12412 {
12413 resultobj = wxPyMake_wxObject(result);
12414 }
12415 return resultobj;
12416 fail:
12417 return NULL;
12418 }
12419
12420
12421 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12422 PyObject *resultobj;
12423 wxNotebook *arg1 = (wxNotebook *) 0 ;
12424 wxWindow *arg2 = (wxWindow *) 0 ;
12425 int arg3 ;
12426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12428 wxSize const &arg5_defvalue = wxDefaultSize ;
12429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12430 long arg6 = (long) 0 ;
12431 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12432 wxString *arg7 = (wxString *) &arg7_defvalue ;
12433 bool result;
12434 wxPoint temp4 ;
12435 wxSize temp5 ;
12436 bool temp7 = False ;
12437 PyObject * obj0 = 0 ;
12438 PyObject * obj1 = 0 ;
12439 PyObject * obj3 = 0 ;
12440 PyObject * obj4 = 0 ;
12441 PyObject * obj6 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12449 if (obj3) {
12450 {
12451 arg4 = &temp4;
12452 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12453 }
12454 }
12455 if (obj4) {
12456 {
12457 arg5 = &temp5;
12458 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12459 }
12460 }
12461 if (obj6) {
12462 {
12463 arg7 = wxString_in_helper(obj6);
12464 if (arg7 == NULL) SWIG_fail;
12465 temp7 = True;
12466 }
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = PyInt_FromLong((long)result);
12476 {
12477 if (temp7)
12478 delete arg7;
12479 }
12480 return resultobj;
12481 fail:
12482 {
12483 if (temp7)
12484 delete arg7;
12485 }
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxNotebook *arg1 = (wxNotebook *) 0 ;
12493 int result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 resultobj = PyInt_FromLong((long)result);
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxNotebook *arg1 = (wxNotebook *) 0 ;
12518 wxSize *arg2 = 0 ;
12519 wxSize temp2 ;
12520 PyObject * obj0 = 0 ;
12521 PyObject * obj1 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "self",(char *) "padding", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12528 {
12529 arg2 = &temp2;
12530 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12531 }
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->SetPadding((wxSize const &)*arg2);
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 Py_INCREF(Py_None); resultobj = Py_None;
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxNotebook *arg1 = (wxNotebook *) 0 ;
12549 wxSize *arg2 = 0 ;
12550 wxSize temp2 ;
12551 PyObject * obj0 = 0 ;
12552 PyObject * obj1 = 0 ;
12553 char *kwnames[] = {
12554 (char *) "self",(char *) "sz", NULL
12555 };
12556
12557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12559 {
12560 arg2 = &temp2;
12561 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12562 }
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 (arg1)->SetTabSize((wxSize const &)*arg2);
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 Py_INCREF(Py_None); resultobj = Py_None;
12571 return resultobj;
12572 fail:
12573 return NULL;
12574 }
12575
12576
12577 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj;
12579 wxNotebook *arg1 = (wxNotebook *) 0 ;
12580 wxPoint *arg2 = 0 ;
12581 long *arg3 = (long *) 0 ;
12582 int result;
12583 wxPoint temp2 ;
12584 long temp3 ;
12585 PyObject * obj0 = 0 ;
12586 PyObject * obj1 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self",(char *) "pt", NULL
12589 };
12590
12591 arg3 = &temp3;
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12594 {
12595 arg2 = &temp2;
12596 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12597 }
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 resultobj = PyInt_FromLong((long)result);
12606 {
12607 PyObject *o = PyInt_FromLong((long) (*arg3));
12608 resultobj = t_output_helper(resultobj,o);
12609 }
12610 return resultobj;
12611 fail:
12612 return NULL;
12613 }
12614
12615
12616 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12617 PyObject *resultobj;
12618 wxNotebook *arg1 = (wxNotebook *) 0 ;
12619 wxSize *arg2 = 0 ;
12620 wxSize result;
12621 wxSize temp2 ;
12622 PyObject * obj0 = 0 ;
12623 PyObject * obj1 = 0 ;
12624 char *kwnames[] = {
12625 (char *) "self",(char *) "sizePage", NULL
12626 };
12627
12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12630 {
12631 arg2 = &temp2;
12632 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12633 }
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 {
12642 wxSize * resultptr;
12643 resultptr = new wxSize((wxSize &) result);
12644 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12645 }
12646 return resultobj;
12647 fail:
12648 return NULL;
12649 }
12650
12651
12652 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12653 PyObject *resultobj;
12654 wxNotebook *arg1 = (wxNotebook *) 0 ;
12655 wxWindow *arg2 = (wxWindow *) 0 ;
12656 wxColour *arg3 = 0 ;
12657 wxColour temp3 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 PyObject * obj2 = 0 ;
12661 char *kwnames[] = {
12662 (char *) "self",(char *) "window",(char *) "colour", NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12668 {
12669 arg3 = &temp3;
12670 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12671 }
12672 {
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 Py_INCREF(Py_None); resultobj = Py_None;
12680 return resultobj;
12681 fail:
12682 return NULL;
12683 }
12684
12685
12686 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12687 PyObject *obj;
12688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12689 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12690 Py_INCREF(obj);
12691 return Py_BuildValue((char *)"");
12692 }
12693 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12696 int arg2 = (int) 0 ;
12697 int arg3 = (int) -1 ;
12698 int arg4 = (int) -1 ;
12699 wxNotebookEvent *result;
12700 char *kwnames[] = {
12701 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12713 return resultobj;
12714 fail:
12715 return NULL;
12716 }
12717
12718
12719 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12720 PyObject *obj;
12721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12722 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12723 Py_INCREF(obj);
12724 return Py_BuildValue((char *)"");
12725 }
12726 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxWindow *arg1 = (wxWindow *) 0 ;
12729 int arg2 ;
12730 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12731 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12732 wxSize const &arg4_defvalue = wxDefaultSize ;
12733 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12734 long arg5 = (long) 0 ;
12735 wxString const &arg6_defvalue = wxPyEmptyString ;
12736 wxString *arg6 = (wxString *) &arg6_defvalue ;
12737 wxListbook *result;
12738 wxPoint temp3 ;
12739 wxSize temp4 ;
12740 bool temp6 = False ;
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj2 = 0 ;
12743 PyObject * obj3 = 0 ;
12744 PyObject * obj5 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12751 if (obj2) {
12752 {
12753 arg3 = &temp3;
12754 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12755 }
12756 }
12757 if (obj3) {
12758 {
12759 arg4 = &temp4;
12760 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12761 }
12762 }
12763 if (obj5) {
12764 {
12765 arg6 = wxString_in_helper(obj5);
12766 if (arg6 == NULL) SWIG_fail;
12767 temp6 = True;
12768 }
12769 }
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12778 {
12779 if (temp6)
12780 delete arg6;
12781 }
12782 return resultobj;
12783 fail:
12784 {
12785 if (temp6)
12786 delete arg6;
12787 }
12788 return NULL;
12789 }
12790
12791
12792 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj;
12794 wxListbook *result;
12795 char *kwnames[] = {
12796 NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 result = (wxListbook *)new wxListbook();
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj;
12816 wxListbook *arg1 = (wxListbook *) 0 ;
12817 wxWindow *arg2 = (wxWindow *) 0 ;
12818 int arg3 ;
12819 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12820 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12821 wxSize const &arg5_defvalue = wxDefaultSize ;
12822 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12823 long arg6 = (long) 0 ;
12824 wxString const &arg7_defvalue = wxPyEmptyString ;
12825 wxString *arg7 = (wxString *) &arg7_defvalue ;
12826 bool result;
12827 wxPoint temp4 ;
12828 wxSize temp5 ;
12829 bool temp7 = False ;
12830 PyObject * obj0 = 0 ;
12831 PyObject * obj1 = 0 ;
12832 PyObject * obj3 = 0 ;
12833 PyObject * obj4 = 0 ;
12834 PyObject * obj6 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12842 if (obj3) {
12843 {
12844 arg4 = &temp4;
12845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12846 }
12847 }
12848 if (obj4) {
12849 {
12850 arg5 = &temp5;
12851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12852 }
12853 }
12854 if (obj6) {
12855 {
12856 arg7 = wxString_in_helper(obj6);
12857 if (arg7 == NULL) SWIG_fail;
12858 temp7 = True;
12859 }
12860 }
12861 {
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12864
12865 wxPyEndAllowThreads(__tstate);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 }
12868 resultobj = PyInt_FromLong((long)result);
12869 {
12870 if (temp7)
12871 delete arg7;
12872 }
12873 return resultobj;
12874 fail:
12875 {
12876 if (temp7)
12877 delete arg7;
12878 }
12879 return NULL;
12880 }
12881
12882
12883 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj;
12885 wxListbook *arg1 = (wxListbook *) 0 ;
12886 bool result;
12887 PyObject * obj0 = 0 ;
12888 char *kwnames[] = {
12889 (char *) "self", NULL
12890 };
12891
12892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = (bool)((wxListbook const *)arg1)->IsVertical();
12897
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 resultobj = PyInt_FromLong((long)result);
12902 return resultobj;
12903 fail:
12904 return NULL;
12905 }
12906
12907
12908 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12909 PyObject *obj;
12910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12911 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12912 Py_INCREF(obj);
12913 return Py_BuildValue((char *)"");
12914 }
12915 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12918 int arg2 = (int) 0 ;
12919 int arg3 = (int) -1 ;
12920 int arg4 = (int) -1 ;
12921 wxListbookEvent *result;
12922 char *kwnames[] = {
12923 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12935 return resultobj;
12936 fail:
12937 return NULL;
12938 }
12939
12940
12941 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12942 PyObject *obj;
12943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12944 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12945 Py_INCREF(obj);
12946 return Py_BuildValue((char *)"");
12947 }
12948 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj;
12950 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12951 wxBookCtrlSizer *result;
12952 PyObject * obj0 = 0 ;
12953 char *kwnames[] = {
12954 (char *) "nb", NULL
12955 };
12956
12957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12959 {
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12962
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12976 PyObject * obj0 = 0 ;
12977 char *kwnames[] = {
12978 (char *) "self", NULL
12979 };
12980
12981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 (arg1)->RecalcSizes();
12986
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 Py_INCREF(Py_None); resultobj = Py_None;
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13000 wxSize result;
13001 PyObject * obj0 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
13007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 result = (arg1)->CalcMin();
13011
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 {
13016 wxSize * resultptr;
13017 resultptr = new wxSize((wxSize &) result);
13018 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13019 }
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13029 wxBookCtrl *result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (wxBookCtrl *)(arg1)->GetControl();
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
13052 PyObject *obj;
13053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13054 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
13055 Py_INCREF(obj);
13056 return Py_BuildValue((char *)"");
13057 }
13058 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
13059 PyObject *resultobj;
13060 wxNotebook *arg1 = (wxNotebook *) 0 ;
13061 wxNotebookSizer *result;
13062 PyObject * obj0 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "nb", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
13068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
13077 return resultobj;
13078 fail:
13079 return NULL;
13080 }
13081
13082
13083 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj;
13085 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13086 PyObject * obj0 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 (arg1)->RecalcSizes();
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 Py_INCREF(Py_None); resultobj = Py_None;
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13110 wxSize result;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "self", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
13117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 result = (arg1)->CalcMin();
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 {
13126 wxSize * resultptr;
13127 resultptr = new wxSize((wxSize &) result);
13128 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13129 }
13130 return resultobj;
13131 fail:
13132 return NULL;
13133 }
13134
13135
13136 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj;
13138 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13139 wxNotebook *result;
13140 PyObject * obj0 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
13146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (wxNotebook *)(arg1)->GetNotebook();
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 {
13155 resultobj = wxPyMake_wxObject(result);
13156 }
13157 return resultobj;
13158 fail:
13159 return NULL;
13160 }
13161
13162
13163 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13164 PyObject *obj;
13165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13166 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13167 Py_INCREF(obj);
13168 return Py_BuildValue((char *)"");
13169 }
13170 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj;
13172 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13173 int result;
13174 PyObject * obj0 = 0 ;
13175 char *kwnames[] = {
13176 (char *) "self", NULL
13177 };
13178
13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (int)(arg1)->GetId();
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 resultobj = PyInt_FromLong((long)result);
13189 return resultobj;
13190 fail:
13191 return NULL;
13192 }
13193
13194
13195 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13196 PyObject *resultobj;
13197 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13198 wxControl *result;
13199 PyObject * obj0 = 0 ;
13200 char *kwnames[] = {
13201 (char *) "self", NULL
13202 };
13203
13204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 result = (wxControl *)(arg1)->GetControl();
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 {
13214 resultobj = wxPyMake_wxObject(result);
13215 }
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13225 wxToolBarBase *result;
13226 PyObject * obj0 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 result = (wxToolBarBase *)(arg1)->GetToolBar();
13236
13237 wxPyEndAllowThreads(__tstate);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 }
13240 {
13241 resultobj = wxPyMake_wxObject(result);
13242 }
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj;
13251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13252 int result;
13253 PyObject * obj0 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 result = (int)(arg1)->IsButton();
13263
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 resultobj = PyInt_FromLong((long)result);
13268 return resultobj;
13269 fail:
13270 return NULL;
13271 }
13272
13273
13274 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj;
13276 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13277 int result;
13278 PyObject * obj0 = 0 ;
13279 char *kwnames[] = {
13280 (char *) "self", NULL
13281 };
13282
13283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (int)(arg1)->IsControl();
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 resultobj = PyInt_FromLong((long)result);
13293 return resultobj;
13294 fail:
13295 return NULL;
13296 }
13297
13298
13299 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13302 int result;
13303 PyObject * obj0 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13310 {
13311 PyThreadState* __tstate = wxPyBeginAllowThreads();
13312 result = (int)(arg1)->IsSeparator();
13313
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 resultobj = PyInt_FromLong((long)result);
13318 return resultobj;
13319 fail:
13320 return NULL;
13321 }
13322
13323
13324 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13325 PyObject *resultobj;
13326 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13327 int result;
13328 PyObject * obj0 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (int)(arg1)->GetStyle();
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 resultobj = PyInt_FromLong((long)result);
13343 return resultobj;
13344 fail:
13345 return NULL;
13346 }
13347
13348
13349 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj;
13351 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13352 int result;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 result = (int)(arg1)->GetKind();
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 resultobj = PyInt_FromLong((long)result);
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13377 bool result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 result = (bool)(arg1)->IsEnabled();
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 resultobj = PyInt_FromLong((long)result);
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13400 PyObject *resultobj;
13401 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13402 bool result;
13403 PyObject * obj0 = 0 ;
13404 char *kwnames[] = {
13405 (char *) "self", NULL
13406 };
13407
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->IsToggled();
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 resultobj = PyInt_FromLong((long)result);
13418 return resultobj;
13419 fail:
13420 return NULL;
13421 }
13422
13423
13424 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13425 PyObject *resultobj;
13426 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13427 bool result;
13428 PyObject * obj0 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 result = (bool)(arg1)->CanBeToggled();
13438
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 resultobj = PyInt_FromLong((long)result);
13443 return resultobj;
13444 fail:
13445 return NULL;
13446 }
13447
13448
13449 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj;
13451 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13452 wxBitmap *result;
13453 PyObject * obj0 = 0 ;
13454 char *kwnames[] = {
13455 (char *) "self", NULL
13456 };
13457
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 {
13463 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13464 result = (wxBitmap *) &_result_ref;
13465 }
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13471 return resultobj;
13472 fail:
13473 return NULL;
13474 }
13475
13476
13477 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj;
13479 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13480 wxBitmap *result;
13481 PyObject * obj0 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 {
13491 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13492 result = (wxBitmap *) &_result_ref;
13493 }
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13499 return resultobj;
13500 fail:
13501 return NULL;
13502 }
13503
13504
13505 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13508 wxBitmap result;
13509 PyObject * obj0 = 0 ;
13510 char *kwnames[] = {
13511 (char *) "self", NULL
13512 };
13513
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (arg1)->GetBitmap();
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524 wxBitmap * resultptr;
13525 resultptr = new wxBitmap((wxBitmap &) result);
13526 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13527 }
13528 return resultobj;
13529 fail:
13530 return NULL;
13531 }
13532
13533
13534 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13535 PyObject *resultobj;
13536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13537 wxString result;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 result = (arg1)->GetLabel();
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 {
13553 #if wxUSE_UNICODE
13554 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13555 #else
13556 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13557 #endif
13558 }
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13568 wxString result;
13569 PyObject * obj0 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13576 {
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 result = (arg1)->GetShortHelp();
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 #if wxUSE_UNICODE
13585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13586 #else
13587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13588 #endif
13589 }
13590 return resultobj;
13591 fail:
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13599 wxString result;
13600 PyObject * obj0 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (arg1)->GetLongHelp();
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 {
13615 #if wxUSE_UNICODE
13616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13617 #else
13618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13619 #endif
13620 }
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13630 bool arg2 ;
13631 bool result;
13632 PyObject * obj0 = 0 ;
13633 PyObject * obj1 = 0 ;
13634 char *kwnames[] = {
13635 (char *) "self",(char *) "enable", NULL
13636 };
13637
13638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13640 arg2 = PyInt_AsLong(obj1) ? true : false;
13641 if (PyErr_Occurred()) SWIG_fail;
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 result = (bool)(arg1)->Enable(arg2);
13645
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 resultobj = PyInt_FromLong((long)result);
13650 return resultobj;
13651 fail:
13652 return NULL;
13653 }
13654
13655
13656 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13659 PyObject * obj0 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "self", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 (arg1)->Toggle();
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 Py_INCREF(Py_None); resultobj = Py_None;
13674 return resultobj;
13675 fail:
13676 return NULL;
13677 }
13678
13679
13680 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13683 bool arg2 ;
13684 bool result;
13685 PyObject * obj0 = 0 ;
13686 PyObject * obj1 = 0 ;
13687 char *kwnames[] = {
13688 (char *) "self",(char *) "toggle", NULL
13689 };
13690
13691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13693 arg2 = PyInt_AsLong(obj1) ? true : false;
13694 if (PyErr_Occurred()) SWIG_fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (bool)(arg1)->SetToggle(arg2);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 resultobj = PyInt_FromLong((long)result);
13703 return resultobj;
13704 fail:
13705 return NULL;
13706 }
13707
13708
13709 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13712 wxString *arg2 = 0 ;
13713 bool result;
13714 bool temp2 = False ;
13715 PyObject * obj0 = 0 ;
13716 PyObject * obj1 = 0 ;
13717 char *kwnames[] = {
13718 (char *) "self",(char *) "help", NULL
13719 };
13720
13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13723 {
13724 arg2 = wxString_in_helper(obj1);
13725 if (arg2 == NULL) SWIG_fail;
13726 temp2 = True;
13727 }
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 resultobj = PyInt_FromLong((long)result);
13736 {
13737 if (temp2)
13738 delete arg2;
13739 }
13740 return resultobj;
13741 fail:
13742 {
13743 if (temp2)
13744 delete arg2;
13745 }
13746 return NULL;
13747 }
13748
13749
13750 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13753 wxString *arg2 = 0 ;
13754 bool result;
13755 bool temp2 = False ;
13756 PyObject * obj0 = 0 ;
13757 PyObject * obj1 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "self",(char *) "help", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13764 {
13765 arg2 = wxString_in_helper(obj1);
13766 if (arg2 == NULL) SWIG_fail;
13767 temp2 = True;
13768 }
13769 {
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13772
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 resultobj = PyInt_FromLong((long)result);
13777 {
13778 if (temp2)
13779 delete arg2;
13780 }
13781 return resultobj;
13782 fail:
13783 {
13784 if (temp2)
13785 delete arg2;
13786 }
13787 return NULL;
13788 }
13789
13790
13791 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13792 PyObject *resultobj;
13793 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13794 wxBitmap *arg2 = 0 ;
13795 PyObject * obj0 = 0 ;
13796 PyObject * obj1 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self",(char *) "bmp", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13804 if (arg2 == NULL) {
13805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13806 }
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 Py_INCREF(Py_None); resultobj = Py_None;
13815 return resultobj;
13816 fail:
13817 return NULL;
13818 }
13819
13820
13821 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj;
13823 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13824 wxBitmap *arg2 = 0 ;
13825 PyObject * obj0 = 0 ;
13826 PyObject * obj1 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "self",(char *) "bmp", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13834 if (arg2 == NULL) {
13835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13836 }
13837 {
13838 PyThreadState* __tstate = wxPyBeginAllowThreads();
13839 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13840
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 Py_INCREF(Py_None); resultobj = Py_None;
13845 return resultobj;
13846 fail:
13847 return NULL;
13848 }
13849
13850
13851 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13852 PyObject *resultobj;
13853 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13854 wxString *arg2 = 0 ;
13855 bool temp2 = False ;
13856 PyObject * obj0 = 0 ;
13857 PyObject * obj1 = 0 ;
13858 char *kwnames[] = {
13859 (char *) "self",(char *) "label", NULL
13860 };
13861
13862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13864 {
13865 arg2 = wxString_in_helper(obj1);
13866 if (arg2 == NULL) SWIG_fail;
13867 temp2 = True;
13868 }
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 (arg1)->SetLabel((wxString const &)*arg2);
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 Py_INCREF(Py_None); resultobj = Py_None;
13877 {
13878 if (temp2)
13879 delete arg2;
13880 }
13881 return resultobj;
13882 fail:
13883 {
13884 if (temp2)
13885 delete arg2;
13886 }
13887 return NULL;
13888 }
13889
13890
13891 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13892 PyObject *resultobj;
13893 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13894 PyObject * obj0 = 0 ;
13895 char *kwnames[] = {
13896 (char *) "self", NULL
13897 };
13898
13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13901 {
13902 PyThreadState* __tstate = wxPyBeginAllowThreads();
13903 (arg1)->Detach();
13904
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 Py_INCREF(Py_None); resultobj = Py_None;
13909 return resultobj;
13910 fail:
13911 return NULL;
13912 }
13913
13914
13915 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13916 PyObject *resultobj;
13917 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13918 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "self",(char *) "tbar", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 (arg1)->Attach(arg2);
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 Py_INCREF(Py_None); resultobj = Py_None;
13936 return resultobj;
13937 fail:
13938 return NULL;
13939 }
13940
13941
13942 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj;
13944 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13945 PyObject *result;
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 resultobj = result;
13961 return resultobj;
13962 fail:
13963 return NULL;
13964 }
13965
13966
13967 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13970 PyObject *arg2 = (PyObject *) 0 ;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self",(char *) "clientData", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13979 arg2 = obj1;
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 wxToolBarToolBase_SetClientData(arg1,arg2);
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 Py_INCREF(Py_None); resultobj = Py_None;
13988 return resultobj;
13989 fail:
13990 return NULL;
13991 }
13992
13993
13994 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13995 PyObject *obj;
13996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13997 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13998 Py_INCREF(obj);
13999 return Py_BuildValue((char *)"");
14000 }
14001 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14002 PyObject *resultobj;
14003 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14004 int arg2 ;
14005 wxString *arg3 = 0 ;
14006 wxBitmap *arg4 = 0 ;
14007 wxBitmap const &arg5_defvalue = wxNullBitmap ;
14008 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
14009 int arg6 = (int) wxITEM_NORMAL ;
14010 wxString const &arg7_defvalue = wxPyEmptyString ;
14011 wxString *arg7 = (wxString *) &arg7_defvalue ;
14012 wxString const &arg8_defvalue = wxPyEmptyString ;
14013 wxString *arg8 = (wxString *) &arg8_defvalue ;
14014 PyObject *arg9 = (PyObject *) NULL ;
14015 wxToolBarToolBase *result;
14016 bool temp3 = False ;
14017 bool temp7 = False ;
14018 bool temp8 = False ;
14019 PyObject * obj0 = 0 ;
14020 PyObject * obj2 = 0 ;
14021 PyObject * obj3 = 0 ;
14022 PyObject * obj4 = 0 ;
14023 PyObject * obj6 = 0 ;
14024 PyObject * obj7 = 0 ;
14025 PyObject * obj8 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
14031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14032 {
14033 arg3 = wxString_in_helper(obj2);
14034 if (arg3 == NULL) SWIG_fail;
14035 temp3 = True;
14036 }
14037 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14038 if (arg4 == NULL) {
14039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14040 }
14041 if (obj4) {
14042 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14043 if (arg5 == NULL) {
14044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14045 }
14046 }
14047 if (obj6) {
14048 {
14049 arg7 = wxString_in_helper(obj6);
14050 if (arg7 == NULL) SWIG_fail;
14051 temp7 = True;
14052 }
14053 }
14054 if (obj7) {
14055 {
14056 arg8 = wxString_in_helper(obj7);
14057 if (arg8 == NULL) SWIG_fail;
14058 temp8 = True;
14059 }
14060 }
14061 if (obj8) {
14062 arg9 = obj8;
14063 }
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 resultobj = wxPyMake_wxObject(result);
14073 }
14074 {
14075 if (temp3)
14076 delete arg3;
14077 }
14078 {
14079 if (temp7)
14080 delete arg7;
14081 }
14082 {
14083 if (temp8)
14084 delete arg8;
14085 }
14086 return resultobj;
14087 fail:
14088 {
14089 if (temp3)
14090 delete arg3;
14091 }
14092 {
14093 if (temp7)
14094 delete arg7;
14095 }
14096 {
14097 if (temp8)
14098 delete arg8;
14099 }
14100 return NULL;
14101 }
14102
14103
14104 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14105 PyObject *resultobj;
14106 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14107 size_t arg2 ;
14108 int arg3 ;
14109 wxString *arg4 = 0 ;
14110 wxBitmap *arg5 = 0 ;
14111 wxBitmap const &arg6_defvalue = wxNullBitmap ;
14112 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
14113 int arg7 = (int) wxITEM_NORMAL ;
14114 wxString const &arg8_defvalue = wxPyEmptyString ;
14115 wxString *arg8 = (wxString *) &arg8_defvalue ;
14116 wxString const &arg9_defvalue = wxPyEmptyString ;
14117 wxString *arg9 = (wxString *) &arg9_defvalue ;
14118 PyObject *arg10 = (PyObject *) NULL ;
14119 wxToolBarToolBase *result;
14120 bool temp4 = False ;
14121 bool temp8 = False ;
14122 bool temp9 = False ;
14123 PyObject * obj0 = 0 ;
14124 PyObject * obj1 = 0 ;
14125 PyObject * obj3 = 0 ;
14126 PyObject * obj4 = 0 ;
14127 PyObject * obj5 = 0 ;
14128 PyObject * obj7 = 0 ;
14129 PyObject * obj8 = 0 ;
14130 PyObject * obj9 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
14136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14137 arg2 = (size_t) PyInt_AsLong(obj1);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 {
14140 arg4 = wxString_in_helper(obj3);
14141 if (arg4 == NULL) SWIG_fail;
14142 temp4 = True;
14143 }
14144 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14145 if (arg5 == NULL) {
14146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14147 }
14148 if (obj5) {
14149 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14150 if (arg6 == NULL) {
14151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14152 }
14153 }
14154 if (obj7) {
14155 {
14156 arg8 = wxString_in_helper(obj7);
14157 if (arg8 == NULL) SWIG_fail;
14158 temp8 = True;
14159 }
14160 }
14161 if (obj8) {
14162 {
14163 arg9 = wxString_in_helper(obj8);
14164 if (arg9 == NULL) SWIG_fail;
14165 temp9 = True;
14166 }
14167 }
14168 if (obj9) {
14169 arg10 = obj9;
14170 }
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 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);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 {
14179 resultobj = wxPyMake_wxObject(result);
14180 }
14181 {
14182 if (temp4)
14183 delete arg4;
14184 }
14185 {
14186 if (temp8)
14187 delete arg8;
14188 }
14189 {
14190 if (temp9)
14191 delete arg9;
14192 }
14193 return resultobj;
14194 fail:
14195 {
14196 if (temp4)
14197 delete arg4;
14198 }
14199 {
14200 if (temp8)
14201 delete arg8;
14202 }
14203 {
14204 if (temp9)
14205 delete arg9;
14206 }
14207 return NULL;
14208 }
14209
14210
14211 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14214 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14215 wxToolBarToolBase *result;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "tool", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 {
14233 resultobj = wxPyMake_wxObject(result);
14234 }
14235 return resultobj;
14236 fail:
14237 return NULL;
14238 }
14239
14240
14241 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj;
14243 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14244 size_t arg2 ;
14245 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14246 wxToolBarToolBase *result;
14247 PyObject * obj0 = 0 ;
14248 PyObject * obj1 = 0 ;
14249 PyObject * obj2 = 0 ;
14250 char *kwnames[] = {
14251 (char *) "self",(char *) "pos",(char *) "tool", NULL
14252 };
14253
14254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14256 arg2 = (size_t) PyInt_AsLong(obj1);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 {
14267 resultobj = wxPyMake_wxObject(result);
14268 }
14269 return resultobj;
14270 fail:
14271 return NULL;
14272 }
14273
14274
14275 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14278 wxControl *arg2 = (wxControl *) 0 ;
14279 wxToolBarToolBase *result;
14280 PyObject * obj0 = 0 ;
14281 PyObject * obj1 = 0 ;
14282 char *kwnames[] = {
14283 (char *) "self",(char *) "control", NULL
14284 };
14285
14286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 {
14297 resultobj = wxPyMake_wxObject(result);
14298 }
14299 return resultobj;
14300 fail:
14301 return NULL;
14302 }
14303
14304
14305 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj;
14307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14308 size_t arg2 ;
14309 wxControl *arg3 = (wxControl *) 0 ;
14310 wxToolBarToolBase *result;
14311 PyObject * obj0 = 0 ;
14312 PyObject * obj1 = 0 ;
14313 PyObject * obj2 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "self",(char *) "pos",(char *) "control", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14320 arg2 = (size_t) PyInt_AsLong(obj1);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 {
14331 resultobj = wxPyMake_wxObject(result);
14332 }
14333 return resultobj;
14334 fail:
14335 return NULL;
14336 }
14337
14338
14339 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14340 PyObject *resultobj;
14341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14342 int arg2 ;
14343 wxControl *result;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self",(char *) "id", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (wxControl *)(arg1)->FindControl(arg2);
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 {
14359 resultobj = wxPyMake_wxObject(result);
14360 }
14361 return resultobj;
14362 fail:
14363 return NULL;
14364 }
14365
14366
14367 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14368 PyObject *resultobj;
14369 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14370 wxToolBarToolBase *result;
14371 PyObject * obj0 = 0 ;
14372 char *kwnames[] = {
14373 (char *) "self", NULL
14374 };
14375
14376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 {
14386 resultobj = wxPyMake_wxObject(result);
14387 }
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14397 size_t arg2 ;
14398 wxToolBarToolBase *result;
14399 PyObject * obj0 = 0 ;
14400 PyObject * obj1 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self",(char *) "pos", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14407 arg2 = (size_t) PyInt_AsLong(obj1);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 {
14417 resultobj = wxPyMake_wxObject(result);
14418 }
14419 return resultobj;
14420 fail:
14421 return NULL;
14422 }
14423
14424
14425 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14428 int arg2 ;
14429 wxToolBarToolBase *result;
14430 PyObject * obj0 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self",(char *) "id", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 {
14445 resultobj = wxPyMake_wxObject(result);
14446 }
14447 return resultobj;
14448 fail:
14449 return NULL;
14450 }
14451
14452
14453 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj;
14455 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14456 size_t arg2 ;
14457 bool result;
14458 PyObject * obj0 = 0 ;
14459 PyObject * obj1 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self",(char *) "pos", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14466 arg2 = (size_t) PyInt_AsLong(obj1);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 {
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 result = (bool)(arg1)->DeleteToolByPos(arg2);
14471
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 resultobj = PyInt_FromLong((long)result);
14476 return resultobj;
14477 fail:
14478 return NULL;
14479 }
14480
14481
14482 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14483 PyObject *resultobj;
14484 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14485 int arg2 ;
14486 bool result;
14487 PyObject * obj0 = 0 ;
14488 char *kwnames[] = {
14489 (char *) "self",(char *) "id", NULL
14490 };
14491
14492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 result = (bool)(arg1)->DeleteTool(arg2);
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 resultobj = PyInt_FromLong((long)result);
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 (arg1)->ClearTools();
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 Py_INCREF(Py_None); resultobj = Py_None;
14526 return resultobj;
14527 fail:
14528 return NULL;
14529 }
14530
14531
14532 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14533 PyObject *resultobj;
14534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14535 bool result;
14536 PyObject * obj0 = 0 ;
14537 char *kwnames[] = {
14538 (char *) "self", NULL
14539 };
14540
14541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 result = (bool)(arg1)->Realize();
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 resultobj = PyInt_FromLong((long)result);
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj;
14559 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14560 int arg2 ;
14561 bool arg3 ;
14562 PyObject * obj0 = 0 ;
14563 PyObject * obj2 = 0 ;
14564 char *kwnames[] = {
14565 (char *) "self",(char *) "id",(char *) "enable", NULL
14566 };
14567
14568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14570 arg3 = PyInt_AsLong(obj2) ? true : false;
14571 if (PyErr_Occurred()) SWIG_fail;
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 (arg1)->EnableTool(arg2,arg3);
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 Py_INCREF(Py_None); resultobj = Py_None;
14580 return resultobj;
14581 fail:
14582 return NULL;
14583 }
14584
14585
14586 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14587 PyObject *resultobj;
14588 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14589 int arg2 ;
14590 bool arg3 ;
14591 PyObject * obj0 = 0 ;
14592 PyObject * obj2 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self",(char *) "id",(char *) "toggle", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14599 arg3 = PyInt_AsLong(obj2) ? true : false;
14600 if (PyErr_Occurred()) SWIG_fail;
14601 {
14602 PyThreadState* __tstate = wxPyBeginAllowThreads();
14603 (arg1)->ToggleTool(arg2,arg3);
14604
14605 wxPyEndAllowThreads(__tstate);
14606 if (PyErr_Occurred()) SWIG_fail;
14607 }
14608 Py_INCREF(Py_None); resultobj = Py_None;
14609 return resultobj;
14610 fail:
14611 return NULL;
14612 }
14613
14614
14615 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14616 PyObject *resultobj;
14617 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14618 int arg2 ;
14619 bool arg3 ;
14620 PyObject * obj0 = 0 ;
14621 PyObject * obj2 = 0 ;
14622 char *kwnames[] = {
14623 (char *) "self",(char *) "id",(char *) "toggle", NULL
14624 };
14625
14626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14628 arg3 = PyInt_AsLong(obj2) ? true : false;
14629 if (PyErr_Occurred()) SWIG_fail;
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 (arg1)->SetToggle(arg2,arg3);
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 Py_INCREF(Py_None); resultobj = Py_None;
14638 return resultobj;
14639 fail:
14640 return NULL;
14641 }
14642
14643
14644 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14647 int arg2 ;
14648 PyObject *result;
14649 PyObject * obj0 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self",(char *) "id", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14656 {
14657 PyThreadState* __tstate = wxPyBeginAllowThreads();
14658 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14659
14660 wxPyEndAllowThreads(__tstate);
14661 if (PyErr_Occurred()) SWIG_fail;
14662 }
14663 resultobj = result;
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj;
14672 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14673 int arg2 ;
14674 PyObject *arg3 = (PyObject *) 0 ;
14675 PyObject * obj0 = 0 ;
14676 PyObject * obj2 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "id",(char *) "clientData", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14683 arg3 = obj2;
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 Py_INCREF(Py_None); resultobj = Py_None;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14701 int arg2 ;
14702 int result;
14703 PyObject * obj0 = 0 ;
14704 char *kwnames[] = {
14705 (char *) "self",(char *) "id", NULL
14706 };
14707
14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14710 {
14711 PyThreadState* __tstate = wxPyBeginAllowThreads();
14712 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14713
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 resultobj = PyInt_FromLong((long)result);
14718 return resultobj;
14719 fail:
14720 return NULL;
14721 }
14722
14723
14724 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14725 PyObject *resultobj;
14726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14727 int arg2 ;
14728 bool result;
14729 PyObject * obj0 = 0 ;
14730 char *kwnames[] = {
14731 (char *) "self",(char *) "id", NULL
14732 };
14733
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 result = (bool)(arg1)->GetToolState(arg2);
14739
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 resultobj = PyInt_FromLong((long)result);
14744 return resultobj;
14745 fail:
14746 return NULL;
14747 }
14748
14749
14750 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14753 int arg2 ;
14754 bool result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self",(char *) "id", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (bool)(arg1)->GetToolEnabled(arg2);
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = PyInt_FromLong((long)result);
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14779 int arg2 ;
14780 wxString *arg3 = 0 ;
14781 bool temp3 = False ;
14782 PyObject * obj0 = 0 ;
14783 PyObject * obj2 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self",(char *) "id",(char *) "helpString", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14790 {
14791 arg3 = wxString_in_helper(obj2);
14792 if (arg3 == NULL) SWIG_fail;
14793 temp3 = True;
14794 }
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 Py_INCREF(Py_None); resultobj = Py_None;
14803 {
14804 if (temp3)
14805 delete arg3;
14806 }
14807 return resultobj;
14808 fail:
14809 {
14810 if (temp3)
14811 delete arg3;
14812 }
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14820 int arg2 ;
14821 wxString result;
14822 PyObject * obj0 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self",(char *) "id", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (arg1)->GetToolShortHelp(arg2);
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 {
14837 #if wxUSE_UNICODE
14838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14839 #else
14840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14841 #endif
14842 }
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14852 int arg2 ;
14853 wxString *arg3 = 0 ;
14854 bool temp3 = False ;
14855 PyObject * obj0 = 0 ;
14856 PyObject * obj2 = 0 ;
14857 char *kwnames[] = {
14858 (char *) "self",(char *) "id",(char *) "helpString", NULL
14859 };
14860
14861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14863 {
14864 arg3 = wxString_in_helper(obj2);
14865 if (arg3 == NULL) SWIG_fail;
14866 temp3 = True;
14867 }
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 Py_INCREF(Py_None); resultobj = Py_None;
14876 {
14877 if (temp3)
14878 delete arg3;
14879 }
14880 return resultobj;
14881 fail:
14882 {
14883 if (temp3)
14884 delete arg3;
14885 }
14886 return NULL;
14887 }
14888
14889
14890 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14891 PyObject *resultobj;
14892 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14893 int arg2 ;
14894 wxString result;
14895 PyObject * obj0 = 0 ;
14896 char *kwnames[] = {
14897 (char *) "self",(char *) "id", NULL
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (arg1)->GetToolLongHelp(arg2);
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 {
14910 #if wxUSE_UNICODE
14911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14912 #else
14913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14914 #endif
14915 }
14916 return resultobj;
14917 fail:
14918 return NULL;
14919 }
14920
14921
14922 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj;
14924 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14925 int arg2 ;
14926 int arg3 ;
14927 PyObject * obj0 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self",(char *) "x",(char *) "y", NULL
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 (arg1)->SetMargins(arg2,arg3);
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 Py_INCREF(Py_None); resultobj = Py_None;
14942 return resultobj;
14943 fail:
14944 return NULL;
14945 }
14946
14947
14948 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14949 PyObject *resultobj;
14950 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14951 wxSize *arg2 = 0 ;
14952 wxSize temp2 ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 char *kwnames[] = {
14956 (char *) "self",(char *) "size", NULL
14957 };
14958
14959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14961 {
14962 arg2 = &temp2;
14963 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14964 }
14965 {
14966 PyThreadState* __tstate = wxPyBeginAllowThreads();
14967 (arg1)->SetMargins((wxSize const &)*arg2);
14968
14969 wxPyEndAllowThreads(__tstate);
14970 if (PyErr_Occurred()) SWIG_fail;
14971 }
14972 Py_INCREF(Py_None); resultobj = Py_None;
14973 return resultobj;
14974 fail:
14975 return NULL;
14976 }
14977
14978
14979 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14980 PyObject *resultobj;
14981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14982 int arg2 ;
14983 PyObject * obj0 = 0 ;
14984 char *kwnames[] = {
14985 (char *) "self",(char *) "packing", NULL
14986 };
14987
14988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 (arg1)->SetToolPacking(arg2);
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 Py_INCREF(Py_None); resultobj = Py_None;
14998 return resultobj;
14999 fail:
15000 return NULL;
15001 }
15002
15003
15004 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj;
15006 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15007 int arg2 ;
15008 PyObject * obj0 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self",(char *) "separation", NULL
15011 };
15012
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
15014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 (arg1)->SetToolSeparation(arg2);
15018
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 Py_INCREF(Py_None); resultobj = Py_None;
15023 return resultobj;
15024 fail:
15025 return NULL;
15026 }
15027
15028
15029 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15032 wxSize result;
15033 PyObject * obj0 = 0 ;
15034 char *kwnames[] = {
15035 (char *) "self", NULL
15036 };
15037
15038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (arg1)->GetToolMargins();
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 {
15048 wxSize * resultptr;
15049 resultptr = new wxSize((wxSize &) result);
15050 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15051 }
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15059 PyObject *resultobj;
15060 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15061 wxSize result;
15062 PyObject * obj0 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (arg1)->GetMargins();
15072
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 {
15077 wxSize * resultptr;
15078 resultptr = new wxSize((wxSize &) result);
15079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15080 }
15081 return resultobj;
15082 fail:
15083 return NULL;
15084 }
15085
15086
15087 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15088 PyObject *resultobj;
15089 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15090 int result;
15091 PyObject * obj0 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 result = (int)(arg1)->GetToolPacking();
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 resultobj = PyInt_FromLong((long)result);
15106 return resultobj;
15107 fail:
15108 return NULL;
15109 }
15110
15111
15112 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15113 PyObject *resultobj;
15114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15115 int result;
15116 PyObject * obj0 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 result = (int)(arg1)->GetToolSeparation();
15126
15127 wxPyEndAllowThreads(__tstate);
15128 if (PyErr_Occurred()) SWIG_fail;
15129 }
15130 resultobj = PyInt_FromLong((long)result);
15131 return resultobj;
15132 fail:
15133 return NULL;
15134 }
15135
15136
15137 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15140 int arg2 ;
15141 PyObject * obj0 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self",(char *) "nRows", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 (arg1)->SetRows(arg2);
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 Py_INCREF(Py_None); resultobj = Py_None;
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15165 int arg2 ;
15166 int arg3 ;
15167 PyObject * obj0 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "rows",(char *) "cols", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 (arg1)->SetMaxRowsCols(arg2,arg3);
15177
15178 wxPyEndAllowThreads(__tstate);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 Py_INCREF(Py_None); resultobj = Py_None;
15182 return resultobj;
15183 fail:
15184 return NULL;
15185 }
15186
15187
15188 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15191 int result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 result = (int)(arg1)->GetMaxRows();
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 resultobj = PyInt_FromLong((long)result);
15207 return resultobj;
15208 fail:
15209 return NULL;
15210 }
15211
15212
15213 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15216 int result;
15217 PyObject * obj0 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 result = (int)(arg1)->GetMaxCols();
15227
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 resultobj = PyInt_FromLong((long)result);
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15241 wxSize *arg2 = 0 ;
15242 wxSize temp2 ;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "self",(char *) "size", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15251 {
15252 arg2 = &temp2;
15253 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15254 }
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 Py_INCREF(Py_None); resultobj = Py_None;
15263 return resultobj;
15264 fail:
15265 return NULL;
15266 }
15267
15268
15269 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15272 wxSize result;
15273 PyObject * obj0 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15280 {
15281 PyThreadState* __tstate = wxPyBeginAllowThreads();
15282 result = (arg1)->GetToolBitmapSize();
15283
15284 wxPyEndAllowThreads(__tstate);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 }
15287 {
15288 wxSize * resultptr;
15289 resultptr = new wxSize((wxSize &) result);
15290 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15291 }
15292 return resultobj;
15293 fail:
15294 return NULL;
15295 }
15296
15297
15298 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15299 PyObject *resultobj;
15300 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15301 wxSize result;
15302 PyObject * obj0 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = (arg1)->GetToolSize();
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 {
15317 wxSize * resultptr;
15318 resultptr = new wxSize((wxSize &) result);
15319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15320 }
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj;
15329 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15330 int arg2 ;
15331 int arg3 ;
15332 wxToolBarToolBase *result;
15333 PyObject * obj0 = 0 ;
15334 char *kwnames[] = {
15335 (char *) "self",(char *) "x",(char *) "y", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15343
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 {
15348 resultobj = wxPyMake_wxObject(result);
15349 }
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15359 int arg2 ;
15360 wxToolBarToolBase *result;
15361 PyObject * obj0 = 0 ;
15362 char *kwnames[] = {
15363 (char *) "self",(char *) "toolid", NULL
15364 };
15365
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 {
15376 resultobj = wxPyMake_wxObject(result);
15377 }
15378 return resultobj;
15379 fail:
15380 return NULL;
15381 }
15382
15383
15384 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15387 bool result;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 result = (bool)(arg1)->IsVertical();
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 resultobj = PyInt_FromLong((long)result);
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15410 PyObject *obj;
15411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15412 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15413 Py_INCREF(obj);
15414 return Py_BuildValue((char *)"");
15415 }
15416 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj;
15418 wxWindow *arg1 = (wxWindow *) 0 ;
15419 int arg2 ;
15420 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15421 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15422 wxSize const &arg4_defvalue = wxDefaultSize ;
15423 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15424 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15425 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15426 wxString *arg6 = (wxString *) &arg6_defvalue ;
15427 wxToolBar *result;
15428 wxPoint temp3 ;
15429 wxSize temp4 ;
15430 bool temp6 = False ;
15431 PyObject * obj0 = 0 ;
15432 PyObject * obj2 = 0 ;
15433 PyObject * obj3 = 0 ;
15434 PyObject * obj5 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15441 if (obj2) {
15442 {
15443 arg3 = &temp3;
15444 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15445 }
15446 }
15447 if (obj3) {
15448 {
15449 arg4 = &temp4;
15450 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15451 }
15452 }
15453 if (obj5) {
15454 {
15455 arg6 = wxString_in_helper(obj5);
15456 if (arg6 == NULL) SWIG_fail;
15457 temp6 = True;
15458 }
15459 }
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 {
15468 resultobj = wxPyMake_wxObject(result);
15469 }
15470 {
15471 if (temp6)
15472 delete arg6;
15473 }
15474 return resultobj;
15475 fail:
15476 {
15477 if (temp6)
15478 delete arg6;
15479 }
15480 return NULL;
15481 }
15482
15483
15484 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxToolBar *result;
15487 char *kwnames[] = {
15488 NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (wxToolBar *)new wxToolBar();
15495
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
15499 {
15500 resultobj = wxPyMake_wxObject(result);
15501 }
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxToolBar *arg1 = (wxToolBar *) 0 ;
15511 wxWindow *arg2 = (wxWindow *) 0 ;
15512 int arg3 ;
15513 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15514 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15515 wxSize const &arg5_defvalue = wxDefaultSize ;
15516 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15517 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15518 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15519 wxString *arg7 = (wxString *) &arg7_defvalue ;
15520 bool result;
15521 wxPoint temp4 ;
15522 wxSize temp5 ;
15523 bool temp7 = False ;
15524 PyObject * obj0 = 0 ;
15525 PyObject * obj1 = 0 ;
15526 PyObject * obj3 = 0 ;
15527 PyObject * obj4 = 0 ;
15528 PyObject * obj6 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15536 if (obj3) {
15537 {
15538 arg4 = &temp4;
15539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15540 }
15541 }
15542 if (obj4) {
15543 {
15544 arg5 = &temp5;
15545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15546 }
15547 }
15548 if (obj6) {
15549 {
15550 arg7 = wxString_in_helper(obj6);
15551 if (arg7 == NULL) SWIG_fail;
15552 temp7 = True;
15553 }
15554 }
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 resultobj = PyInt_FromLong((long)result);
15563 {
15564 if (temp7)
15565 delete arg7;
15566 }
15567 return resultobj;
15568 fail:
15569 {
15570 if (temp7)
15571 delete arg7;
15572 }
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxToolBar *arg1 = (wxToolBar *) 0 ;
15580 int arg2 ;
15581 int arg3 ;
15582 wxToolBarToolBase *result;
15583 PyObject * obj0 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self",(char *) "x",(char *) "y", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 {
15598 resultobj = wxPyMake_wxObject(result);
15599 }
15600 return resultobj;
15601 fail:
15602 return NULL;
15603 }
15604
15605
15606 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15607 PyObject *obj;
15608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15609 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15610 Py_INCREF(obj);
15611 return Py_BuildValue((char *)"");
15612 }
15613 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15614 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15615 return 1;
15616 }
15617
15618
15619 static PyObject *_wrap_ListCtrlNameStr_get() {
15620 PyObject *pyobj;
15621
15622 {
15623 #if wxUSE_UNICODE
15624 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15625 #else
15626 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15627 #endif
15628 }
15629 return pyobj;
15630 }
15631
15632
15633 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxColour const &arg1_defvalue = wxNullColour ;
15636 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15637 wxColour const &arg2_defvalue = wxNullColour ;
15638 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15639 wxFont const &arg3_defvalue = wxNullFont ;
15640 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15641 wxListItemAttr *result;
15642 wxColour temp1 ;
15643 wxColour temp2 ;
15644 PyObject * obj0 = 0 ;
15645 PyObject * obj1 = 0 ;
15646 PyObject * obj2 = 0 ;
15647 char *kwnames[] = {
15648 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15649 };
15650
15651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15652 if (obj0) {
15653 {
15654 arg1 = &temp1;
15655 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15656 }
15657 }
15658 if (obj1) {
15659 {
15660 arg2 = &temp2;
15661 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15662 }
15663 }
15664 if (obj2) {
15665 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15666 if (arg3 == NULL) {
15667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15668 }
15669 }
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15687 wxColour *arg2 = 0 ;
15688 wxColour temp2 ;
15689 PyObject * obj0 = 0 ;
15690 PyObject * obj1 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self",(char *) "colText", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15697 {
15698 arg2 = &temp2;
15699 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15700 }
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 (arg1)->SetTextColour((wxColour const &)*arg2);
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 Py_INCREF(Py_None); resultobj = Py_None;
15709 return resultobj;
15710 fail:
15711 return NULL;
15712 }
15713
15714
15715 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15718 wxColour *arg2 = 0 ;
15719 wxColour temp2 ;
15720 PyObject * obj0 = 0 ;
15721 PyObject * obj1 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self",(char *) "colBack", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15728 {
15729 arg2 = &temp2;
15730 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15731 }
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 Py_INCREF(Py_None); resultobj = Py_None;
15740 return resultobj;
15741 fail:
15742 return NULL;
15743 }
15744
15745
15746 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15747 PyObject *resultobj;
15748 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15749 wxFont *arg2 = 0 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self",(char *) "font", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15759 if (arg2 == NULL) {
15760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15761 }
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 (arg1)->SetFont((wxFont const &)*arg2);
15765
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 Py_INCREF(Py_None); resultobj = Py_None;
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15779 bool result;
15780 PyObject * obj0 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 result = (bool)(arg1)->HasTextColour();
15790
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 resultobj = PyInt_FromLong((long)result);
15795 return resultobj;
15796 fail:
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15804 bool result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 result = (bool)(arg1)->HasBackgroundColour();
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 resultobj = PyInt_FromLong((long)result);
15820 return resultobj;
15821 fail:
15822 return NULL;
15823 }
15824
15825
15826 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15827 PyObject *resultobj;
15828 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15829 bool result;
15830 PyObject * obj0 = 0 ;
15831 char *kwnames[] = {
15832 (char *) "self", NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 result = (bool)(arg1)->HasFont();
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 resultobj = PyInt_FromLong((long)result);
15845 return resultobj;
15846 fail:
15847 return NULL;
15848 }
15849
15850
15851 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15852 PyObject *resultobj;
15853 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15854 wxColour result;
15855 PyObject * obj0 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (arg1)->GetTextColour();
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 {
15870 wxColour * resultptr;
15871 resultptr = new wxColour((wxColour &) result);
15872 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15873 }
15874 return resultobj;
15875 fail:
15876 return NULL;
15877 }
15878
15879
15880 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15881 PyObject *resultobj;
15882 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15883 wxColour result;
15884 PyObject * obj0 = 0 ;
15885 char *kwnames[] = {
15886 (char *) "self", NULL
15887 };
15888
15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 result = (arg1)->GetBackgroundColour();
15894
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 {
15899 wxColour * resultptr;
15900 resultptr = new wxColour((wxColour &) result);
15901 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15902 }
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15912 wxFont result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 result = (arg1)->GetFont();
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 {
15928 wxFont * resultptr;
15929 resultptr = new wxFont((wxFont &) result);
15930 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15931 }
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15941 PyObject * obj0 = 0 ;
15942 char *kwnames[] = {
15943 (char *) "self", NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 wxListItemAttr_Destroy(arg1);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15963 PyObject *obj;
15964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15965 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15966 Py_INCREF(obj);
15967 return Py_BuildValue((char *)"");
15968 }
15969 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 wxListItem *result;
15972 char *kwnames[] = {
15973 NULL
15974 };
15975
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 result = (wxListItem *)new wxListItem();
15980
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 {
15985 resultobj = wxPyMake_wxObject(result);
15986 }
15987 return resultobj;
15988 fail:
15989 return NULL;
15990 }
15991
15992
15993 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj;
15995 wxListItem *arg1 = (wxListItem *) 0 ;
15996 PyObject * obj0 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 delete arg1;
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 Py_INCREF(Py_None); resultobj = Py_None;
16011 return resultobj;
16012 fail:
16013 return NULL;
16014 }
16015
16016
16017 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
16018 PyObject *resultobj;
16019 wxListItem *arg1 = (wxListItem *) 0 ;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 (arg1)->Clear();
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 Py_INCREF(Py_None); resultobj = Py_None;
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj;
16043 wxListItem *arg1 = (wxListItem *) 0 ;
16044 PyObject * obj0 = 0 ;
16045 char *kwnames[] = {
16046 (char *) "self", NULL
16047 };
16048
16049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
16050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 (arg1)->ClearAttributes();
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
16058 Py_INCREF(Py_None); resultobj = Py_None;
16059 return resultobj;
16060 fail:
16061 return NULL;
16062 }
16063
16064
16065 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj;
16067 wxListItem *arg1 = (wxListItem *) 0 ;
16068 long arg2 ;
16069 PyObject * obj0 = 0 ;
16070 char *kwnames[] = {
16071 (char *) "self",(char *) "mask", NULL
16072 };
16073
16074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
16075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16076 {
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 (arg1)->SetMask(arg2);
16079
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 Py_INCREF(Py_None); resultobj = Py_None;
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16091 PyObject *resultobj;
16092 wxListItem *arg1 = (wxListItem *) 0 ;
16093 long arg2 ;
16094 PyObject * obj0 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self",(char *) "id", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
16100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16101 {
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 (arg1)->SetId(arg2);
16104
16105 wxPyEndAllowThreads(__tstate);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 }
16108 Py_INCREF(Py_None); resultobj = Py_None;
16109 return resultobj;
16110 fail:
16111 return NULL;
16112 }
16113
16114
16115 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxListItem *arg1 = (wxListItem *) 0 ;
16118 int arg2 ;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self",(char *) "col", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 (arg1)->SetColumn(arg2);
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 Py_INCREF(Py_None); resultobj = Py_None;
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16141 PyObject *resultobj;
16142 wxListItem *arg1 = (wxListItem *) 0 ;
16143 long arg2 ;
16144 PyObject * obj0 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "state", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 (arg1)->SetState(arg2);
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 Py_INCREF(Py_None); resultobj = Py_None;
16159 return resultobj;
16160 fail:
16161 return NULL;
16162 }
16163
16164
16165 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxListItem *arg1 = (wxListItem *) 0 ;
16168 long arg2 ;
16169 PyObject * obj0 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self",(char *) "stateMask", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 (arg1)->SetStateMask(arg2);
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 Py_INCREF(Py_None); resultobj = Py_None;
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxListItem *arg1 = (wxListItem *) 0 ;
16193 wxString *arg2 = 0 ;
16194 bool temp2 = False ;
16195 PyObject * obj0 = 0 ;
16196 PyObject * obj1 = 0 ;
16197 char *kwnames[] = {
16198 (char *) "self",(char *) "text", NULL
16199 };
16200
16201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16203 {
16204 arg2 = wxString_in_helper(obj1);
16205 if (arg2 == NULL) SWIG_fail;
16206 temp2 = True;
16207 }
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 (arg1)->SetText((wxString const &)*arg2);
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 Py_INCREF(Py_None); resultobj = Py_None;
16216 {
16217 if (temp2)
16218 delete arg2;
16219 }
16220 return resultobj;
16221 fail:
16222 {
16223 if (temp2)
16224 delete arg2;
16225 }
16226 return NULL;
16227 }
16228
16229
16230 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxListItem *arg1 = (wxListItem *) 0 ;
16233 int arg2 ;
16234 PyObject * obj0 = 0 ;
16235 char *kwnames[] = {
16236 (char *) "self",(char *) "image", NULL
16237 };
16238
16239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 (arg1)->SetImage(arg2);
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 Py_INCREF(Py_None); resultobj = Py_None;
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxListItem *arg1 = (wxListItem *) 0 ;
16258 long arg2 ;
16259 PyObject * obj0 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self",(char *) "data", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 (arg1)->SetData(arg2);
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 Py_INCREF(Py_None); resultobj = Py_None;
16274 return resultobj;
16275 fail:
16276 return NULL;
16277 }
16278
16279
16280 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj;
16282 wxListItem *arg1 = (wxListItem *) 0 ;
16283 int arg2 ;
16284 PyObject * obj0 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "width", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 (arg1)->SetWidth(arg2);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxListItem *arg1 = (wxListItem *) 0 ;
16308 int arg2 ;
16309 PyObject * obj0 = 0 ;
16310 char *kwnames[] = {
16311 (char *) "self",(char *) "align", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 (arg1)->SetAlign((wxListColumnFormat )arg2);
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 Py_INCREF(Py_None); resultobj = Py_None;
16324 return resultobj;
16325 fail:
16326 return NULL;
16327 }
16328
16329
16330 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxListItem *arg1 = (wxListItem *) 0 ;
16333 wxColour *arg2 = 0 ;
16334 wxColour temp2 ;
16335 PyObject * obj0 = 0 ;
16336 PyObject * obj1 = 0 ;
16337 char *kwnames[] = {
16338 (char *) "self",(char *) "colText", NULL
16339 };
16340
16341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16343 {
16344 arg2 = &temp2;
16345 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16346 }
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 (arg1)->SetTextColour((wxColour const &)*arg2);
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 Py_INCREF(Py_None); resultobj = Py_None;
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxListItem *arg1 = (wxListItem *) 0 ;
16364 wxColour *arg2 = 0 ;
16365 wxColour temp2 ;
16366 PyObject * obj0 = 0 ;
16367 PyObject * obj1 = 0 ;
16368 char *kwnames[] = {
16369 (char *) "self",(char *) "colBack", NULL
16370 };
16371
16372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16374 {
16375 arg2 = &temp2;
16376 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16377 }
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 Py_INCREF(Py_None); resultobj = Py_None;
16386 return resultobj;
16387 fail:
16388 return NULL;
16389 }
16390
16391
16392 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16393 PyObject *resultobj;
16394 wxListItem *arg1 = (wxListItem *) 0 ;
16395 wxFont *arg2 = 0 ;
16396 PyObject * obj0 = 0 ;
16397 PyObject * obj1 = 0 ;
16398 char *kwnames[] = {
16399 (char *) "self",(char *) "font", NULL
16400 };
16401
16402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 if (arg2 == NULL) {
16406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16407 }
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 (arg1)->SetFont((wxFont const &)*arg2);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 Py_INCREF(Py_None); resultobj = Py_None;
16416 return resultobj;
16417 fail:
16418 return NULL;
16419 }
16420
16421
16422 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 wxListItem *arg1 = (wxListItem *) 0 ;
16425 long result;
16426 PyObject * obj0 = 0 ;
16427 char *kwnames[] = {
16428 (char *) "self", NULL
16429 };
16430
16431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
16435 result = (long)(arg1)->GetMask();
16436
16437 wxPyEndAllowThreads(__tstate);
16438 if (PyErr_Occurred()) SWIG_fail;
16439 }
16440 resultobj = PyInt_FromLong((long)result);
16441 return resultobj;
16442 fail:
16443 return NULL;
16444 }
16445
16446
16447 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxListItem *arg1 = (wxListItem *) 0 ;
16450 long result;
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (long)(arg1)->GetId();
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 resultobj = PyInt_FromLong((long)result);
16466 return resultobj;
16467 fail:
16468 return NULL;
16469 }
16470
16471
16472 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj;
16474 wxListItem *arg1 = (wxListItem *) 0 ;
16475 int result;
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (int)(arg1)->GetColumn();
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 resultobj = PyInt_FromLong((long)result);
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxListItem *arg1 = (wxListItem *) 0 ;
16500 long result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (long)(arg1)->GetState();
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = PyInt_FromLong((long)result);
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxListItem *arg1 = (wxListItem *) 0 ;
16525 wxString *result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 {
16536 wxString const &_result_ref = (arg1)->GetText();
16537 result = (wxString *) &_result_ref;
16538 }
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 #if wxUSE_UNICODE
16545 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16546 #else
16547 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16548 #endif
16549 }
16550 return resultobj;
16551 fail:
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxListItem *arg1 = (wxListItem *) 0 ;
16559 int result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = (int)(arg1)->GetImage();
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 resultobj = PyInt_FromLong((long)result);
16575 return resultobj;
16576 fail:
16577 return NULL;
16578 }
16579
16580
16581 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxListItem *arg1 = (wxListItem *) 0 ;
16584 long result;
16585 PyObject * obj0 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self", NULL
16588 };
16589
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 result = (long)(arg1)->GetData();
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 resultobj = PyInt_FromLong((long)result);
16600 return resultobj;
16601 fail:
16602 return NULL;
16603 }
16604
16605
16606 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16607 PyObject *resultobj;
16608 wxListItem *arg1 = (wxListItem *) 0 ;
16609 int result;
16610 PyObject * obj0 = 0 ;
16611 char *kwnames[] = {
16612 (char *) "self", NULL
16613 };
16614
16615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (int)(arg1)->GetWidth();
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 resultobj = PyInt_FromLong((long)result);
16625 return resultobj;
16626 fail:
16627 return NULL;
16628 }
16629
16630
16631 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj;
16633 wxListItem *arg1 = (wxListItem *) 0 ;
16634 int result;
16635 PyObject * obj0 = 0 ;
16636 char *kwnames[] = {
16637 (char *) "self", NULL
16638 };
16639
16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (int)(arg1)->GetAlign();
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 resultobj = PyInt_FromLong((long)result);
16650 return resultobj;
16651 fail:
16652 return NULL;
16653 }
16654
16655
16656 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16657 PyObject *resultobj;
16658 wxListItem *arg1 = (wxListItem *) 0 ;
16659 wxListItemAttr *result;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (wxListItemAttr *)(arg1)->GetAttributes();
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxListItem *arg1 = (wxListItem *) 0 ;
16684 bool result;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 result = (bool)(arg1)->HasAttributes();
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 resultobj = PyInt_FromLong((long)result);
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxListItem *arg1 = (wxListItem *) 0 ;
16709 wxColour result;
16710 PyObject * obj0 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16717 {
16718 PyThreadState* __tstate = wxPyBeginAllowThreads();
16719 result = ((wxListItem const *)arg1)->GetTextColour();
16720
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 {
16725 wxColour * resultptr;
16726 resultptr = new wxColour((wxColour &) result);
16727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16728 }
16729 return resultobj;
16730 fail:
16731 return NULL;
16732 }
16733
16734
16735 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxListItem *arg1 = (wxListItem *) 0 ;
16738 wxColour result;
16739 PyObject * obj0 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
16748 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 {
16754 wxColour * resultptr;
16755 resultptr = new wxColour((wxColour &) result);
16756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16757 }
16758 return resultobj;
16759 fail:
16760 return NULL;
16761 }
16762
16763
16764 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 wxListItem *arg1 = (wxListItem *) 0 ;
16767 wxFont result;
16768 PyObject * obj0 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 result = ((wxListItem const *)arg1)->GetFont();
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 {
16783 wxFont * resultptr;
16784 resultptr = new wxFont((wxFont &) result);
16785 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16786 }
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj;
16795 wxListItem *arg1 = (wxListItem *) 0 ;
16796 long arg2 ;
16797 PyObject * obj0 = 0 ;
16798 char *kwnames[] = {
16799 (char *) "self",(char *) "m_mask", NULL
16800 };
16801
16802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16804 if (arg1) (arg1)->m_mask = arg2;
16805
16806 Py_INCREF(Py_None); resultobj = Py_None;
16807 return resultobj;
16808 fail:
16809 return NULL;
16810 }
16811
16812
16813 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16814 PyObject *resultobj;
16815 wxListItem *arg1 = (wxListItem *) 0 ;
16816 long result;
16817 PyObject * obj0 = 0 ;
16818 char *kwnames[] = {
16819 (char *) "self", NULL
16820 };
16821
16822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16824 result = (long) ((arg1)->m_mask);
16825
16826 resultobj = PyInt_FromLong((long)result);
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxListItem *arg1 = (wxListItem *) 0 ;
16836 long arg2 ;
16837 PyObject * obj0 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "self",(char *) "m_itemId", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16844 if (arg1) (arg1)->m_itemId = arg2;
16845
16846 Py_INCREF(Py_None); resultobj = Py_None;
16847 return resultobj;
16848 fail:
16849 return NULL;
16850 }
16851
16852
16853 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 wxListItem *arg1 = (wxListItem *) 0 ;
16856 long result;
16857 PyObject * obj0 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16864 result = (long) ((arg1)->m_itemId);
16865
16866 resultobj = PyInt_FromLong((long)result);
16867 return resultobj;
16868 fail:
16869 return NULL;
16870 }
16871
16872
16873 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj;
16875 wxListItem *arg1 = (wxListItem *) 0 ;
16876 int arg2 ;
16877 PyObject * obj0 = 0 ;
16878 char *kwnames[] = {
16879 (char *) "self",(char *) "m_col", NULL
16880 };
16881
16882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16884 if (arg1) (arg1)->m_col = arg2;
16885
16886 Py_INCREF(Py_None); resultobj = Py_None;
16887 return resultobj;
16888 fail:
16889 return NULL;
16890 }
16891
16892
16893 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16894 PyObject *resultobj;
16895 wxListItem *arg1 = (wxListItem *) 0 ;
16896 int result;
16897 PyObject * obj0 = 0 ;
16898 char *kwnames[] = {
16899 (char *) "self", NULL
16900 };
16901
16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16904 result = (int) ((arg1)->m_col);
16905
16906 resultobj = PyInt_FromLong((long)result);
16907 return resultobj;
16908 fail:
16909 return NULL;
16910 }
16911
16912
16913 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj;
16915 wxListItem *arg1 = (wxListItem *) 0 ;
16916 long arg2 ;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "m_state", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 if (arg1) (arg1)->m_state = arg2;
16925
16926 Py_INCREF(Py_None); resultobj = Py_None;
16927 return resultobj;
16928 fail:
16929 return NULL;
16930 }
16931
16932
16933 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16934 PyObject *resultobj;
16935 wxListItem *arg1 = (wxListItem *) 0 ;
16936 long result;
16937 PyObject * obj0 = 0 ;
16938 char *kwnames[] = {
16939 (char *) "self", NULL
16940 };
16941
16942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16944 result = (long) ((arg1)->m_state);
16945
16946 resultobj = PyInt_FromLong((long)result);
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxListItem *arg1 = (wxListItem *) 0 ;
16956 long arg2 ;
16957 PyObject * obj0 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self",(char *) "m_stateMask", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16964 if (arg1) (arg1)->m_stateMask = arg2;
16965
16966 Py_INCREF(Py_None); resultobj = Py_None;
16967 return resultobj;
16968 fail:
16969 return NULL;
16970 }
16971
16972
16973 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16974 PyObject *resultobj;
16975 wxListItem *arg1 = (wxListItem *) 0 ;
16976 long result;
16977 PyObject * obj0 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16984 result = (long) ((arg1)->m_stateMask);
16985
16986 resultobj = PyInt_FromLong((long)result);
16987 return resultobj;
16988 fail:
16989 return NULL;
16990 }
16991
16992
16993 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj;
16995 wxListItem *arg1 = (wxListItem *) 0 ;
16996 wxString *arg2 = (wxString *) 0 ;
16997 bool temp2 = False ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self",(char *) "m_text", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
17005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17006 {
17007 arg2 = wxString_in_helper(obj1);
17008 if (arg2 == NULL) SWIG_fail;
17009 temp2 = True;
17010 }
17011 if (arg1) (arg1)->m_text = *arg2;
17012
17013 Py_INCREF(Py_None); resultobj = Py_None;
17014 {
17015 if (temp2)
17016 delete arg2;
17017 }
17018 return resultobj;
17019 fail:
17020 {
17021 if (temp2)
17022 delete arg2;
17023 }
17024 return NULL;
17025 }
17026
17027
17028 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj;
17030 wxListItem *arg1 = (wxListItem *) 0 ;
17031 wxString *result;
17032 PyObject * obj0 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
17038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17039 result = (wxString *)& ((arg1)->m_text);
17040
17041 {
17042 #if wxUSE_UNICODE
17043 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17044 #else
17045 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17046 #endif
17047 }
17048 return resultobj;
17049 fail:
17050 return NULL;
17051 }
17052
17053
17054 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17055 PyObject *resultobj;
17056 wxListItem *arg1 = (wxListItem *) 0 ;
17057 int arg2 ;
17058 PyObject * obj0 = 0 ;
17059 char *kwnames[] = {
17060 (char *) "self",(char *) "m_image", NULL
17061 };
17062
17063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
17064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17065 if (arg1) (arg1)->m_image = arg2;
17066
17067 Py_INCREF(Py_None); resultobj = Py_None;
17068 return resultobj;
17069 fail:
17070 return NULL;
17071 }
17072
17073
17074 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj;
17076 wxListItem *arg1 = (wxListItem *) 0 ;
17077 int result;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
17084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17085 result = (int) ((arg1)->m_image);
17086
17087 resultobj = PyInt_FromLong((long)result);
17088 return resultobj;
17089 fail:
17090 return NULL;
17091 }
17092
17093
17094 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj;
17096 wxListItem *arg1 = (wxListItem *) 0 ;
17097 long arg2 ;
17098 PyObject * obj0 = 0 ;
17099 char *kwnames[] = {
17100 (char *) "self",(char *) "m_data", NULL
17101 };
17102
17103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
17104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17105 if (arg1) (arg1)->m_data = arg2;
17106
17107 Py_INCREF(Py_None); resultobj = Py_None;
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxListItem *arg1 = (wxListItem *) 0 ;
17117 long result;
17118 PyObject * obj0 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
17124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17125 result = (long) ((arg1)->m_data);
17126
17127 resultobj = PyInt_FromLong((long)result);
17128 return resultobj;
17129 fail:
17130 return NULL;
17131 }
17132
17133
17134 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17135 PyObject *resultobj;
17136 wxListItem *arg1 = (wxListItem *) 0 ;
17137 int arg2 ;
17138 PyObject * obj0 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "self",(char *) "m_format", NULL
17141 };
17142
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17145 if (arg1) (arg1)->m_format = arg2;
17146
17147 Py_INCREF(Py_None); resultobj = Py_None;
17148 return resultobj;
17149 fail:
17150 return NULL;
17151 }
17152
17153
17154 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17155 PyObject *resultobj;
17156 wxListItem *arg1 = (wxListItem *) 0 ;
17157 int result;
17158 PyObject * obj0 = 0 ;
17159 char *kwnames[] = {
17160 (char *) "self", NULL
17161 };
17162
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17165 result = (int) ((arg1)->m_format);
17166
17167 resultobj = PyInt_FromLong((long)result);
17168 return resultobj;
17169 fail:
17170 return NULL;
17171 }
17172
17173
17174 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxListItem *arg1 = (wxListItem *) 0 ;
17177 int arg2 ;
17178 PyObject * obj0 = 0 ;
17179 char *kwnames[] = {
17180 (char *) "self",(char *) "m_width", NULL
17181 };
17182
17183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17185 if (arg1) (arg1)->m_width = arg2;
17186
17187 Py_INCREF(Py_None); resultobj = Py_None;
17188 return resultobj;
17189 fail:
17190 return NULL;
17191 }
17192
17193
17194 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17195 PyObject *resultobj;
17196 wxListItem *arg1 = (wxListItem *) 0 ;
17197 int result;
17198 PyObject * obj0 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17205 result = (int) ((arg1)->m_width);
17206
17207 resultobj = PyInt_FromLong((long)result);
17208 return resultobj;
17209 fail:
17210 return NULL;
17211 }
17212
17213
17214 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17215 PyObject *obj;
17216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17217 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17218 Py_INCREF(obj);
17219 return Py_BuildValue((char *)"");
17220 }
17221 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17222 PyObject *resultobj;
17223 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17224 int arg2 = (int) 0 ;
17225 wxListEvent *result;
17226 char *kwnames[] = {
17227 (char *) "commandType",(char *) "id", NULL
17228 };
17229
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17239 return resultobj;
17240 fail:
17241 return NULL;
17242 }
17243
17244
17245 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxListEvent *arg1 = (wxListEvent *) 0 ;
17248 int arg2 ;
17249 PyObject * obj0 = 0 ;
17250 char *kwnames[] = {
17251 (char *) "self",(char *) "m_code", NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17256 if (arg1) (arg1)->m_code = arg2;
17257
17258 Py_INCREF(Py_None); resultobj = Py_None;
17259 return resultobj;
17260 fail:
17261 return NULL;
17262 }
17263
17264
17265 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17266 PyObject *resultobj;
17267 wxListEvent *arg1 = (wxListEvent *) 0 ;
17268 int result;
17269 PyObject * obj0 = 0 ;
17270 char *kwnames[] = {
17271 (char *) "self", NULL
17272 };
17273
17274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17276 result = (int) ((arg1)->m_code);
17277
17278 resultobj = PyInt_FromLong((long)result);
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxListEvent *arg1 = (wxListEvent *) 0 ;
17288 long arg2 ;
17289 PyObject * obj0 = 0 ;
17290 char *kwnames[] = {
17291 (char *) "self",(char *) "m_oldItemIndex", NULL
17292 };
17293
17294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17296 if (arg1) (arg1)->m_oldItemIndex = arg2;
17297
17298 Py_INCREF(Py_None); resultobj = Py_None;
17299 return resultobj;
17300 fail:
17301 return NULL;
17302 }
17303
17304
17305 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxListEvent *arg1 = (wxListEvent *) 0 ;
17308 long result;
17309 PyObject * obj0 = 0 ;
17310 char *kwnames[] = {
17311 (char *) "self", NULL
17312 };
17313
17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17316 result = (long) ((arg1)->m_oldItemIndex);
17317
17318 resultobj = PyInt_FromLong((long)result);
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17326 PyObject *resultobj;
17327 wxListEvent *arg1 = (wxListEvent *) 0 ;
17328 long arg2 ;
17329 PyObject * obj0 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self",(char *) "m_itemIndex", NULL
17332 };
17333
17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17336 if (arg1) (arg1)->m_itemIndex = arg2;
17337
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxListEvent *arg1 = (wxListEvent *) 0 ;
17348 long result;
17349 PyObject * obj0 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "self", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17356 result = (long) ((arg1)->m_itemIndex);
17357
17358 resultobj = PyInt_FromLong((long)result);
17359 return resultobj;
17360 fail:
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxListEvent *arg1 = (wxListEvent *) 0 ;
17368 int arg2 ;
17369 PyObject * obj0 = 0 ;
17370 char *kwnames[] = {
17371 (char *) "self",(char *) "m_col", NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17376 if (arg1) (arg1)->m_col = arg2;
17377
17378 Py_INCREF(Py_None); resultobj = Py_None;
17379 return resultobj;
17380 fail:
17381 return NULL;
17382 }
17383
17384
17385 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17386 PyObject *resultobj;
17387 wxListEvent *arg1 = (wxListEvent *) 0 ;
17388 int result;
17389 PyObject * obj0 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17396 result = (int) ((arg1)->m_col);
17397
17398 resultobj = PyInt_FromLong((long)result);
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxListEvent *arg1 = (wxListEvent *) 0 ;
17408 wxPoint *arg2 = (wxPoint *) 0 ;
17409 PyObject * obj0 = 0 ;
17410 PyObject * obj1 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "m_pointDrag", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 if (arg1) (arg1)->m_pointDrag = *arg2;
17419
17420 Py_INCREF(Py_None); resultobj = Py_None;
17421 return resultobj;
17422 fail:
17423 return NULL;
17424 }
17425
17426
17427 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17428 PyObject *resultobj;
17429 wxListEvent *arg1 = (wxListEvent *) 0 ;
17430 wxPoint *result;
17431 PyObject * obj0 = 0 ;
17432 char *kwnames[] = {
17433 (char *) "self", NULL
17434 };
17435
17436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17438 result = (wxPoint *)& ((arg1)->m_pointDrag);
17439
17440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxListEvent *arg1 = (wxListEvent *) 0 ;
17450 wxListItem *result;
17451 PyObject * obj0 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17458 result = (wxListItem *)& ((arg1)->m_item);
17459
17460 {
17461 resultobj = wxPyMake_wxObject(result);
17462 }
17463 return resultobj;
17464 fail:
17465 return NULL;
17466 }
17467
17468
17469 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17470 PyObject *resultobj;
17471 wxListEvent *arg1 = (wxListEvent *) 0 ;
17472 int result;
17473 PyObject * obj0 = 0 ;
17474 char *kwnames[] = {
17475 (char *) "self", NULL
17476 };
17477
17478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 result = (int)(arg1)->GetKeyCode();
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 resultobj = PyInt_FromLong((long)result);
17488 return resultobj;
17489 fail:
17490 return NULL;
17491 }
17492
17493
17494 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17495 PyObject *resultobj;
17496 wxListEvent *arg1 = (wxListEvent *) 0 ;
17497 long result;
17498 PyObject * obj0 = 0 ;
17499 char *kwnames[] = {
17500 (char *) "self", NULL
17501 };
17502
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 result = (long)(arg1)->GetIndex();
17508
17509 wxPyEndAllowThreads(__tstate);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
17512 resultobj = PyInt_FromLong((long)result);
17513 return resultobj;
17514 fail:
17515 return NULL;
17516 }
17517
17518
17519 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxListEvent *arg1 = (wxListEvent *) 0 ;
17522 int result;
17523 PyObject * obj0 = 0 ;
17524 char *kwnames[] = {
17525 (char *) "self", NULL
17526 };
17527
17528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 result = (int)(arg1)->GetColumn();
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 resultobj = PyInt_FromLong((long)result);
17538 return resultobj;
17539 fail:
17540 return NULL;
17541 }
17542
17543
17544 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17545 PyObject *resultobj;
17546 wxListEvent *arg1 = (wxListEvent *) 0 ;
17547 wxPoint result;
17548 PyObject * obj0 = 0 ;
17549 char *kwnames[] = {
17550 (char *) "self", NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (arg1)->GetPoint();
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 {
17563 wxPoint * resultptr;
17564 resultptr = new wxPoint((wxPoint &) result);
17565 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17566 }
17567 return resultobj;
17568 fail:
17569 return NULL;
17570 }
17571
17572
17573 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17574 PyObject *resultobj;
17575 wxListEvent *arg1 = (wxListEvent *) 0 ;
17576 wxString *result;
17577 PyObject * obj0 = 0 ;
17578 char *kwnames[] = {
17579 (char *) "self", NULL
17580 };
17581
17582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 {
17587 wxString const &_result_ref = (arg1)->GetLabel();
17588 result = (wxString *) &_result_ref;
17589 }
17590
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 {
17595 #if wxUSE_UNICODE
17596 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17597 #else
17598 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17599 #endif
17600 }
17601 return resultobj;
17602 fail:
17603 return NULL;
17604 }
17605
17606
17607 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxListEvent *arg1 = (wxListEvent *) 0 ;
17610 wxString *result;
17611 PyObject * obj0 = 0 ;
17612 char *kwnames[] = {
17613 (char *) "self", NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 {
17621 wxString const &_result_ref = (arg1)->GetText();
17622 result = (wxString *) &_result_ref;
17623 }
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 {
17629 #if wxUSE_UNICODE
17630 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17631 #else
17632 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17633 #endif
17634 }
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxListEvent *arg1 = (wxListEvent *) 0 ;
17644 int result;
17645 PyObject * obj0 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 result = (int)(arg1)->GetImage();
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = PyInt_FromLong((long)result);
17660 return resultobj;
17661 fail:
17662 return NULL;
17663 }
17664
17665
17666 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17667 PyObject *resultobj;
17668 wxListEvent *arg1 = (wxListEvent *) 0 ;
17669 long result;
17670 PyObject * obj0 = 0 ;
17671 char *kwnames[] = {
17672 (char *) "self", NULL
17673 };
17674
17675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 result = (long)(arg1)->GetData();
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 resultobj = PyInt_FromLong((long)result);
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxListEvent *arg1 = (wxListEvent *) 0 ;
17694 long result;
17695 PyObject * obj0 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 result = (long)(arg1)->GetMask();
17705
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 resultobj = PyInt_FromLong((long)result);
17710 return resultobj;
17711 fail:
17712 return NULL;
17713 }
17714
17715
17716 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17717 PyObject *resultobj;
17718 wxListEvent *arg1 = (wxListEvent *) 0 ;
17719 wxListItem *result;
17720 PyObject * obj0 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 {
17730 wxListItem const &_result_ref = (arg1)->GetItem();
17731 result = (wxListItem *) &_result_ref;
17732 }
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17738 return resultobj;
17739 fail:
17740 return NULL;
17741 }
17742
17743
17744 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17745 PyObject *resultobj;
17746 wxListEvent *arg1 = (wxListEvent *) 0 ;
17747 long result;
17748 PyObject * obj0 = 0 ;
17749 char *kwnames[] = {
17750 (char *) "self", NULL
17751 };
17752
17753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 result = (long)(arg1)->GetCacheFrom();
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 resultobj = PyInt_FromLong((long)result);
17763 return resultobj;
17764 fail:
17765 return NULL;
17766 }
17767
17768
17769 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj;
17771 wxListEvent *arg1 = (wxListEvent *) 0 ;
17772 long result;
17773 PyObject * obj0 = 0 ;
17774 char *kwnames[] = {
17775 (char *) "self", NULL
17776 };
17777
17778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 result = (long)(arg1)->GetCacheTo();
17783
17784 wxPyEndAllowThreads(__tstate);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
17787 resultobj = PyInt_FromLong((long)result);
17788 return resultobj;
17789 fail:
17790 return NULL;
17791 }
17792
17793
17794 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17795 PyObject *resultobj;
17796 wxListEvent *arg1 = (wxListEvent *) 0 ;
17797 bool result;
17798 PyObject * obj0 = 0 ;
17799 char *kwnames[] = {
17800 (char *) "self", NULL
17801 };
17802
17803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17808
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 resultobj = PyInt_FromLong((long)result);
17813 return resultobj;
17814 fail:
17815 return NULL;
17816 }
17817
17818
17819 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxListEvent *arg1 = (wxListEvent *) 0 ;
17822 bool arg2 ;
17823 PyObject * obj0 = 0 ;
17824 PyObject * obj1 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self",(char *) "editCancelled", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17831 arg2 = PyInt_AsLong(obj1) ? true : false;
17832 if (PyErr_Occurred()) SWIG_fail;
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 (arg1)->SetEditCanceled(arg2);
17836
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 Py_INCREF(Py_None); resultobj = Py_None;
17841 return resultobj;
17842 fail:
17843 return NULL;
17844 }
17845
17846
17847 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17848 PyObject *obj;
17849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17850 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17851 Py_INCREF(obj);
17852 return Py_BuildValue((char *)"");
17853 }
17854 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj;
17856 wxWindow *arg1 = (wxWindow *) 0 ;
17857 int arg2 = (int) -1 ;
17858 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17859 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17860 wxSize const &arg4_defvalue = wxDefaultSize ;
17861 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17862 long arg5 = (long) wxLC_ICON ;
17863 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17864 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17865 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17866 wxString *arg7 = (wxString *) &arg7_defvalue ;
17867 wxPyListCtrl *result;
17868 wxPoint temp3 ;
17869 wxSize temp4 ;
17870 bool temp7 = False ;
17871 PyObject * obj0 = 0 ;
17872 PyObject * obj2 = 0 ;
17873 PyObject * obj3 = 0 ;
17874 PyObject * obj5 = 0 ;
17875 PyObject * obj6 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 if (obj2) {
17883 {
17884 arg3 = &temp3;
17885 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17886 }
17887 }
17888 if (obj3) {
17889 {
17890 arg4 = &temp4;
17891 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17892 }
17893 }
17894 if (obj5) {
17895 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17896 if (arg6 == NULL) {
17897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17898 }
17899 }
17900 if (obj6) {
17901 {
17902 arg7 = wxString_in_helper(obj6);
17903 if (arg7 == NULL) SWIG_fail;
17904 temp7 = True;
17905 }
17906 }
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17915 {
17916 if (temp7)
17917 delete arg7;
17918 }
17919 return resultobj;
17920 fail:
17921 {
17922 if (temp7)
17923 delete arg7;
17924 }
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxPyListCtrl *result;
17932 char *kwnames[] = {
17933 NULL
17934 };
17935
17936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 result = (wxPyListCtrl *)new wxPyListCtrl();
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17945 return resultobj;
17946 fail:
17947 return NULL;
17948 }
17949
17950
17951 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17954 wxWindow *arg2 = (wxWindow *) 0 ;
17955 int arg3 = (int) -1 ;
17956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17958 wxSize const &arg5_defvalue = wxDefaultSize ;
17959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17960 long arg6 = (long) wxLC_ICON ;
17961 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17962 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17963 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17964 wxString *arg8 = (wxString *) &arg8_defvalue ;
17965 bool result;
17966 wxPoint temp4 ;
17967 wxSize temp5 ;
17968 bool temp8 = False ;
17969 PyObject * obj0 = 0 ;
17970 PyObject * obj1 = 0 ;
17971 PyObject * obj3 = 0 ;
17972 PyObject * obj4 = 0 ;
17973 PyObject * obj6 = 0 ;
17974 PyObject * obj7 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17982 if (obj3) {
17983 {
17984 arg4 = &temp4;
17985 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17986 }
17987 }
17988 if (obj4) {
17989 {
17990 arg5 = &temp5;
17991 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17992 }
17993 }
17994 if (obj6) {
17995 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17996 if (arg7 == NULL) {
17997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17998 }
17999 }
18000 if (obj7) {
18001 {
18002 arg8 = wxString_in_helper(obj7);
18003 if (arg8 == NULL) SWIG_fail;
18004 temp8 = True;
18005 }
18006 }
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 resultobj = PyInt_FromLong((long)result);
18015 {
18016 if (temp8)
18017 delete arg8;
18018 }
18019 return resultobj;
18020 fail:
18021 {
18022 if (temp8)
18023 delete arg8;
18024 }
18025 return NULL;
18026 }
18027
18028
18029 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18030 PyObject *resultobj;
18031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18032 PyObject *arg2 = (PyObject *) 0 ;
18033 PyObject *arg3 = (PyObject *) 0 ;
18034 PyObject * obj0 = 0 ;
18035 PyObject * obj1 = 0 ;
18036 PyObject * obj2 = 0 ;
18037 char *kwnames[] = {
18038 (char *) "self",(char *) "self",(char *) "_class", NULL
18039 };
18040
18041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18043 arg2 = obj1;
18044 arg3 = obj2;
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 (arg1)->_setCallbackInfo(arg2,arg3);
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 Py_INCREF(Py_None); resultobj = Py_None;
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18062 wxColour *arg2 = 0 ;
18063 bool result;
18064 wxColour temp2 ;
18065 PyObject * obj0 = 0 ;
18066 PyObject * obj1 = 0 ;
18067 char *kwnames[] = {
18068 (char *) "self",(char *) "col", NULL
18069 };
18070
18071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
18072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18073 {
18074 arg2 = &temp2;
18075 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18076 }
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 resultobj = PyInt_FromLong((long)result);
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18094 wxColour *arg2 = 0 ;
18095 bool result;
18096 wxColour temp2 ;
18097 PyObject * obj0 = 0 ;
18098 PyObject * obj1 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self",(char *) "col", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18105 {
18106 arg2 = &temp2;
18107 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18108 }
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
18112
18113 wxPyEndAllowThreads(__tstate);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 resultobj = PyInt_FromLong((long)result);
18117 return resultobj;
18118 fail:
18119 return NULL;
18120 }
18121
18122
18123 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18126 int arg2 ;
18127 wxListItem *result;
18128 PyObject * obj0 = 0 ;
18129 char *kwnames[] = {
18130 (char *) "self",(char *) "col", NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 {
18143 resultobj = wxPyMake_wxObject(result);
18144 }
18145 return resultobj;
18146 fail:
18147 return NULL;
18148 }
18149
18150
18151 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18152 PyObject *resultobj;
18153 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18154 int arg2 ;
18155 wxListItem *arg3 = 0 ;
18156 bool result;
18157 PyObject * obj0 = 0 ;
18158 PyObject * obj2 = 0 ;
18159 char *kwnames[] = {
18160 (char *) "self",(char *) "col",(char *) "item", NULL
18161 };
18162
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18165 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18166 if (arg3 == NULL) {
18167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18168 }
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 resultobj = PyInt_FromLong((long)result);
18177 return resultobj;
18178 fail:
18179 return NULL;
18180 }
18181
18182
18183 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18186 int arg2 ;
18187 int result;
18188 PyObject * obj0 = 0 ;
18189 char *kwnames[] = {
18190 (char *) "self",(char *) "col", NULL
18191 };
18192
18193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 resultobj = PyInt_FromLong((long)result);
18203 return resultobj;
18204 fail:
18205 return NULL;
18206 }
18207
18208
18209 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18212 int arg2 ;
18213 int arg3 ;
18214 bool result;
18215 PyObject * obj0 = 0 ;
18216 char *kwnames[] = {
18217 (char *) "self",(char *) "col",(char *) "width", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18222 {
18223 PyThreadState* __tstate = wxPyBeginAllowThreads();
18224 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18225
18226 wxPyEndAllowThreads(__tstate);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 }
18229 resultobj = PyInt_FromLong((long)result);
18230 return resultobj;
18231 fail:
18232 return NULL;
18233 }
18234
18235
18236 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18237 PyObject *resultobj;
18238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18239 int result;
18240 PyObject * obj0 = 0 ;
18241 char *kwnames[] = {
18242 (char *) "self", NULL
18243 };
18244
18245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 resultobj = PyInt_FromLong((long)result);
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18264 wxRect result;
18265 PyObject * obj0 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280 wxRect * resultptr;
18281 resultptr = new wxRect((wxRect &) result);
18282 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18283 }
18284 return resultobj;
18285 fail:
18286 return NULL;
18287 }
18288
18289
18290 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18293 wxTextCtrl *result;
18294 PyObject * obj0 = 0 ;
18295 char *kwnames[] = {
18296 (char *) "self", NULL
18297 };
18298
18299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
18300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
18304
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 {
18309 resultobj = wxPyMake_wxObject(result);
18310 }
18311 return resultobj;
18312 fail:
18313 return NULL;
18314 }
18315
18316
18317 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18318 PyObject *resultobj;
18319 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18320 long arg2 ;
18321 int arg3 = (int) 0 ;
18322 wxListItem *result;
18323 PyObject * obj0 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "itemId",(char *) "col", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18333
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 {
18338 resultobj = wxPyMake_wxObject(result);
18339 }
18340 return resultobj;
18341 fail:
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18349 wxListItem *arg2 = 0 ;
18350 bool result;
18351 PyObject * obj0 = 0 ;
18352 PyObject * obj1 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self",(char *) "info", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18360 if (arg2 == NULL) {
18361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18362 }
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 result = (bool)(arg1)->SetItem(*arg2);
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 resultobj = PyInt_FromLong((long)result);
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18380 long arg2 ;
18381 int arg3 ;
18382 wxString *arg4 = 0 ;
18383 int arg5 = (int) -1 ;
18384 long result;
18385 bool temp4 = False ;
18386 PyObject * obj0 = 0 ;
18387 PyObject * obj3 = 0 ;
18388 char *kwnames[] = {
18389 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18390 };
18391
18392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18394 {
18395 arg4 = wxString_in_helper(obj3);
18396 if (arg4 == NULL) SWIG_fail;
18397 temp4 = True;
18398 }
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18402
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
18406 resultobj = PyInt_FromLong((long)result);
18407 {
18408 if (temp4)
18409 delete arg4;
18410 }
18411 return resultobj;
18412 fail:
18413 {
18414 if (temp4)
18415 delete arg4;
18416 }
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18424 long arg2 ;
18425 long arg3 ;
18426 int result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18437
18438 wxPyEndAllowThreads(__tstate);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 }
18441 resultobj = PyInt_FromLong((long)result);
18442 return resultobj;
18443 fail:
18444 return NULL;
18445 }
18446
18447
18448 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj;
18450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18451 long arg2 ;
18452 long arg3 ;
18453 long arg4 ;
18454 bool result;
18455 PyObject * obj0 = 0 ;
18456 char *kwnames[] = {
18457 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 resultobj = PyInt_FromLong((long)result);
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18479 long arg2 ;
18480 int arg3 ;
18481 int arg4 ;
18482 bool result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 resultobj = PyInt_FromLong((long)result);
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18507 long arg2 ;
18508 wxString result;
18509 PyObject * obj0 = 0 ;
18510 char *kwnames[] = {
18511 (char *) "self",(char *) "item", NULL
18512 };
18513
18514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18516 {
18517 PyThreadState* __tstate = wxPyBeginAllowThreads();
18518 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18519
18520 wxPyEndAllowThreads(__tstate);
18521 if (PyErr_Occurred()) SWIG_fail;
18522 }
18523 {
18524 #if wxUSE_UNICODE
18525 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18526 #else
18527 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18528 #endif
18529 }
18530 return resultobj;
18531 fail:
18532 return NULL;
18533 }
18534
18535
18536 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj;
18538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18539 long arg2 ;
18540 wxString *arg3 = 0 ;
18541 bool temp3 = False ;
18542 PyObject * obj0 = 0 ;
18543 PyObject * obj2 = 0 ;
18544 char *kwnames[] = {
18545 (char *) "self",(char *) "item",(char *) "str", NULL
18546 };
18547
18548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18550 {
18551 arg3 = wxString_in_helper(obj2);
18552 if (arg3 == NULL) SWIG_fail;
18553 temp3 = True;
18554 }
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 Py_INCREF(Py_None); resultobj = Py_None;
18563 {
18564 if (temp3)
18565 delete arg3;
18566 }
18567 return resultobj;
18568 fail:
18569 {
18570 if (temp3)
18571 delete arg3;
18572 }
18573 return NULL;
18574 }
18575
18576
18577 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj;
18579 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18580 long arg2 ;
18581 long result;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "item", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 resultobj = PyInt_FromLong((long)result);
18597 return resultobj;
18598 fail:
18599 return NULL;
18600 }
18601
18602
18603 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18606 long arg2 ;
18607 long arg3 ;
18608 bool result;
18609 PyObject * obj0 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self",(char *) "item",(char *) "data", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 result = (bool)(arg1)->SetItemData(arg2,arg3);
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 resultobj = PyInt_FromLong((long)result);
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18633 long arg2 ;
18634 wxPoint result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self",(char *) "item", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 {
18650 wxPoint * resultptr;
18651 resultptr = new wxPoint((wxPoint &) result);
18652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18653 }
18654 return resultobj;
18655 fail:
18656 return NULL;
18657 }
18658
18659
18660 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18661 PyObject *resultobj;
18662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18663 long arg2 ;
18664 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18665 wxRect result;
18666 PyObject * obj0 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "item",(char *) "code", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18676
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 {
18681 wxRect * resultptr;
18682 resultptr = new wxRect((wxRect &) result);
18683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18684 }
18685 return resultobj;
18686 fail:
18687 return NULL;
18688 }
18689
18690
18691 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18692 PyObject *resultobj;
18693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18694 long arg2 ;
18695 wxPoint *arg3 = 0 ;
18696 bool result;
18697 wxPoint temp3 ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj2 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "item",(char *) "pos", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 {
18707 arg3 = &temp3;
18708 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18709 }
18710 {
18711 PyThreadState* __tstate = wxPyBeginAllowThreads();
18712 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18713
18714 wxPyEndAllowThreads(__tstate);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 }
18717 resultobj = PyInt_FromLong((long)result);
18718 return resultobj;
18719 fail:
18720 return NULL;
18721 }
18722
18723
18724 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18725 PyObject *resultobj;
18726 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18727 int result;
18728 PyObject * obj0 = 0 ;
18729 char *kwnames[] = {
18730 (char *) "self", NULL
18731 };
18732
18733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18735 {
18736 PyThreadState* __tstate = wxPyBeginAllowThreads();
18737 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18738
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 resultobj = PyInt_FromLong((long)result);
18743 return resultobj;
18744 fail:
18745 return NULL;
18746 }
18747
18748
18749 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18750 PyObject *resultobj;
18751 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18752 int result;
18753 PyObject * obj0 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = PyInt_FromLong((long)result);
18768 return resultobj;
18769 fail:
18770 return NULL;
18771 }
18772
18773
18774 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18777 wxSize result;
18778 PyObject * obj0 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 {
18793 wxSize * resultptr;
18794 resultptr = new wxSize((wxSize &) result);
18795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18796 }
18797 return resultobj;
18798 fail:
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18806 int result;
18807 PyObject * obj0 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = PyInt_FromLong((long)result);
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18831 wxColour result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
18846 {
18847 wxColour * resultptr;
18848 resultptr = new wxColour((wxColour &) result);
18849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18850 }
18851 return resultobj;
18852 fail:
18853 return NULL;
18854 }
18855
18856
18857 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18858 PyObject *resultobj;
18859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18860 wxColour *arg2 = 0 ;
18861 wxColour temp2 ;
18862 PyObject * obj0 = 0 ;
18863 PyObject * obj1 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self",(char *) "col", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18870 {
18871 arg2 = &temp2;
18872 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18873 }
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 (arg1)->SetTextColour((wxColour const &)*arg2);
18877
18878 wxPyEndAllowThreads(__tstate);
18879 if (PyErr_Occurred()) SWIG_fail;
18880 }
18881 Py_INCREF(Py_None); resultobj = Py_None;
18882 return resultobj;
18883 fail:
18884 return NULL;
18885 }
18886
18887
18888 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18889 PyObject *resultobj;
18890 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18891 long result;
18892 PyObject * obj0 = 0 ;
18893 char *kwnames[] = {
18894 (char *) "self", NULL
18895 };
18896
18897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18902
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 resultobj = PyInt_FromLong((long)result);
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18916 long arg2 ;
18917 bool arg3 = (bool) True ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj2 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self",(char *) "style",(char *) "add", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 if (obj2) {
18927 arg3 = PyInt_AsLong(obj2) ? true : false;
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 (arg1)->SetSingleStyle(arg2,arg3);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 Py_INCREF(Py_None); resultobj = Py_None;
18938 return resultobj;
18939 fail:
18940 return NULL;
18941 }
18942
18943
18944 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18947 long arg2 ;
18948 PyObject * obj0 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "style", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 (arg1)->SetWindowStyleFlag(arg2);
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 Py_INCREF(Py_None); resultobj = Py_None;
18963 return resultobj;
18964 fail:
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18972 long arg2 ;
18973 int arg3 = (int) wxLIST_NEXT_ALL ;
18974 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18975 long result;
18976 PyObject * obj0 = 0 ;
18977 char *kwnames[] = {
18978 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18979 };
18980
18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18986
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 resultobj = PyInt_FromLong((long)result);
18991 return resultobj;
18992 fail:
18993 return NULL;
18994 }
18995
18996
18997 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj;
18999 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19000 int arg2 ;
19001 wxImageList *result;
19002 PyObject * obj0 = 0 ;
19003 char *kwnames[] = {
19004 (char *) "self",(char *) "which", NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
19008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
19012
19013 wxPyEndAllowThreads(__tstate);
19014 if (PyErr_Occurred()) SWIG_fail;
19015 }
19016 {
19017 resultobj = wxPyMake_wxObject(result);
19018 }
19019 return resultobj;
19020 fail:
19021 return NULL;
19022 }
19023
19024
19025 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19026 PyObject *resultobj;
19027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19028 wxImageList *arg2 = (wxImageList *) 0 ;
19029 int arg3 ;
19030 PyObject * obj0 = 0 ;
19031 PyObject * obj1 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self",(char *) "imageList",(char *) "which", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 (arg1)->SetImageList(arg2,arg3);
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 Py_INCREF(Py_None); resultobj = Py_None;
19047 return resultobj;
19048 fail:
19049 return NULL;
19050 }
19051
19052
19053 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj;
19055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19056 wxImageList *arg2 = (wxImageList *) 0 ;
19057 int arg3 ;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self",(char *) "imageList",(char *) "which", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 (arg1)->AssignImageList(arg2,arg3);
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 Py_INCREF(Py_None); resultobj = Py_None;
19075 return resultobj;
19076 fail:
19077 return NULL;
19078 }
19079
19080
19081 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj;
19083 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19084 bool result;
19085 PyObject * obj0 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "self", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
19091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = PyInt_FromLong((long)result);
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19109 long arg2 ;
19110 PyObject * obj0 = 0 ;
19111 char *kwnames[] = {
19112 (char *) "self",(char *) "item", NULL
19113 };
19114
19115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
19116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 (arg1)->RefreshItem(arg2);
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 Py_INCREF(Py_None); resultobj = Py_None;
19125 return resultobj;
19126 fail:
19127 return NULL;
19128 }
19129
19130
19131 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19132 PyObject *resultobj;
19133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19134 long arg2 ;
19135 long arg3 ;
19136 PyObject * obj0 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->RefreshItems(arg2,arg3);
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 Py_INCREF(Py_None); resultobj = Py_None;
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19160 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19161 bool result;
19162 PyObject * obj0 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self",(char *) "flag", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = (bool)(arg1)->Arrange(arg2);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 resultobj = PyInt_FromLong((long)result);
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19186 long arg2 ;
19187 bool result;
19188 PyObject * obj0 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self",(char *) "item", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 result = (bool)(arg1)->DeleteItem(arg2);
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 resultobj = PyInt_FromLong((long)result);
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19212 bool result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = (bool)(arg1)->DeleteAllItems();
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 resultobj = PyInt_FromLong((long)result);
19228 return resultobj;
19229 fail:
19230 return NULL;
19231 }
19232
19233
19234 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19235 PyObject *resultobj;
19236 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19237 int arg2 ;
19238 bool result;
19239 PyObject * obj0 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self",(char *) "col", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19246 {
19247 PyThreadState* __tstate = wxPyBeginAllowThreads();
19248 result = (bool)(arg1)->DeleteColumn(arg2);
19249
19250 wxPyEndAllowThreads(__tstate);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 resultobj = PyInt_FromLong((long)result);
19254 return resultobj;
19255 fail:
19256 return NULL;
19257 }
19258
19259
19260 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19261 PyObject *resultobj;
19262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19263 bool result;
19264 PyObject * obj0 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (bool)(arg1)->DeleteAllColumns();
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = PyInt_FromLong((long)result);
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19288 PyObject * obj0 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 (arg1)->ClearAll();
19298
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 Py_INCREF(Py_None); resultobj = Py_None;
19303 return resultobj;
19304 fail:
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19312 long arg2 ;
19313 wxTextCtrl *result;
19314 PyObject * obj0 = 0 ;
19315 char *kwnames[] = {
19316 (char *) "self",(char *) "item", NULL
19317 };
19318
19319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19321 {
19322 PyThreadState* __tstate = wxPyBeginAllowThreads();
19323 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
19324
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 {
19329 resultobj = wxPyMake_wxObject(result);
19330 }
19331 return resultobj;
19332 fail:
19333 return NULL;
19334 }
19335
19336
19337 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19338 PyObject *resultobj;
19339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19340 bool arg2 ;
19341 bool result;
19342 PyObject * obj0 = 0 ;
19343 PyObject * obj1 = 0 ;
19344 char *kwnames[] = {
19345 (char *) "self",(char *) "cancel", NULL
19346 };
19347
19348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
19349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19350 arg2 = PyInt_AsLong(obj1) ? true : false;
19351 if (PyErr_Occurred()) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (bool)(arg1)->EndEditLabel(arg2);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 resultobj = PyInt_FromLong((long)result);
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19369 long arg2 ;
19370 bool result;
19371 PyObject * obj0 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "item", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 result = (bool)(arg1)->EnsureVisible(arg2);
19381
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 resultobj = PyInt_FromLong((long)result);
19386 return resultobj;
19387 fail:
19388 return NULL;
19389 }
19390
19391
19392 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19395 long arg2 ;
19396 wxString *arg3 = 0 ;
19397 bool arg4 = (bool) False ;
19398 long result;
19399 bool temp3 = False ;
19400 PyObject * obj0 = 0 ;
19401 PyObject * obj2 = 0 ;
19402 PyObject * obj3 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19409 {
19410 arg3 = wxString_in_helper(obj2);
19411 if (arg3 == NULL) SWIG_fail;
19412 temp3 = True;
19413 }
19414 if (obj3) {
19415 arg4 = PyInt_AsLong(obj3) ? true : false;
19416 if (PyErr_Occurred()) SWIG_fail;
19417 }
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19421
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 resultobj = PyInt_FromLong((long)result);
19426 {
19427 if (temp3)
19428 delete arg3;
19429 }
19430 return resultobj;
19431 fail:
19432 {
19433 if (temp3)
19434 delete arg3;
19435 }
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19443 long arg2 ;
19444 long arg3 ;
19445 long result;
19446 PyObject * obj0 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self",(char *) "start",(char *) "data", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = (long)(arg1)->FindItem(arg2,arg3);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 resultobj = PyInt_FromLong((long)result);
19461 return resultobj;
19462 fail:
19463 return NULL;
19464 }
19465
19466
19467 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19470 long arg2 ;
19471 wxPoint *arg3 = 0 ;
19472 int arg4 ;
19473 long result;
19474 wxPoint temp3 ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj2 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19483 {
19484 arg3 = &temp3;
19485 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 resultobj = PyInt_FromLong((long)result);
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19504 wxPoint *arg2 = 0 ;
19505 int *arg3 = 0 ;
19506 long result;
19507 wxPoint temp2 ;
19508 int temp3 ;
19509 PyObject * obj0 = 0 ;
19510 PyObject * obj1 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self",(char *) "point", NULL
19513 };
19514
19515 arg3 = &temp3;
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19518 {
19519 arg2 = &temp2;
19520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19521 }
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 resultobj = PyInt_FromLong((long)result);
19530 {
19531 PyObject *o = PyInt_FromLong((long) (*arg3));
19532 resultobj = t_output_helper(resultobj,o);
19533 }
19534 return resultobj;
19535 fail:
19536 return NULL;
19537 }
19538
19539
19540 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19541 PyObject *resultobj;
19542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19543 wxListItem *arg2 = 0 ;
19544 long result;
19545 PyObject * obj0 = 0 ;
19546 PyObject * obj1 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self",(char *) "info", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19554 if (arg2 == NULL) {
19555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19556 }
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 result = (long)(arg1)->InsertItem(*arg2);
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 resultobj = PyInt_FromLong((long)result);
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj;
19573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19574 long arg2 ;
19575 wxString *arg3 = 0 ;
19576 long result;
19577 bool temp3 = False ;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj2 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "index",(char *) "label", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19586 {
19587 arg3 = wxString_in_helper(obj2);
19588 if (arg3 == NULL) SWIG_fail;
19589 temp3 = True;
19590 }
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = PyInt_FromLong((long)result);
19599 {
19600 if (temp3)
19601 delete arg3;
19602 }
19603 return resultobj;
19604 fail:
19605 {
19606 if (temp3)
19607 delete arg3;
19608 }
19609 return NULL;
19610 }
19611
19612
19613 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj;
19615 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19616 long arg2 ;
19617 int arg3 ;
19618 long result;
19619 PyObject * obj0 = 0 ;
19620 char *kwnames[] = {
19621 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19622 };
19623
19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (long)(arg1)->InsertItem(arg2,arg3);
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = PyInt_FromLong((long)result);
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj;
19642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19643 long arg2 ;
19644 wxString *arg3 = 0 ;
19645 int arg4 ;
19646 long result;
19647 bool temp3 = False ;
19648 PyObject * obj0 = 0 ;
19649 PyObject * obj2 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19656 {
19657 arg3 = wxString_in_helper(obj2);
19658 if (arg3 == NULL) SWIG_fail;
19659 temp3 = True;
19660 }
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 resultobj = PyInt_FromLong((long)result);
19669 {
19670 if (temp3)
19671 delete arg3;
19672 }
19673 return resultobj;
19674 fail:
19675 {
19676 if (temp3)
19677 delete arg3;
19678 }
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19686 long arg2 ;
19687 wxListItem *arg3 = 0 ;
19688 long result;
19689 PyObject * obj0 = 0 ;
19690 PyObject * obj2 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self",(char *) "col",(char *) "info", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19698 if (arg3 == NULL) {
19699 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19700 }
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = PyInt_FromLong((long)result);
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19718 long arg2 ;
19719 wxString *arg3 = 0 ;
19720 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19721 int arg5 = (int) -1 ;
19722 long result;
19723 bool temp3 = False ;
19724 PyObject * obj0 = 0 ;
19725 PyObject * obj2 = 0 ;
19726 char *kwnames[] = {
19727 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19728 };
19729
19730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19732 {
19733 arg3 = wxString_in_helper(obj2);
19734 if (arg3 == NULL) SWIG_fail;
19735 temp3 = True;
19736 }
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 resultobj = PyInt_FromLong((long)result);
19745 {
19746 if (temp3)
19747 delete arg3;
19748 }
19749 return resultobj;
19750 fail:
19751 {
19752 if (temp3)
19753 delete arg3;
19754 }
19755 return NULL;
19756 }
19757
19758
19759 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19762 long arg2 ;
19763 PyObject * obj0 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self",(char *) "count", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19770 {
19771 PyThreadState* __tstate = wxPyBeginAllowThreads();
19772 (arg1)->SetItemCount(arg2);
19773
19774 wxPyEndAllowThreads(__tstate);
19775 if (PyErr_Occurred()) SWIG_fail;
19776 }
19777 Py_INCREF(Py_None); resultobj = Py_None;
19778 return resultobj;
19779 fail:
19780 return NULL;
19781 }
19782
19783
19784 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19785 PyObject *resultobj;
19786 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19787 int arg2 ;
19788 int arg3 ;
19789 bool result;
19790 PyObject * obj0 = 0 ;
19791 char *kwnames[] = {
19792 (char *) "self",(char *) "dx",(char *) "dy", NULL
19793 };
19794
19795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 result = (bool)(arg1)->ScrollList(arg2,arg3);
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 resultobj = PyInt_FromLong((long)result);
19805 return resultobj;
19806 fail:
19807 return NULL;
19808 }
19809
19810
19811 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19812 PyObject *resultobj;
19813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19814 long arg2 ;
19815 wxColour *arg3 = 0 ;
19816 wxColour temp3 ;
19817 PyObject * obj0 = 0 ;
19818 PyObject * obj2 = 0 ;
19819 char *kwnames[] = {
19820 (char *) "self",(char *) "item",(char *) "col", NULL
19821 };
19822
19823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19825 {
19826 arg3 = &temp3;
19827 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19828 }
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 Py_INCREF(Py_None); resultobj = Py_None;
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj;
19845 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19846 long arg2 ;
19847 wxColour result;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self",(char *) "item", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19858
19859 wxPyEndAllowThreads(__tstate);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 {
19863 wxColour * resultptr;
19864 resultptr = new wxColour((wxColour &) result);
19865 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19866 }
19867 return resultobj;
19868 fail:
19869 return NULL;
19870 }
19871
19872
19873 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19876 long arg2 ;
19877 wxColour *arg3 = 0 ;
19878 wxColour temp3 ;
19879 PyObject * obj0 = 0 ;
19880 PyObject * obj2 = 0 ;
19881 char *kwnames[] = {
19882 (char *) "self",(char *) "item",(char *) "col", NULL
19883 };
19884
19885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19887 {
19888 arg3 = &temp3;
19889 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19890 }
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 Py_INCREF(Py_None); resultobj = Py_None;
19899 return resultobj;
19900 fail:
19901 return NULL;
19902 }
19903
19904
19905 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj;
19907 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19908 long arg2 ;
19909 wxColour result;
19910 PyObject * obj0 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self",(char *) "item", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 {
19925 wxColour * resultptr;
19926 resultptr = new wxColour((wxColour &) result);
19927 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19928 }
19929 return resultobj;
19930 fail:
19931 return NULL;
19932 }
19933
19934
19935 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19936 PyObject *resultobj;
19937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19938 PyObject *arg2 = (PyObject *) 0 ;
19939 bool result;
19940 PyObject * obj0 = 0 ;
19941 PyObject * obj1 = 0 ;
19942 char *kwnames[] = {
19943 (char *) "self",(char *) "func", NULL
19944 };
19945
19946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19948 arg2 = obj1;
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 resultobj = PyInt_FromLong((long)result);
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19966 wxWindow *result;
19967 PyObject * obj0 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 {
19982 resultobj = wxPyMake_wxObject(result);
19983 }
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19991 PyObject *obj;
19992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19994 Py_INCREF(obj);
19995 return Py_BuildValue((char *)"");
19996 }
19997 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxWindow *arg1 = (wxWindow *) 0 ;
20000 int arg2 = (int) -1 ;
20001 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20002 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20003 wxSize const &arg4_defvalue = wxDefaultSize ;
20004 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20005 long arg5 = (long) wxLC_REPORT ;
20006 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20007 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20008 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20009 wxString *arg7 = (wxString *) &arg7_defvalue ;
20010 wxListView *result;
20011 wxPoint temp3 ;
20012 wxSize temp4 ;
20013 bool temp7 = False ;
20014 PyObject * obj0 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 PyObject * obj3 = 0 ;
20017 PyObject * obj5 = 0 ;
20018 PyObject * obj6 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20025 if (obj2) {
20026 {
20027 arg3 = &temp3;
20028 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20029 }
20030 }
20031 if (obj3) {
20032 {
20033 arg4 = &temp4;
20034 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20035 }
20036 }
20037 if (obj5) {
20038 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20039 if (arg6 == NULL) {
20040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20041 }
20042 }
20043 if (obj6) {
20044 {
20045 arg7 = wxString_in_helper(obj6);
20046 if (arg7 == NULL) SWIG_fail;
20047 temp7 = True;
20048 }
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20058 {
20059 if (temp7)
20060 delete arg7;
20061 }
20062 return resultobj;
20063 fail:
20064 {
20065 if (temp7)
20066 delete arg7;
20067 }
20068 return NULL;
20069 }
20070
20071
20072 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj;
20074 wxListView *result;
20075 char *kwnames[] = {
20076 NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 result = (wxListView *)new wxListView();
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxListView *arg1 = (wxListView *) 0 ;
20097 wxWindow *arg2 = (wxWindow *) 0 ;
20098 int arg3 = (int) -1 ;
20099 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20100 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20101 wxSize const &arg5_defvalue = wxDefaultSize ;
20102 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20103 long arg6 = (long) wxLC_REPORT ;
20104 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20105 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20106 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20107 wxString *arg8 = (wxString *) &arg8_defvalue ;
20108 bool result;
20109 wxPoint temp4 ;
20110 wxSize temp5 ;
20111 bool temp8 = False ;
20112 PyObject * obj0 = 0 ;
20113 PyObject * obj1 = 0 ;
20114 PyObject * obj3 = 0 ;
20115 PyObject * obj4 = 0 ;
20116 PyObject * obj6 = 0 ;
20117 PyObject * obj7 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20125 if (obj3) {
20126 {
20127 arg4 = &temp4;
20128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20129 }
20130 }
20131 if (obj4) {
20132 {
20133 arg5 = &temp5;
20134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20135 }
20136 }
20137 if (obj6) {
20138 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20139 if (arg7 == NULL) {
20140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20141 }
20142 }
20143 if (obj7) {
20144 {
20145 arg8 = wxString_in_helper(obj7);
20146 if (arg8 == NULL) SWIG_fail;
20147 temp8 = True;
20148 }
20149 }
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
20152 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20153
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 resultobj = PyInt_FromLong((long)result);
20158 {
20159 if (temp8)
20160 delete arg8;
20161 }
20162 return resultobj;
20163 fail:
20164 {
20165 if (temp8)
20166 delete arg8;
20167 }
20168 return NULL;
20169 }
20170
20171
20172 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxListView *arg1 = (wxListView *) 0 ;
20175 long arg2 ;
20176 bool arg3 = (bool) True ;
20177 PyObject * obj0 = 0 ;
20178 PyObject * obj2 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self",(char *) "n",(char *) "on", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20185 if (obj2) {
20186 arg3 = PyInt_AsLong(obj2) ? true : false;
20187 if (PyErr_Occurred()) SWIG_fail;
20188 }
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 (arg1)->Select(arg2,arg3);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 Py_INCREF(Py_None); resultobj = Py_None;
20197 return resultobj;
20198 fail:
20199 return NULL;
20200 }
20201
20202
20203 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 wxListView *arg1 = (wxListView *) 0 ;
20206 long arg2 ;
20207 PyObject * obj0 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "index", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 (arg1)->Focus(arg2);
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 Py_INCREF(Py_None); resultobj = Py_None;
20222 return resultobj;
20223 fail:
20224 return NULL;
20225 }
20226
20227
20228 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxListView *arg1 = (wxListView *) 0 ;
20231 long result;
20232 PyObject * obj0 = 0 ;
20233 char *kwnames[] = {
20234 (char *) "self", NULL
20235 };
20236
20237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20239 {
20240 PyThreadState* __tstate = wxPyBeginAllowThreads();
20241 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20242
20243 wxPyEndAllowThreads(__tstate);
20244 if (PyErr_Occurred()) SWIG_fail;
20245 }
20246 resultobj = PyInt_FromLong((long)result);
20247 return resultobj;
20248 fail:
20249 return NULL;
20250 }
20251
20252
20253 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxListView *arg1 = (wxListView *) 0 ;
20256 long arg2 ;
20257 long result;
20258 PyObject * obj0 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self",(char *) "item", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 resultobj = PyInt_FromLong((long)result);
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxListView *arg1 = (wxListView *) 0 ;
20282 long result;
20283 PyObject * obj0 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = PyInt_FromLong((long)result);
20298 return resultobj;
20299 fail:
20300 return NULL;
20301 }
20302
20303
20304 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxListView *arg1 = (wxListView *) 0 ;
20307 long arg2 ;
20308 bool result;
20309 PyObject * obj0 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self",(char *) "index", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (bool)(arg1)->IsSelected(arg2);
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 resultobj = PyInt_FromLong((long)result);
20324 return resultobj;
20325 fail:
20326 return NULL;
20327 }
20328
20329
20330 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj;
20332 wxListView *arg1 = (wxListView *) 0 ;
20333 int arg2 ;
20334 int arg3 ;
20335 PyObject * obj0 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self",(char *) "col",(char *) "image", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 (arg1)->SetColumnImage(arg2,arg3);
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 Py_INCREF(Py_None); resultobj = Py_None;
20350 return resultobj;
20351 fail:
20352 return NULL;
20353 }
20354
20355
20356 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj;
20358 wxListView *arg1 = (wxListView *) 0 ;
20359 int arg2 ;
20360 PyObject * obj0 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self",(char *) "col", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 (arg1)->ClearColumnImage(arg2);
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 Py_INCREF(Py_None); resultobj = Py_None;
20375 return resultobj;
20376 fail:
20377 return NULL;
20378 }
20379
20380
20381 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20382 PyObject *obj;
20383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20384 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20385 Py_INCREF(obj);
20386 return Py_BuildValue((char *)"");
20387 }
20388 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20389 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20390 return 1;
20391 }
20392
20393
20394 static PyObject *_wrap_TreeCtrlNameStr_get() {
20395 PyObject *pyobj;
20396
20397 {
20398 #if wxUSE_UNICODE
20399 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20400 #else
20401 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20402 #endif
20403 }
20404 return pyobj;
20405 }
20406
20407
20408 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxTreeItemId *result;
20411 char *kwnames[] = {
20412 NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 result = (wxTreeItemId *)new wxTreeItemId();
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20424 return resultobj;
20425 fail:
20426 return NULL;
20427 }
20428
20429
20430 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj;
20432 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20433 PyObject * obj0 = 0 ;
20434 char *kwnames[] = {
20435 (char *) "self", NULL
20436 };
20437
20438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 delete arg1;
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 Py_INCREF(Py_None); resultobj = Py_None;
20448 return resultobj;
20449 fail:
20450 return NULL;
20451 }
20452
20453
20454 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20455 PyObject *resultobj;
20456 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20457 bool result;
20458 PyObject * obj0 = 0 ;
20459 char *kwnames[] = {
20460 (char *) "self", NULL
20461 };
20462
20463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 resultobj = PyInt_FromLong((long)result);
20473 return resultobj;
20474 fail:
20475 return NULL;
20476 }
20477
20478
20479 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj;
20481 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20482 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20483 bool result;
20484 PyObject * obj0 = 0 ;
20485 PyObject * obj1 = 0 ;
20486 char *kwnames[] = {
20487 (char *) "self",(char *) "other", NULL
20488 };
20489
20490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 resultobj = PyInt_FromLong((long)result);
20501 return resultobj;
20502 fail:
20503 return NULL;
20504 }
20505
20506
20507 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj;
20509 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20510 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20511 bool result;
20512 PyObject * obj0 = 0 ;
20513 PyObject * obj1 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self",(char *) "other", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20524
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 resultobj = PyInt_FromLong((long)result);
20529 return resultobj;
20530 fail:
20531 return NULL;
20532 }
20533
20534
20535 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20538 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20539 PyObject * obj0 = 0 ;
20540 PyObject * obj1 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "m_pItem", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20548 if (arg1) (arg1)->m_pItem = arg2;
20549
20550 Py_INCREF(Py_None); resultobj = Py_None;
20551 return resultobj;
20552 fail:
20553 return NULL;
20554 }
20555
20556
20557 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20560 wxTreeItemIdValue result;
20561 PyObject * obj0 = 0 ;
20562 char *kwnames[] = {
20563 (char *) "self", NULL
20564 };
20565
20566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20568 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20569
20570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20578 PyObject *obj;
20579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20580 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20581 Py_INCREF(obj);
20582 return Py_BuildValue((char *)"");
20583 }
20584 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 PyObject *arg1 = (PyObject *) NULL ;
20587 wxPyTreeItemData *result;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "obj", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20594 if (obj0) {
20595 arg1 = obj0;
20596 }
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20614 PyObject *result;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 result = (PyObject *)(arg1)->GetData();
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 resultobj = result;
20630 return resultobj;
20631 fail:
20632 return NULL;
20633 }
20634
20635
20636 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20637 PyObject *resultobj;
20638 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20639 PyObject *arg2 = (PyObject *) 0 ;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self",(char *) "obj", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20648 arg2 = obj1;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 (arg1)->SetData(arg2);
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 Py_INCREF(Py_None); resultobj = Py_None;
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20666 wxTreeItemId *result;
20667 PyObject * obj0 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 {
20677 wxTreeItemId const &_result_ref = (arg1)->GetId();
20678 result = (wxTreeItemId *) &_result_ref;
20679 }
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20685 return resultobj;
20686 fail:
20687 return NULL;
20688 }
20689
20690
20691 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20694 wxTreeItemId *arg2 = 0 ;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "id", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20704 if (arg2 == NULL) {
20705 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20706 }
20707 {
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 (arg1)->SetId((wxTreeItemId const &)*arg2);
20710
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 Py_INCREF(Py_None); resultobj = Py_None;
20715 return resultobj;
20716 fail:
20717 return NULL;
20718 }
20719
20720
20721 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20722 PyObject *resultobj;
20723 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20724 PyObject * obj0 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "self", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 wxPyTreeItemData_Destroy(arg1);
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 Py_INCREF(Py_None); resultobj = Py_None;
20739 return resultobj;
20740 fail:
20741 return NULL;
20742 }
20743
20744
20745 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20746 PyObject *obj;
20747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20748 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20749 Py_INCREF(obj);
20750 return Py_BuildValue((char *)"");
20751 }
20752 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20755 int arg2 = (int) 0 ;
20756 wxTreeEvent *result;
20757 char *kwnames[] = {
20758 (char *) "commandType",(char *) "id", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20770 return resultobj;
20771 fail:
20772 return NULL;
20773 }
20774
20775
20776 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20777 PyObject *resultobj;
20778 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20779 wxTreeItemId result;
20780 PyObject * obj0 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = ((wxTreeEvent const *)arg1)->GetItem();
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 {
20795 wxTreeItemId * resultptr;
20796 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20797 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20798 }
20799 return resultobj;
20800 fail:
20801 return NULL;
20802 }
20803
20804
20805 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20806 PyObject *resultobj;
20807 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20808 wxTreeItemId *arg2 = 0 ;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self",(char *) "item", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20818 if (arg2 == NULL) {
20819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20820 }
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 Py_INCREF(Py_None); resultobj = Py_None;
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20838 wxTreeItemId result;
20839 PyObject * obj0 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 {
20854 wxTreeItemId * resultptr;
20855 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20856 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20857 }
20858 return resultobj;
20859 fail:
20860 return NULL;
20861 }
20862
20863
20864 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj;
20866 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20867 wxTreeItemId *arg2 = 0 ;
20868 PyObject * obj0 = 0 ;
20869 PyObject * obj1 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self",(char *) "item", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20877 if (arg2 == NULL) {
20878 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20879 }
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 Py_INCREF(Py_None); resultobj = Py_None;
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20897 wxPoint result;
20898 PyObject * obj0 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 result = ((wxTreeEvent const *)arg1)->GetPoint();
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 {
20913 wxPoint * resultptr;
20914 resultptr = new wxPoint((wxPoint &) result);
20915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20916 }
20917 return resultobj;
20918 fail:
20919 return NULL;
20920 }
20921
20922
20923 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20926 wxPoint *arg2 = 0 ;
20927 wxPoint temp2 ;
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self",(char *) "pt", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20936 {
20937 arg2 = &temp2;
20938 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20939 }
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 (arg1)->SetPoint((wxPoint const &)*arg2);
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 Py_INCREF(Py_None); resultobj = Py_None;
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20957 wxKeyEvent *result;
20958 PyObject * obj0 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 {
20968 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20969 result = (wxKeyEvent *) &_result_ref;
20970 }
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20985 int result;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20993 {
20994 PyThreadState* __tstate = wxPyBeginAllowThreads();
20995 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20996
20997 wxPyEndAllowThreads(__tstate);
20998 if (PyErr_Occurred()) SWIG_fail;
20999 }
21000 resultobj = PyInt_FromLong((long)result);
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj;
21009 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21010 wxKeyEvent *arg2 = 0 ;
21011 PyObject * obj0 = 0 ;
21012 PyObject * obj1 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "self",(char *) "evt", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
21018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21019 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21020 if (arg2 == NULL) {
21021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21022 }
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 Py_INCREF(Py_None); resultobj = Py_None;
21031 return resultobj;
21032 fail:
21033 return NULL;
21034 }
21035
21036
21037 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21040 wxString *result;
21041 PyObject * obj0 = 0 ;
21042 char *kwnames[] = {
21043 (char *) "self", NULL
21044 };
21045
21046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
21047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 {
21051 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
21052 result = (wxString *) &_result_ref;
21053 }
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 {
21059 #if wxUSE_UNICODE
21060 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21061 #else
21062 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21063 #endif
21064 }
21065 return resultobj;
21066 fail:
21067 return NULL;
21068 }
21069
21070
21071 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21072 PyObject *resultobj;
21073 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21074 wxString *arg2 = 0 ;
21075 bool temp2 = False ;
21076 PyObject * obj0 = 0 ;
21077 PyObject * obj1 = 0 ;
21078 char *kwnames[] = {
21079 (char *) "self",(char *) "label", NULL
21080 };
21081
21082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21084 {
21085 arg2 = wxString_in_helper(obj1);
21086 if (arg2 == NULL) SWIG_fail;
21087 temp2 = True;
21088 }
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 (arg1)->SetLabel((wxString const &)*arg2);
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 Py_INCREF(Py_None); resultobj = Py_None;
21097 {
21098 if (temp2)
21099 delete arg2;
21100 }
21101 return resultobj;
21102 fail:
21103 {
21104 if (temp2)
21105 delete arg2;
21106 }
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21114 bool result;
21115 PyObject * obj0 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 resultobj = PyInt_FromLong((long)result);
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21139 bool arg2 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "editCancelled", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21148 arg2 = PyInt_AsLong(obj1) ? true : false;
21149 if (PyErr_Occurred()) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 (arg1)->SetEditCanceled(arg2);
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 Py_INCREF(Py_None); resultobj = Py_None;
21158 return resultobj;
21159 fail:
21160 return NULL;
21161 }
21162
21163
21164 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21167 wxString *arg2 = 0 ;
21168 bool temp2 = False ;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 char *kwnames[] = {
21172 (char *) "self",(char *) "toolTip", NULL
21173 };
21174
21175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21177 {
21178 arg2 = wxString_in_helper(obj1);
21179 if (arg2 == NULL) SWIG_fail;
21180 temp2 = True;
21181 }
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 (arg1)->SetToolTip((wxString const &)*arg2);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 Py_INCREF(Py_None); resultobj = Py_None;
21190 {
21191 if (temp2)
21192 delete arg2;
21193 }
21194 return resultobj;
21195 fail:
21196 {
21197 if (temp2)
21198 delete arg2;
21199 }
21200 return NULL;
21201 }
21202
21203
21204 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21205 PyObject *obj;
21206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21207 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21208 Py_INCREF(obj);
21209 return Py_BuildValue((char *)"");
21210 }
21211 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21212 PyObject *resultobj;
21213 wxWindow *arg1 = (wxWindow *) 0 ;
21214 int arg2 = (int) -1 ;
21215 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21216 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21217 wxSize const &arg4_defvalue = wxDefaultSize ;
21218 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21219 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21220 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21221 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21222 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21223 wxString *arg7 = (wxString *) &arg7_defvalue ;
21224 wxPyTreeCtrl *result;
21225 wxPoint temp3 ;
21226 wxSize temp4 ;
21227 bool temp7 = False ;
21228 PyObject * obj0 = 0 ;
21229 PyObject * obj2 = 0 ;
21230 PyObject * obj3 = 0 ;
21231 PyObject * obj5 = 0 ;
21232 PyObject * obj6 = 0 ;
21233 char *kwnames[] = {
21234 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21235 };
21236
21237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21239 if (obj2) {
21240 {
21241 arg3 = &temp3;
21242 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21243 }
21244 }
21245 if (obj3) {
21246 {
21247 arg4 = &temp4;
21248 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21249 }
21250 }
21251 if (obj5) {
21252 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21253 if (arg6 == NULL) {
21254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21255 }
21256 }
21257 if (obj6) {
21258 {
21259 arg7 = wxString_in_helper(obj6);
21260 if (arg7 == NULL) SWIG_fail;
21261 temp7 = True;
21262 }
21263 }
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 {
21272 resultobj = wxPyMake_wxObject(result);
21273 }
21274 {
21275 if (temp7)
21276 delete arg7;
21277 }
21278 return resultobj;
21279 fail:
21280 {
21281 if (temp7)
21282 delete arg7;
21283 }
21284 return NULL;
21285 }
21286
21287
21288 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21289 PyObject *resultobj;
21290 wxPyTreeCtrl *result;
21291 char *kwnames[] = {
21292 NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 {
21304 resultobj = wxPyMake_wxObject(result);
21305 }
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21315 wxWindow *arg2 = (wxWindow *) 0 ;
21316 int arg3 = (int) -1 ;
21317 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21318 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21319 wxSize const &arg5_defvalue = wxDefaultSize ;
21320 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21321 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21322 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21323 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21324 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21325 wxString *arg8 = (wxString *) &arg8_defvalue ;
21326 bool result;
21327 wxPoint temp4 ;
21328 wxSize temp5 ;
21329 bool temp8 = False ;
21330 PyObject * obj0 = 0 ;
21331 PyObject * obj1 = 0 ;
21332 PyObject * obj3 = 0 ;
21333 PyObject * obj4 = 0 ;
21334 PyObject * obj6 = 0 ;
21335 PyObject * obj7 = 0 ;
21336 char *kwnames[] = {
21337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21338 };
21339
21340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21342 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21343 if (obj3) {
21344 {
21345 arg4 = &temp4;
21346 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21347 }
21348 }
21349 if (obj4) {
21350 {
21351 arg5 = &temp5;
21352 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21353 }
21354 }
21355 if (obj6) {
21356 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21357 if (arg7 == NULL) {
21358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21359 }
21360 }
21361 if (obj7) {
21362 {
21363 arg8 = wxString_in_helper(obj7);
21364 if (arg8 == NULL) SWIG_fail;
21365 temp8 = True;
21366 }
21367 }
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 resultobj = PyInt_FromLong((long)result);
21376 {
21377 if (temp8)
21378 delete arg8;
21379 }
21380 return resultobj;
21381 fail:
21382 {
21383 if (temp8)
21384 delete arg8;
21385 }
21386 return NULL;
21387 }
21388
21389
21390 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21391 PyObject *resultobj;
21392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21393 PyObject *arg2 = (PyObject *) 0 ;
21394 PyObject *arg3 = (PyObject *) 0 ;
21395 PyObject * obj0 = 0 ;
21396 PyObject * obj1 = 0 ;
21397 PyObject * obj2 = 0 ;
21398 char *kwnames[] = {
21399 (char *) "self",(char *) "self",(char *) "_class", NULL
21400 };
21401
21402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21404 arg2 = obj1;
21405 arg3 = obj2;
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 (arg1)->_setCallbackInfo(arg2,arg3);
21409
21410 wxPyEndAllowThreads(__tstate);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 Py_INCREF(Py_None); resultobj = Py_None;
21414 return resultobj;
21415 fail:
21416 return NULL;
21417 }
21418
21419
21420 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21421 PyObject *resultobj;
21422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21423 size_t result;
21424 PyObject * obj0 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21431 {
21432 PyThreadState* __tstate = wxPyBeginAllowThreads();
21433 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21434
21435 wxPyEndAllowThreads(__tstate);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 }
21438 resultobj = PyInt_FromLong((long)result);
21439 return resultobj;
21440 fail:
21441 return NULL;
21442 }
21443
21444
21445 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21446 PyObject *resultobj;
21447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21448 unsigned int result;
21449 PyObject * obj0 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = PyInt_FromLong((long)result);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21473 unsigned int arg2 ;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "self",(char *) "indent", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21482 arg2 = (unsigned int) PyInt_AsLong(obj1);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 {
21485 PyThreadState* __tstate = wxPyBeginAllowThreads();
21486 (arg1)->SetIndent(arg2);
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 Py_INCREF(Py_None); resultobj = Py_None;
21492 return resultobj;
21493 fail:
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21501 unsigned int result;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 resultobj = PyInt_FromLong((long)result);
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21526 unsigned int arg2 ;
21527 PyObject * obj0 = 0 ;
21528 PyObject * obj1 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self",(char *) "spacing", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21535 arg2 = (unsigned int) PyInt_AsLong(obj1);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 {
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
21539 (arg1)->SetSpacing(arg2);
21540
21541 wxPyEndAllowThreads(__tstate);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
21544 Py_INCREF(Py_None); resultobj = Py_None;
21545 return resultobj;
21546 fail:
21547 return NULL;
21548 }
21549
21550
21551 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21552 PyObject *resultobj;
21553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21554 wxImageList *result;
21555 PyObject * obj0 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21565
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 {
21570 resultobj = wxPyMake_wxObject(result);
21571 }
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21579 PyObject *resultobj;
21580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21581 wxImageList *result;
21582 PyObject * obj0 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 {
21597 resultobj = wxPyMake_wxObject(result);
21598 }
21599 return resultobj;
21600 fail:
21601 return NULL;
21602 }
21603
21604
21605 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21606 PyObject *resultobj;
21607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21608 wxImageList *arg2 = (wxImageList *) 0 ;
21609 PyObject * obj0 = 0 ;
21610 PyObject * obj1 = 0 ;
21611 char *kwnames[] = {
21612 (char *) "self",(char *) "imageList", NULL
21613 };
21614
21615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->SetImageList(arg2);
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629 }
21630
21631
21632 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21633 PyObject *resultobj;
21634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21635 wxImageList *arg2 = (wxImageList *) 0 ;
21636 PyObject * obj0 = 0 ;
21637 PyObject * obj1 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self",(char *) "imageList", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 {
21646 PyThreadState* __tstate = wxPyBeginAllowThreads();
21647 (arg1)->SetStateImageList(arg2);
21648
21649 wxPyEndAllowThreads(__tstate);
21650 if (PyErr_Occurred()) SWIG_fail;
21651 }
21652 Py_INCREF(Py_None); resultobj = Py_None;
21653 return resultobj;
21654 fail:
21655 return NULL;
21656 }
21657
21658
21659 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21660 PyObject *resultobj;
21661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21662 wxImageList *arg2 = (wxImageList *) 0 ;
21663 PyObject * obj0 = 0 ;
21664 PyObject * obj1 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self",(char *) "imageList", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 (arg1)->AssignImageList(arg2);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 Py_INCREF(Py_None); resultobj = Py_None;
21680 return resultobj;
21681 fail:
21682 return NULL;
21683 }
21684
21685
21686 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21687 PyObject *resultobj;
21688 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21689 wxImageList *arg2 = (wxImageList *) 0 ;
21690 PyObject * obj0 = 0 ;
21691 PyObject * obj1 = 0 ;
21692 char *kwnames[] = {
21693 (char *) "self",(char *) "imageList", NULL
21694 };
21695
21696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 (arg1)->AssignStateImageList(arg2);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 Py_INCREF(Py_None); resultobj = Py_None;
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21716 wxTreeItemId *arg2 = 0 ;
21717 wxString result;
21718 PyObject * obj0 = 0 ;
21719 PyObject * obj1 = 0 ;
21720 char *kwnames[] = {
21721 (char *) "self",(char *) "item", NULL
21722 };
21723
21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21727 if (arg2 == NULL) {
21728 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21729 }
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 {
21738 #if wxUSE_UNICODE
21739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21740 #else
21741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21742 #endif
21743 }
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21753 wxTreeItemId *arg2 = 0 ;
21754 int arg3 = (int) wxTreeItemIcon_Normal ;
21755 int result;
21756 PyObject * obj0 = 0 ;
21757 PyObject * obj1 = 0 ;
21758 char *kwnames[] = {
21759 (char *) "self",(char *) "item",(char *) "which", NULL
21760 };
21761
21762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21765 if (arg2 == NULL) {
21766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21767 }
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 resultobj = PyInt_FromLong((long)result);
21776 return resultobj;
21777 fail:
21778 return NULL;
21779 }
21780
21781
21782 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21783 PyObject *resultobj;
21784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21785 wxTreeItemId *arg2 = 0 ;
21786 wxPyTreeItemData *result;
21787 PyObject * obj0 = 0 ;
21788 PyObject * obj1 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self",(char *) "item", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21796 if (arg2 == NULL) {
21797 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21798 }
21799 {
21800 PyThreadState* __tstate = wxPyBeginAllowThreads();
21801 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21816 wxTreeItemId *arg2 = 0 ;
21817 PyObject *result;
21818 PyObject * obj0 = 0 ;
21819 PyObject * obj1 = 0 ;
21820 char *kwnames[] = {
21821 (char *) "self",(char *) "item", NULL
21822 };
21823
21824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21826 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21827 if (arg2 == NULL) {
21828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21829 }
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 resultobj = result;
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21847 wxTreeItemId *arg2 = 0 ;
21848 wxColour result;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "item", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21858 if (arg2 == NULL) {
21859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21860 }
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 {
21869 wxColour * resultptr;
21870 resultptr = new wxColour((wxColour &) result);
21871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21872 }
21873 return resultobj;
21874 fail:
21875 return NULL;
21876 }
21877
21878
21879 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21882 wxTreeItemId *arg2 = 0 ;
21883 wxColour result;
21884 PyObject * obj0 = 0 ;
21885 PyObject * obj1 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "item", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21893 if (arg2 == NULL) {
21894 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21895 }
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 {
21904 wxColour * resultptr;
21905 resultptr = new wxColour((wxColour &) result);
21906 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21907 }
21908 return resultobj;
21909 fail:
21910 return NULL;
21911 }
21912
21913
21914 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj;
21916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21917 wxTreeItemId *arg2 = 0 ;
21918 wxFont result;
21919 PyObject * obj0 = 0 ;
21920 PyObject * obj1 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "self",(char *) "item", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21928 if (arg2 == NULL) {
21929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21930 }
21931 {
21932 PyThreadState* __tstate = wxPyBeginAllowThreads();
21933 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21934
21935 wxPyEndAllowThreads(__tstate);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 }
21938 {
21939 wxFont * resultptr;
21940 resultptr = new wxFont((wxFont &) result);
21941 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21942 }
21943 return resultobj;
21944 fail:
21945 return NULL;
21946 }
21947
21948
21949 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj;
21951 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21952 wxTreeItemId *arg2 = 0 ;
21953 wxString *arg3 = 0 ;
21954 bool temp3 = False ;
21955 PyObject * obj0 = 0 ;
21956 PyObject * obj1 = 0 ;
21957 PyObject * obj2 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "self",(char *) "item",(char *) "text", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21965 if (arg2 == NULL) {
21966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21967 }
21968 {
21969 arg3 = wxString_in_helper(obj2);
21970 if (arg3 == NULL) SWIG_fail;
21971 temp3 = True;
21972 }
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 Py_INCREF(Py_None); resultobj = Py_None;
21981 {
21982 if (temp3)
21983 delete arg3;
21984 }
21985 return resultobj;
21986 fail:
21987 {
21988 if (temp3)
21989 delete arg3;
21990 }
21991 return NULL;
21992 }
21993
21994
21995 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21996 PyObject *resultobj;
21997 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21998 wxTreeItemId *arg2 = 0 ;
21999 int arg3 ;
22000 int arg4 = (int) wxTreeItemIcon_Normal ;
22001 PyObject * obj0 = 0 ;
22002 PyObject * obj1 = 0 ;
22003 char *kwnames[] = {
22004 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22005 };
22006
22007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
22008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22010 if (arg2 == NULL) {
22011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22012 }
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 Py_INCREF(Py_None); resultobj = Py_None;
22021 return resultobj;
22022 fail:
22023 return NULL;
22024 }
22025
22026
22027 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22028 PyObject *resultobj;
22029 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22030 wxTreeItemId *arg2 = 0 ;
22031 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 PyObject * obj2 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self",(char *) "item",(char *) "data", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22042 if (arg2 == NULL) {
22043 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22044 }
22045 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22046 {
22047 PyThreadState* __tstate = wxPyBeginAllowThreads();
22048 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
22049
22050 wxPyEndAllowThreads(__tstate);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 }
22053 Py_INCREF(Py_None); resultobj = Py_None;
22054 return resultobj;
22055 fail:
22056 return NULL;
22057 }
22058
22059
22060 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
22061 PyObject *resultobj;
22062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22063 wxTreeItemId *arg2 = 0 ;
22064 PyObject *arg3 = (PyObject *) 0 ;
22065 PyObject * obj0 = 0 ;
22066 PyObject * obj1 = 0 ;
22067 PyObject * obj2 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self",(char *) "item",(char *) "obj", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 if (arg2 == NULL) {
22076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22077 }
22078 arg3 = obj2;
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
22082
22083 wxPyEndAllowThreads(__tstate);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 Py_INCREF(Py_None); resultobj = Py_None;
22087 return resultobj;
22088 fail:
22089 return NULL;
22090 }
22091
22092
22093 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22094 PyObject *resultobj;
22095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22096 wxTreeItemId *arg2 = 0 ;
22097 bool arg3 = (bool) True ;
22098 PyObject * obj0 = 0 ;
22099 PyObject * obj1 = 0 ;
22100 PyObject * obj2 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self",(char *) "item",(char *) "has", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22108 if (arg2 == NULL) {
22109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22110 }
22111 if (obj2) {
22112 arg3 = PyInt_AsLong(obj2) ? true : false;
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
22118
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
22122 Py_INCREF(Py_None); resultobj = Py_None;
22123 return resultobj;
22124 fail:
22125 return NULL;
22126 }
22127
22128
22129 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22132 wxTreeItemId *arg2 = 0 ;
22133 bool arg3 = (bool) True ;
22134 PyObject * obj0 = 0 ;
22135 PyObject * obj1 = 0 ;
22136 PyObject * obj2 = 0 ;
22137 char *kwnames[] = {
22138 (char *) "self",(char *) "item",(char *) "bold", NULL
22139 };
22140
22141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
22142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22144 if (arg2 == NULL) {
22145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22146 }
22147 if (obj2) {
22148 arg3 = PyInt_AsLong(obj2) ? true : false;
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 {
22152 PyThreadState* __tstate = wxPyBeginAllowThreads();
22153 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22154
22155 wxPyEndAllowThreads(__tstate);
22156 if (PyErr_Occurred()) SWIG_fail;
22157 }
22158 Py_INCREF(Py_None); resultobj = Py_None;
22159 return resultobj;
22160 fail:
22161 return NULL;
22162 }
22163
22164
22165 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22166 PyObject *resultobj;
22167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22168 wxTreeItemId *arg2 = 0 ;
22169 bool arg3 = (bool) True ;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 PyObject * obj2 = 0 ;
22173 char *kwnames[] = {
22174 (char *) "self",(char *) "item",(char *) "highlight", NULL
22175 };
22176
22177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
22178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22180 if (arg2 == NULL) {
22181 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22182 }
22183 if (obj2) {
22184 arg3 = PyInt_AsLong(obj2) ? true : false;
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 Py_INCREF(Py_None); resultobj = Py_None;
22195 return resultobj;
22196 fail:
22197 return NULL;
22198 }
22199
22200
22201 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22204 wxTreeItemId *arg2 = 0 ;
22205 wxColour *arg3 = 0 ;
22206 wxColour temp3 ;
22207 PyObject * obj0 = 0 ;
22208 PyObject * obj1 = 0 ;
22209 PyObject * obj2 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self",(char *) "item",(char *) "col", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22217 if (arg2 == NULL) {
22218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22219 }
22220 {
22221 arg3 = &temp3;
22222 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22223 }
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 Py_INCREF(Py_None); resultobj = Py_None;
22232 return resultobj;
22233 fail:
22234 return NULL;
22235 }
22236
22237
22238 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22239 PyObject *resultobj;
22240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22241 wxTreeItemId *arg2 = 0 ;
22242 wxColour *arg3 = 0 ;
22243 wxColour temp3 ;
22244 PyObject * obj0 = 0 ;
22245 PyObject * obj1 = 0 ;
22246 PyObject * obj2 = 0 ;
22247 char *kwnames[] = {
22248 (char *) "self",(char *) "item",(char *) "col", NULL
22249 };
22250
22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22254 if (arg2 == NULL) {
22255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22256 }
22257 {
22258 arg3 = &temp3;
22259 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22260 }
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 Py_INCREF(Py_None); resultobj = Py_None;
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22278 wxTreeItemId *arg2 = 0 ;
22279 wxFont *arg3 = 0 ;
22280 PyObject * obj0 = 0 ;
22281 PyObject * obj1 = 0 ;
22282 PyObject * obj2 = 0 ;
22283 char *kwnames[] = {
22284 (char *) "self",(char *) "item",(char *) "font", NULL
22285 };
22286
22287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22290 if (arg2 == NULL) {
22291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22292 }
22293 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22294 if (arg3 == NULL) {
22295 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22296 }
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 Py_INCREF(Py_None); resultobj = Py_None;
22305 return resultobj;
22306 fail:
22307 return NULL;
22308 }
22309
22310
22311 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22314 wxTreeItemId *arg2 = 0 ;
22315 bool result;
22316 PyObject * obj0 = 0 ;
22317 PyObject * obj1 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self",(char *) "item", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 if (arg2 == NULL) {
22326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22327 }
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 resultobj = PyInt_FromLong((long)result);
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22345 wxTreeItemId *arg2 = 0 ;
22346 bool result;
22347 PyObject * obj0 = 0 ;
22348 PyObject * obj1 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self",(char *) "item", NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22356 if (arg2 == NULL) {
22357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22358 }
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 resultobj = PyInt_FromLong((long)result);
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22376 wxTreeItemId *arg2 = 0 ;
22377 bool result;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self",(char *) "item", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22387 if (arg2 == NULL) {
22388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22389 }
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 resultobj = PyInt_FromLong((long)result);
22398 return resultobj;
22399 fail:
22400 return NULL;
22401 }
22402
22403
22404 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22407 wxTreeItemId *arg2 = 0 ;
22408 bool result;
22409 PyObject * obj0 = 0 ;
22410 PyObject * obj1 = 0 ;
22411 char *kwnames[] = {
22412 (char *) "self",(char *) "item", NULL
22413 };
22414
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22418 if (arg2 == NULL) {
22419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22420 }
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 resultobj = PyInt_FromLong((long)result);
22429 return resultobj;
22430 fail:
22431 return NULL;
22432 }
22433
22434
22435 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22436 PyObject *resultobj;
22437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22438 wxTreeItemId *arg2 = 0 ;
22439 bool result;
22440 PyObject * obj0 = 0 ;
22441 PyObject * obj1 = 0 ;
22442 char *kwnames[] = {
22443 (char *) "self",(char *) "item", NULL
22444 };
22445
22446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22449 if (arg2 == NULL) {
22450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22451 }
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 resultobj = PyInt_FromLong((long)result);
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22469 wxTreeItemId *arg2 = 0 ;
22470 bool arg3 = (bool) True ;
22471 size_t result;
22472 PyObject * obj0 = 0 ;
22473 PyObject * obj1 = 0 ;
22474 PyObject * obj2 = 0 ;
22475 char *kwnames[] = {
22476 (char *) "self",(char *) "item",(char *) "recursively", NULL
22477 };
22478
22479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22482 if (arg2 == NULL) {
22483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22484 }
22485 if (obj2) {
22486 arg3 = PyInt_AsLong(obj2) ? true : false;
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = PyInt_FromLong((long)result);
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj;
22505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22506 wxTreeItemId result;
22507 PyObject * obj0 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 {
22522 wxTreeItemId * resultptr;
22523 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22524 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22525 }
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22535 wxTreeItemId result;
22536 PyObject * obj0 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 {
22551 wxTreeItemId * resultptr;
22552 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22553 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22554 }
22555 return resultobj;
22556 fail:
22557 return NULL;
22558 }
22559
22560
22561 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22562 PyObject *resultobj;
22563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22564 PyObject *result;
22565 PyObject * obj0 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 resultobj = result;
22580 return resultobj;
22581 fail:
22582 return NULL;
22583 }
22584
22585
22586 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22587 PyObject *resultobj;
22588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22589 wxTreeItemId *arg2 = 0 ;
22590 wxTreeItemId result;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self",(char *) "item", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22600 if (arg2 == NULL) {
22601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22602 }
22603 {
22604 PyThreadState* __tstate = wxPyBeginAllowThreads();
22605 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22606
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 {
22611 wxTreeItemId * resultptr;
22612 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22613 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22614 }
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj;
22623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22624 wxTreeItemId *arg2 = 0 ;
22625 PyObject *result;
22626 PyObject * obj0 = 0 ;
22627 PyObject * obj1 = 0 ;
22628 char *kwnames[] = {
22629 (char *) "self",(char *) "item", NULL
22630 };
22631
22632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22635 if (arg2 == NULL) {
22636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22637 }
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 resultobj = result;
22646 return resultobj;
22647 fail:
22648 return NULL;
22649 }
22650
22651
22652 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22653 PyObject *resultobj;
22654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22655 wxTreeItemId *arg2 = 0 ;
22656 wxTreeItemIdValue *arg3 = 0 ;
22657 PyObject *result;
22658 PyObject * obj0 = 0 ;
22659 PyObject * obj1 = 0 ;
22660 PyObject * obj2 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self",(char *) "item",(char *) "cookie", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22668 if (arg2 == NULL) {
22669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22670 }
22671 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22672 if (arg3 == NULL) {
22673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22674 }
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = result;
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22692 wxTreeItemId *arg2 = 0 ;
22693 wxTreeItemId result;
22694 PyObject * obj0 = 0 ;
22695 PyObject * obj1 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self",(char *) "item", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22703 if (arg2 == NULL) {
22704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22705 }
22706 {
22707 PyThreadState* __tstate = wxPyBeginAllowThreads();
22708 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22709
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 {
22714 wxTreeItemId * resultptr;
22715 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22716 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22717 }
22718 return resultobj;
22719 fail:
22720 return NULL;
22721 }
22722
22723
22724 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22725 PyObject *resultobj;
22726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22727 wxTreeItemId *arg2 = 0 ;
22728 wxTreeItemId result;
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self",(char *) "item", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22738 if (arg2 == NULL) {
22739 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22740 }
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
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 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22760 PyObject *resultobj;
22761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22762 wxTreeItemId *arg2 = 0 ;
22763 wxTreeItemId result;
22764 PyObject * obj0 = 0 ;
22765 PyObject * obj1 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self",(char *) "item", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22773 if (arg2 == NULL) {
22774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22775 }
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 {
22784 wxTreeItemId * resultptr;
22785 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22786 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22787 }
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22797 wxTreeItemId result;
22798 PyObject * obj0 = 0 ;
22799 char *kwnames[] = {
22800 (char *) "self", NULL
22801 };
22802
22803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22808
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
22812 {
22813 wxTreeItemId * resultptr;
22814 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22815 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22816 }
22817 return resultobj;
22818 fail:
22819 return NULL;
22820 }
22821
22822
22823 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj;
22825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22826 wxTreeItemId *arg2 = 0 ;
22827 wxTreeItemId result;
22828 PyObject * obj0 = 0 ;
22829 PyObject * obj1 = 0 ;
22830 char *kwnames[] = {
22831 (char *) "self",(char *) "item", NULL
22832 };
22833
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22837 if (arg2 == NULL) {
22838 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22839 }
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 {
22848 wxTreeItemId * resultptr;
22849 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22851 }
22852 return resultobj;
22853 fail:
22854 return NULL;
22855 }
22856
22857
22858 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22859 PyObject *resultobj;
22860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22861 wxTreeItemId *arg2 = 0 ;
22862 wxTreeItemId result;
22863 PyObject * obj0 = 0 ;
22864 PyObject * obj1 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self",(char *) "item", NULL
22867 };
22868
22869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22872 if (arg2 == NULL) {
22873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22874 }
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 {
22883 wxTreeItemId * resultptr;
22884 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22885 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22886 }
22887 return resultobj;
22888 fail:
22889 return NULL;
22890 }
22891
22892
22893 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22894 PyObject *resultobj;
22895 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22896 wxString *arg2 = 0 ;
22897 int arg3 = (int) -1 ;
22898 int arg4 = (int) -1 ;
22899 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22900 wxTreeItemId result;
22901 bool temp2 = False ;
22902 PyObject * obj0 = 0 ;
22903 PyObject * obj1 = 0 ;
22904 PyObject * obj4 = 0 ;
22905 char *kwnames[] = {
22906 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22907 };
22908
22909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22911 {
22912 arg2 = wxString_in_helper(obj1);
22913 if (arg2 == NULL) SWIG_fail;
22914 temp2 = True;
22915 }
22916 if (obj4) {
22917 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22918 }
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 {
22927 wxTreeItemId * resultptr;
22928 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22929 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22930 }
22931 {
22932 if (temp2)
22933 delete arg2;
22934 }
22935 return resultobj;
22936 fail:
22937 {
22938 if (temp2)
22939 delete arg2;
22940 }
22941 return NULL;
22942 }
22943
22944
22945 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22946 PyObject *resultobj;
22947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22948 wxTreeItemId *arg2 = 0 ;
22949 wxString *arg3 = 0 ;
22950 int arg4 = (int) -1 ;
22951 int arg5 = (int) -1 ;
22952 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22953 wxTreeItemId result;
22954 bool temp3 = False ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 PyObject * obj2 = 0 ;
22958 PyObject * obj5 = 0 ;
22959 char *kwnames[] = {
22960 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22961 };
22962
22963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22966 if (arg2 == NULL) {
22967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22968 }
22969 {
22970 arg3 = wxString_in_helper(obj2);
22971 if (arg3 == NULL) SWIG_fail;
22972 temp3 = True;
22973 }
22974 if (obj5) {
22975 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22976 }
22977 {
22978 PyThreadState* __tstate = wxPyBeginAllowThreads();
22979 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22980
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 {
22985 wxTreeItemId * resultptr;
22986 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22987 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22988 }
22989 {
22990 if (temp3)
22991 delete arg3;
22992 }
22993 return resultobj;
22994 fail:
22995 {
22996 if (temp3)
22997 delete arg3;
22998 }
22999 return NULL;
23000 }
23001
23002
23003 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23004 PyObject *resultobj;
23005 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23006 wxTreeItemId *arg2 = 0 ;
23007 wxTreeItemId *arg3 = 0 ;
23008 wxString *arg4 = 0 ;
23009 int arg5 = (int) -1 ;
23010 int arg6 = (int) -1 ;
23011 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23012 wxTreeItemId result;
23013 bool temp4 = False ;
23014 PyObject * obj0 = 0 ;
23015 PyObject * obj1 = 0 ;
23016 PyObject * obj2 = 0 ;
23017 PyObject * obj3 = 0 ;
23018 PyObject * obj6 = 0 ;
23019 char *kwnames[] = {
23020 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23021 };
23022
23023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23026 if (arg2 == NULL) {
23027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23028 }
23029 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23030 if (arg3 == NULL) {
23031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23032 }
23033 {
23034 arg4 = wxString_in_helper(obj3);
23035 if (arg4 == NULL) SWIG_fail;
23036 temp4 = True;
23037 }
23038 if (obj6) {
23039 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23040 }
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
23048 {
23049 wxTreeItemId * resultptr;
23050 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23051 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23052 }
23053 {
23054 if (temp4)
23055 delete arg4;
23056 }
23057 return resultobj;
23058 fail:
23059 {
23060 if (temp4)
23061 delete arg4;
23062 }
23063 return NULL;
23064 }
23065
23066
23067 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
23068 PyObject *resultobj;
23069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23070 wxTreeItemId *arg2 = 0 ;
23071 size_t arg3 ;
23072 wxString *arg4 = 0 ;
23073 int arg5 = (int) -1 ;
23074 int arg6 = (int) -1 ;
23075 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23076 wxTreeItemId result;
23077 bool temp4 = False ;
23078 PyObject * obj0 = 0 ;
23079 PyObject * obj1 = 0 ;
23080 PyObject * obj2 = 0 ;
23081 PyObject * obj3 = 0 ;
23082 PyObject * obj6 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23090 if (arg2 == NULL) {
23091 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23092 }
23093 arg3 = (size_t) PyInt_AsLong(obj2);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 {
23096 arg4 = wxString_in_helper(obj3);
23097 if (arg4 == NULL) SWIG_fail;
23098 temp4 = True;
23099 }
23100 if (obj6) {
23101 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23102 }
23103 {
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 {
23111 wxTreeItemId * resultptr;
23112 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23113 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23114 }
23115 {
23116 if (temp4)
23117 delete arg4;
23118 }
23119 return resultobj;
23120 fail:
23121 {
23122 if (temp4)
23123 delete arg4;
23124 }
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23132 wxTreeItemId *arg2 = 0 ;
23133 wxString *arg3 = 0 ;
23134 int arg4 = (int) -1 ;
23135 int arg5 = (int) -1 ;
23136 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23137 wxTreeItemId result;
23138 bool temp3 = False ;
23139 PyObject * obj0 = 0 ;
23140 PyObject * obj1 = 0 ;
23141 PyObject * obj2 = 0 ;
23142 PyObject * obj5 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23150 if (arg2 == NULL) {
23151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23152 }
23153 {
23154 arg3 = wxString_in_helper(obj2);
23155 if (arg3 == NULL) SWIG_fail;
23156 temp3 = True;
23157 }
23158 if (obj5) {
23159 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23160 }
23161 {
23162 PyThreadState* __tstate = wxPyBeginAllowThreads();
23163 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23164
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 {
23169 wxTreeItemId * resultptr;
23170 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23171 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23172 }
23173 {
23174 if (temp3)
23175 delete arg3;
23176 }
23177 return resultobj;
23178 fail:
23179 {
23180 if (temp3)
23181 delete arg3;
23182 }
23183 return NULL;
23184 }
23185
23186
23187 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23188 PyObject *resultobj;
23189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23190 wxTreeItemId *arg2 = 0 ;
23191 PyObject * obj0 = 0 ;
23192 PyObject * obj1 = 0 ;
23193 char *kwnames[] = {
23194 (char *) "self",(char *) "item", NULL
23195 };
23196
23197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23200 if (arg2 == NULL) {
23201 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23202 }
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 (arg1)->Delete((wxTreeItemId const &)*arg2);
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
23210 Py_INCREF(Py_None); resultobj = Py_None;
23211 return resultobj;
23212 fail:
23213 return NULL;
23214 }
23215
23216
23217 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23218 PyObject *resultobj;
23219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23220 wxTreeItemId *arg2 = 0 ;
23221 PyObject * obj0 = 0 ;
23222 PyObject * obj1 = 0 ;
23223 char *kwnames[] = {
23224 (char *) "self",(char *) "item", NULL
23225 };
23226
23227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23230 if (arg2 == NULL) {
23231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23232 }
23233 {
23234 PyThreadState* __tstate = wxPyBeginAllowThreads();
23235 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23236
23237 wxPyEndAllowThreads(__tstate);
23238 if (PyErr_Occurred()) SWIG_fail;
23239 }
23240 Py_INCREF(Py_None); resultobj = Py_None;
23241 return resultobj;
23242 fail:
23243 return NULL;
23244 }
23245
23246
23247 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23248 PyObject *resultobj;
23249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23250 PyObject * obj0 = 0 ;
23251 char *kwnames[] = {
23252 (char *) "self", NULL
23253 };
23254
23255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 (arg1)->DeleteAllItems();
23260
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 Py_INCREF(Py_None); resultobj = Py_None;
23265 return resultobj;
23266 fail:
23267 return NULL;
23268 }
23269
23270
23271 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj;
23273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23274 wxTreeItemId *arg2 = 0 ;
23275 PyObject * obj0 = 0 ;
23276 PyObject * obj1 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "self",(char *) "item", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23284 if (arg2 == NULL) {
23285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23286 }
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 (arg1)->Expand((wxTreeItemId const &)*arg2);
23290
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 Py_INCREF(Py_None); resultobj = Py_None;
23295 return resultobj;
23296 fail:
23297 return NULL;
23298 }
23299
23300
23301 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23302 PyObject *resultobj;
23303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23304 wxTreeItemId *arg2 = 0 ;
23305 PyObject * obj0 = 0 ;
23306 PyObject * obj1 = 0 ;
23307 char *kwnames[] = {
23308 (char *) "self",(char *) "item", NULL
23309 };
23310
23311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23314 if (arg2 == NULL) {
23315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23316 }
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 Py_INCREF(Py_None); resultobj = Py_None;
23325 return resultobj;
23326 fail:
23327 return NULL;
23328 }
23329
23330
23331 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23332 PyObject *resultobj;
23333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23334 wxTreeItemId *arg2 = 0 ;
23335 PyObject * obj0 = 0 ;
23336 PyObject * obj1 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "self",(char *) "item", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23343 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23344 if (arg2 == NULL) {
23345 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23346 }
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23350
23351 wxPyEndAllowThreads(__tstate);
23352 if (PyErr_Occurred()) SWIG_fail;
23353 }
23354 Py_INCREF(Py_None); resultobj = Py_None;
23355 return resultobj;
23356 fail:
23357 return NULL;
23358 }
23359
23360
23361 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23362 PyObject *resultobj;
23363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23364 wxTreeItemId *arg2 = 0 ;
23365 PyObject * obj0 = 0 ;
23366 PyObject * obj1 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self",(char *) "item", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23374 if (arg2 == NULL) {
23375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23376 }
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 Py_INCREF(Py_None); resultobj = Py_None;
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23394 PyObject * obj0 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 (arg1)->Unselect();
23404
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 Py_INCREF(Py_None); resultobj = Py_None;
23409 return resultobj;
23410 fail:
23411 return NULL;
23412 }
23413
23414
23415 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23416 PyObject *resultobj;
23417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23418 PyObject * obj0 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 (arg1)->UnselectAll();
23428
23429 wxPyEndAllowThreads(__tstate);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 Py_INCREF(Py_None); resultobj = Py_None;
23433 return resultobj;
23434 fail:
23435 return NULL;
23436 }
23437
23438
23439 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23440 PyObject *resultobj;
23441 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23442 wxTreeItemId *arg2 = 0 ;
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self",(char *) "item", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23452 if (arg2 == NULL) {
23453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23454 }
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 Py_INCREF(Py_None); resultobj = Py_None;
23463 return resultobj;
23464 fail:
23465 return NULL;
23466 }
23467
23468
23469 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23470 PyObject *resultobj;
23471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23472 wxTreeItemId *arg2 = 0 ;
23473 PyObject * obj0 = 0 ;
23474 PyObject * obj1 = 0 ;
23475 char *kwnames[] = {
23476 (char *) "self",(char *) "item", NULL
23477 };
23478
23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23482 if (arg2 == NULL) {
23483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23484 }
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23488
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
23492 Py_INCREF(Py_None); resultobj = Py_None;
23493 return resultobj;
23494 fail:
23495 return NULL;
23496 }
23497
23498
23499 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23500 PyObject *resultobj;
23501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23502 wxTreeItemId *arg2 = 0 ;
23503 PyObject * obj0 = 0 ;
23504 PyObject * obj1 = 0 ;
23505 char *kwnames[] = {
23506 (char *) "self",(char *) "item", NULL
23507 };
23508
23509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23512 if (arg2 == NULL) {
23513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23514 }
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23532 wxTreeItemId *arg2 = 0 ;
23533 PyObject * obj0 = 0 ;
23534 PyObject * obj1 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self",(char *) "item", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23542 if (arg2 == NULL) {
23543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23544 }
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23548
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 Py_INCREF(Py_None); resultobj = Py_None;
23553 return resultobj;
23554 fail:
23555 return NULL;
23556 }
23557
23558
23559 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23560 PyObject *resultobj;
23561 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23562 wxTextCtrl *result;
23563 PyObject * obj0 = 0 ;
23564 char *kwnames[] = {
23565 (char *) "self", NULL
23566 };
23567
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 resultobj = wxPyMake_wxObject(result);
23579 }
23580 return resultobj;
23581 fail:
23582 return NULL;
23583 }
23584
23585
23586 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23589 wxTreeItemId *arg2 = 0 ;
23590 bool arg3 = (bool) False ;
23591 PyObject * obj0 = 0 ;
23592 PyObject * obj1 = 0 ;
23593 PyObject * obj2 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
23599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23601 if (arg2 == NULL) {
23602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23603 }
23604 if (obj2) {
23605 arg3 = PyInt_AsLong(obj2) ? true : false;
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23625 wxTreeItemId *arg2 = 0 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "item", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23635 if (arg2 == NULL) {
23636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23637 }
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 Py_INCREF(Py_None); resultobj = Py_None;
23646 return resultobj;
23647 fail:
23648 return NULL;
23649 }
23650
23651
23652 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23655 wxPoint *arg2 = 0 ;
23656 int *arg3 = 0 ;
23657 wxTreeItemId result;
23658 wxPoint temp2 ;
23659 int temp3 ;
23660 PyObject * obj0 = 0 ;
23661 PyObject * obj1 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "self",(char *) "point", NULL
23664 };
23665
23666 arg3 = &temp3;
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23669 {
23670 arg2 = &temp2;
23671 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23672 }
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 {
23681 wxTreeItemId * resultptr;
23682 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23684 }
23685 {
23686 PyObject *o = PyInt_FromLong((long) (*arg3));
23687 resultobj = t_output_helper(resultobj,o);
23688 }
23689 return resultobj;
23690 fail:
23691 return NULL;
23692 }
23693
23694
23695 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23696 PyObject *resultobj;
23697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23698 wxTreeItemId *arg2 = 0 ;
23699 bool arg3 = (bool) False ;
23700 PyObject *result;
23701 PyObject * obj0 = 0 ;
23702 PyObject * obj1 = 0 ;
23703 PyObject * obj2 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23711 if (arg2 == NULL) {
23712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23713 }
23714 if (obj2) {
23715 arg3 = PyInt_AsLong(obj2) ? true : false;
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
23725 resultobj = result;
23726 return resultobj;
23727 fail:
23728 return NULL;
23729 }
23730
23731
23732 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23733 PyObject *obj;
23734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23735 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23736 Py_INCREF(obj);
23737 return Py_BuildValue((char *)"");
23738 }
23739 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23740 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23741 return 1;
23742 }
23743
23744
23745 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23746 PyObject *pyobj;
23747
23748 {
23749 #if wxUSE_UNICODE
23750 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23751 #else
23752 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23753 #endif
23754 }
23755 return pyobj;
23756 }
23757
23758
23759 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23760 PyObject *resultobj;
23761 wxWindow *arg1 = (wxWindow *) 0 ;
23762 int arg2 = (int) (int)-1 ;
23763 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23764 wxString *arg3 = (wxString *) &arg3_defvalue ;
23765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23767 wxSize const &arg5_defvalue = wxDefaultSize ;
23768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23769 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23770 wxString const &arg7_defvalue = wxPyEmptyString ;
23771 wxString *arg7 = (wxString *) &arg7_defvalue ;
23772 int arg8 = (int) 0 ;
23773 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23774 wxString *arg9 = (wxString *) &arg9_defvalue ;
23775 wxGenericDirCtrl *result;
23776 bool temp3 = False ;
23777 wxPoint temp4 ;
23778 wxSize temp5 ;
23779 bool temp7 = False ;
23780 bool temp9 = False ;
23781 PyObject * obj0 = 0 ;
23782 PyObject * obj2 = 0 ;
23783 PyObject * obj3 = 0 ;
23784 PyObject * obj4 = 0 ;
23785 PyObject * obj6 = 0 ;
23786 PyObject * obj8 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23793 if (obj2) {
23794 {
23795 arg3 = wxString_in_helper(obj2);
23796 if (arg3 == NULL) SWIG_fail;
23797 temp3 = True;
23798 }
23799 }
23800 if (obj3) {
23801 {
23802 arg4 = &temp4;
23803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23804 }
23805 }
23806 if (obj4) {
23807 {
23808 arg5 = &temp5;
23809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23810 }
23811 }
23812 if (obj6) {
23813 {
23814 arg7 = wxString_in_helper(obj6);
23815 if (arg7 == NULL) SWIG_fail;
23816 temp7 = True;
23817 }
23818 }
23819 if (obj8) {
23820 {
23821 arg9 = wxString_in_helper(obj8);
23822 if (arg9 == NULL) SWIG_fail;
23823 temp9 = True;
23824 }
23825 }
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23829
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23834 {
23835 if (temp3)
23836 delete arg3;
23837 }
23838 {
23839 if (temp7)
23840 delete arg7;
23841 }
23842 {
23843 if (temp9)
23844 delete arg9;
23845 }
23846 return resultobj;
23847 fail:
23848 {
23849 if (temp3)
23850 delete arg3;
23851 }
23852 {
23853 if (temp7)
23854 delete arg7;
23855 }
23856 {
23857 if (temp9)
23858 delete arg9;
23859 }
23860 return NULL;
23861 }
23862
23863
23864 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23865 PyObject *resultobj;
23866 wxGenericDirCtrl *result;
23867 char *kwnames[] = {
23868 NULL
23869 };
23870
23871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23889 wxWindow *arg2 = (wxWindow *) 0 ;
23890 int arg3 = (int) (int)-1 ;
23891 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23892 wxString *arg4 = (wxString *) &arg4_defvalue ;
23893 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23894 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23895 wxSize const &arg6_defvalue = wxDefaultSize ;
23896 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23897 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23898 wxString const &arg8_defvalue = wxPyEmptyString ;
23899 wxString *arg8 = (wxString *) &arg8_defvalue ;
23900 int arg9 = (int) 0 ;
23901 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23902 wxString *arg10 = (wxString *) &arg10_defvalue ;
23903 bool result;
23904 bool temp4 = False ;
23905 wxPoint temp5 ;
23906 wxSize temp6 ;
23907 bool temp8 = False ;
23908 bool temp10 = False ;
23909 PyObject * obj0 = 0 ;
23910 PyObject * obj1 = 0 ;
23911 PyObject * obj3 = 0 ;
23912 PyObject * obj4 = 0 ;
23913 PyObject * obj5 = 0 ;
23914 PyObject * obj7 = 0 ;
23915 PyObject * obj9 = 0 ;
23916 char *kwnames[] = {
23917 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23918 };
23919
23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23923 if (obj3) {
23924 {
23925 arg4 = wxString_in_helper(obj3);
23926 if (arg4 == NULL) SWIG_fail;
23927 temp4 = True;
23928 }
23929 }
23930 if (obj4) {
23931 {
23932 arg5 = &temp5;
23933 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23934 }
23935 }
23936 if (obj5) {
23937 {
23938 arg6 = &temp6;
23939 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23940 }
23941 }
23942 if (obj7) {
23943 {
23944 arg8 = wxString_in_helper(obj7);
23945 if (arg8 == NULL) SWIG_fail;
23946 temp8 = True;
23947 }
23948 }
23949 if (obj9) {
23950 {
23951 arg10 = wxString_in_helper(obj9);
23952 if (arg10 == NULL) SWIG_fail;
23953 temp10 = True;
23954 }
23955 }
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23959
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 resultobj = PyInt_FromLong((long)result);
23964 {
23965 if (temp4)
23966 delete arg4;
23967 }
23968 {
23969 if (temp8)
23970 delete arg8;
23971 }
23972 {
23973 if (temp10)
23974 delete arg10;
23975 }
23976 return resultobj;
23977 fail:
23978 {
23979 if (temp4)
23980 delete arg4;
23981 }
23982 {
23983 if (temp8)
23984 delete arg8;
23985 }
23986 {
23987 if (temp10)
23988 delete arg10;
23989 }
23990 return NULL;
23991 }
23992
23993
23994 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj;
23996 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23997 wxString *arg2 = 0 ;
23998 bool result;
23999 bool temp2 = False ;
24000 PyObject * obj0 = 0 ;
24001 PyObject * obj1 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self",(char *) "path", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
24007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24008 {
24009 arg2 = wxString_in_helper(obj1);
24010 if (arg2 == NULL) SWIG_fail;
24011 temp2 = True;
24012 }
24013 {
24014 PyThreadState* __tstate = wxPyBeginAllowThreads();
24015 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
24016
24017 wxPyEndAllowThreads(__tstate);
24018 if (PyErr_Occurred()) SWIG_fail;
24019 }
24020 resultobj = PyInt_FromLong((long)result);
24021 {
24022 if (temp2)
24023 delete arg2;
24024 }
24025 return resultobj;
24026 fail:
24027 {
24028 if (temp2)
24029 delete arg2;
24030 }
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24038 wxString result;
24039 PyObject * obj0 = 0 ;
24040 char *kwnames[] = {
24041 (char *) "self", NULL
24042 };
24043
24044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
24045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 {
24054 #if wxUSE_UNICODE
24055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24056 #else
24057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24058 #endif
24059 }
24060 return resultobj;
24061 fail:
24062 return NULL;
24063 }
24064
24065
24066 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24067 PyObject *resultobj;
24068 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24069 wxString *arg2 = 0 ;
24070 bool temp2 = False ;
24071 PyObject * obj0 = 0 ;
24072 PyObject * obj1 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self",(char *) "path", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
24078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24079 {
24080 arg2 = wxString_in_helper(obj1);
24081 if (arg2 == NULL) SWIG_fail;
24082 temp2 = True;
24083 }
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 (arg1)->SetDefaultPath((wxString const &)*arg2);
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 Py_INCREF(Py_None); resultobj = Py_None;
24092 {
24093 if (temp2)
24094 delete arg2;
24095 }
24096 return resultobj;
24097 fail:
24098 {
24099 if (temp2)
24100 delete arg2;
24101 }
24102 return NULL;
24103 }
24104
24105
24106 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24107 PyObject *resultobj;
24108 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24109 wxString result;
24110 PyObject * obj0 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
24116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24117 {
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
24120
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 {
24125 #if wxUSE_UNICODE
24126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24127 #else
24128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24129 #endif
24130 }
24131 return resultobj;
24132 fail:
24133 return NULL;
24134 }
24135
24136
24137 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
24138 PyObject *resultobj;
24139 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24140 wxString result;
24141 PyObject * obj0 = 0 ;
24142 char *kwnames[] = {
24143 (char *) "self", NULL
24144 };
24145
24146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
24147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24148 {
24149 PyThreadState* __tstate = wxPyBeginAllowThreads();
24150 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
24151
24152 wxPyEndAllowThreads(__tstate);
24153 if (PyErr_Occurred()) SWIG_fail;
24154 }
24155 {
24156 #if wxUSE_UNICODE
24157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24158 #else
24159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24160 #endif
24161 }
24162 return resultobj;
24163 fail:
24164 return NULL;
24165 }
24166
24167
24168 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24169 PyObject *resultobj;
24170 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24171 wxString *arg2 = 0 ;
24172 bool temp2 = False ;
24173 PyObject * obj0 = 0 ;
24174 PyObject * obj1 = 0 ;
24175 char *kwnames[] = {
24176 (char *) "self",(char *) "path", NULL
24177 };
24178
24179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
24180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24181 {
24182 arg2 = wxString_in_helper(obj1);
24183 if (arg2 == NULL) SWIG_fail;
24184 temp2 = True;
24185 }
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 (arg1)->SetPath((wxString const &)*arg2);
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 Py_INCREF(Py_None); resultobj = Py_None;
24194 {
24195 if (temp2)
24196 delete arg2;
24197 }
24198 return resultobj;
24199 fail:
24200 {
24201 if (temp2)
24202 delete arg2;
24203 }
24204 return NULL;
24205 }
24206
24207
24208 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24211 bool arg2 ;
24212 PyObject * obj0 = 0 ;
24213 PyObject * obj1 = 0 ;
24214 char *kwnames[] = {
24215 (char *) "self",(char *) "show", NULL
24216 };
24217
24218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24220 arg2 = PyInt_AsLong(obj1) ? true : false;
24221 if (PyErr_Occurred()) SWIG_fail;
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 (arg1)->ShowHidden(arg2);
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 Py_INCREF(Py_None); resultobj = Py_None;
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24239 bool result;
24240 PyObject * obj0 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (bool)(arg1)->GetShowHidden();
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 resultobj = PyInt_FromLong((long)result);
24255 return resultobj;
24256 fail:
24257 return NULL;
24258 }
24259
24260
24261 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24264 wxString result;
24265 PyObject * obj0 = 0 ;
24266 char *kwnames[] = {
24267 (char *) "self", NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 {
24280 #if wxUSE_UNICODE
24281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24282 #else
24283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24284 #endif
24285 }
24286 return resultobj;
24287 fail:
24288 return NULL;
24289 }
24290
24291
24292 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24293 PyObject *resultobj;
24294 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24295 wxString *arg2 = 0 ;
24296 bool temp2 = False ;
24297 PyObject * obj0 = 0 ;
24298 PyObject * obj1 = 0 ;
24299 char *kwnames[] = {
24300 (char *) "self",(char *) "filter", NULL
24301 };
24302
24303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24305 {
24306 arg2 = wxString_in_helper(obj1);
24307 if (arg2 == NULL) SWIG_fail;
24308 temp2 = True;
24309 }
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 (arg1)->SetFilter((wxString const &)*arg2);
24313
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
24317 Py_INCREF(Py_None); resultobj = Py_None;
24318 {
24319 if (temp2)
24320 delete arg2;
24321 }
24322 return resultobj;
24323 fail:
24324 {
24325 if (temp2)
24326 delete arg2;
24327 }
24328 return NULL;
24329 }
24330
24331
24332 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24333 PyObject *resultobj;
24334 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24335 int result;
24336 PyObject * obj0 = 0 ;
24337 char *kwnames[] = {
24338 (char *) "self", NULL
24339 };
24340
24341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24343 {
24344 PyThreadState* __tstate = wxPyBeginAllowThreads();
24345 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24346
24347 wxPyEndAllowThreads(__tstate);
24348 if (PyErr_Occurred()) SWIG_fail;
24349 }
24350 resultobj = PyInt_FromLong((long)result);
24351 return resultobj;
24352 fail:
24353 return NULL;
24354 }
24355
24356
24357 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj;
24359 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24360 int arg2 ;
24361 PyObject * obj0 = 0 ;
24362 char *kwnames[] = {
24363 (char *) "self",(char *) "n", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24368 {
24369 PyThreadState* __tstate = wxPyBeginAllowThreads();
24370 (arg1)->SetFilterIndex(arg2);
24371
24372 wxPyEndAllowThreads(__tstate);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 Py_INCREF(Py_None); resultobj = Py_None;
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj;
24384 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24385 wxTreeItemId result;
24386 PyObject * obj0 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "self", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 result = (arg1)->GetRootId();
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 {
24401 wxTreeItemId * resultptr;
24402 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24403 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24404 }
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj;
24413 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24414 wxPyTreeCtrl *result;
24415 PyObject * obj0 = 0 ;
24416 char *kwnames[] = {
24417 (char *) "self", NULL
24418 };
24419
24420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24422 {
24423 PyThreadState* __tstate = wxPyBeginAllowThreads();
24424 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24425
24426 wxPyEndAllowThreads(__tstate);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
24429 {
24430 resultobj = wxPyMake_wxObject(result);
24431 }
24432 return resultobj;
24433 fail:
24434 return NULL;
24435 }
24436
24437
24438 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24439 PyObject *resultobj;
24440 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24441 wxDirFilterListCtrl *result;
24442 PyObject * obj0 = 0 ;
24443 char *kwnames[] = {
24444 (char *) "self", NULL
24445 };
24446
24447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24449 {
24450 PyThreadState* __tstate = wxPyBeginAllowThreads();
24451 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24452
24453 wxPyEndAllowThreads(__tstate);
24454 if (PyErr_Occurred()) SWIG_fail;
24455 }
24456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24457 return resultobj;
24458 fail:
24459 return NULL;
24460 }
24461
24462
24463 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24464 PyObject *resultobj;
24465 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24466 wxTreeItemId arg2 ;
24467 wxString *arg3 = 0 ;
24468 bool *arg4 = 0 ;
24469 wxTreeItemId result;
24470 wxTreeItemId *argp2 ;
24471 bool temp3 = False ;
24472 bool temp4 ;
24473 PyObject * obj0 = 0 ;
24474 PyObject * obj1 = 0 ;
24475 PyObject * obj2 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "parentId",(char *) "path", NULL
24478 };
24479
24480 arg4 = &temp4;
24481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24483 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24484 arg2 = *argp2;
24485 {
24486 arg3 = wxString_in_helper(obj2);
24487 if (arg3 == NULL) SWIG_fail;
24488 temp3 = True;
24489 }
24490 {
24491 PyThreadState* __tstate = wxPyBeginAllowThreads();
24492 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24493
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 {
24498 wxTreeItemId * resultptr;
24499 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24500 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24501 }
24502 {
24503 PyObject *o = PyInt_FromLong((long) (*arg4));
24504 resultobj = t_output_helper(resultobj,o);
24505 }
24506 {
24507 if (temp3)
24508 delete arg3;
24509 }
24510 return resultobj;
24511 fail:
24512 {
24513 if (temp3)
24514 delete arg3;
24515 }
24516 return NULL;
24517 }
24518
24519
24520 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj;
24522 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24523 PyObject * obj0 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 (arg1)->DoResize();
24533
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 Py_INCREF(Py_None); resultobj = Py_None;
24538 return resultobj;
24539 fail:
24540 return NULL;
24541 }
24542
24543
24544 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24545 PyObject *resultobj;
24546 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24547 PyObject * obj0 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 (arg1)->ReCreateTree();
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 * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24569 PyObject *obj;
24570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24571 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24572 Py_INCREF(obj);
24573 return Py_BuildValue((char *)"");
24574 }
24575 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24578 int arg2 = (int) (int)-1 ;
24579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24581 wxSize const &arg4_defvalue = wxDefaultSize ;
24582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24583 long arg5 = (long) 0 ;
24584 wxDirFilterListCtrl *result;
24585 wxPoint temp3 ;
24586 wxSize temp4 ;
24587 PyObject * obj0 = 0 ;
24588 PyObject * obj2 = 0 ;
24589 PyObject * obj3 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24596 if (obj2) {
24597 {
24598 arg3 = &temp3;
24599 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24600 }
24601 }
24602 if (obj3) {
24603 {
24604 arg4 = &temp4;
24605 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24606 }
24607 }
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxDirFilterListCtrl *result;
24625 char *kwnames[] = {
24626 NULL
24627 };
24628
24629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24630 {
24631 PyThreadState* __tstate = wxPyBeginAllowThreads();
24632 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24633
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24638 return resultobj;
24639 fail:
24640 return NULL;
24641 }
24642
24643
24644 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj;
24646 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24647 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24648 int arg3 = (int) (int)-1 ;
24649 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24650 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24651 wxSize const &arg5_defvalue = wxDefaultSize ;
24652 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24653 long arg6 = (long) 0 ;
24654 bool result;
24655 wxPoint temp4 ;
24656 wxSize temp5 ;
24657 PyObject * obj0 = 0 ;
24658 PyObject * obj1 = 0 ;
24659 PyObject * obj3 = 0 ;
24660 PyObject * obj4 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24668 if (obj3) {
24669 {
24670 arg4 = &temp4;
24671 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24672 }
24673 }
24674 if (obj4) {
24675 {
24676 arg5 = &temp5;
24677 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24678 }
24679 }
24680 {
24681 PyThreadState* __tstate = wxPyBeginAllowThreads();
24682 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24683
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 resultobj = PyInt_FromLong((long)result);
24688 return resultobj;
24689 fail:
24690 return NULL;
24691 }
24692
24693
24694 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj;
24696 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24697 wxString *arg2 = 0 ;
24698 int arg3 ;
24699 bool temp2 = False ;
24700 PyObject * obj0 = 0 ;
24701 PyObject * obj1 = 0 ;
24702 char *kwnames[] = {
24703 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24704 };
24705
24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24708 {
24709 arg2 = wxString_in_helper(obj1);
24710 if (arg2 == NULL) SWIG_fail;
24711 temp2 = True;
24712 }
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 Py_INCREF(Py_None); resultobj = Py_None;
24721 {
24722 if (temp2)
24723 delete arg2;
24724 }
24725 return resultobj;
24726 fail:
24727 {
24728 if (temp2)
24729 delete arg2;
24730 }
24731 return NULL;
24732 }
24733
24734
24735 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24736 PyObject *obj;
24737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24738 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24739 Py_INCREF(obj);
24740 return Py_BuildValue((char *)"");
24741 }
24742 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj;
24744 wxWindow *arg1 = (wxWindow *) 0 ;
24745 int arg2 ;
24746 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24747 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24748 wxSize const &arg4_defvalue = wxDefaultSize ;
24749 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24750 long arg5 = (long) 0 ;
24751 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24752 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24753 wxString const &arg7_defvalue = wxPyControlNameStr ;
24754 wxString *arg7 = (wxString *) &arg7_defvalue ;
24755 wxPyControl *result;
24756 wxPoint temp3 ;
24757 wxSize temp4 ;
24758 bool temp7 = False ;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj2 = 0 ;
24761 PyObject * obj3 = 0 ;
24762 PyObject * obj5 = 0 ;
24763 PyObject * obj6 = 0 ;
24764 char *kwnames[] = {
24765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24766 };
24767
24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24770 if (obj2) {
24771 {
24772 arg3 = &temp3;
24773 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24774 }
24775 }
24776 if (obj3) {
24777 {
24778 arg4 = &temp4;
24779 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24780 }
24781 }
24782 if (obj5) {
24783 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24784 if (arg6 == NULL) {
24785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24786 }
24787 }
24788 if (obj6) {
24789 {
24790 arg7 = wxString_in_helper(obj6);
24791 if (arg7 == NULL) SWIG_fail;
24792 temp7 = True;
24793 }
24794 }
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24798
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24803 {
24804 if (temp7)
24805 delete arg7;
24806 }
24807 return resultobj;
24808 fail:
24809 {
24810 if (temp7)
24811 delete arg7;
24812 }
24813 return NULL;
24814 }
24815
24816
24817 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24818 PyObject *resultobj;
24819 wxPyControl *arg1 = (wxPyControl *) 0 ;
24820 PyObject *arg2 = (PyObject *) 0 ;
24821 PyObject *arg3 = (PyObject *) 0 ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj1 = 0 ;
24824 PyObject * obj2 = 0 ;
24825 char *kwnames[] = {
24826 (char *) "self",(char *) "self",(char *) "_class", NULL
24827 };
24828
24829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24831 arg2 = obj1;
24832 arg3 = obj2;
24833 {
24834 PyThreadState* __tstate = wxPyBeginAllowThreads();
24835 (arg1)->_setCallbackInfo(arg2,arg3);
24836
24837 wxPyEndAllowThreads(__tstate);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 }
24840 Py_INCREF(Py_None); resultobj = Py_None;
24841 return resultobj;
24842 fail:
24843 return NULL;
24844 }
24845
24846
24847 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24848 PyObject *resultobj;
24849 wxPyControl *arg1 = (wxPyControl *) 0 ;
24850 int arg2 ;
24851 int arg3 ;
24852 int arg4 ;
24853 int arg5 ;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24861 {
24862 PyThreadState* __tstate = wxPyBeginAllowThreads();
24863 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24864
24865 wxPyEndAllowThreads(__tstate);
24866 if (PyErr_Occurred()) SWIG_fail;
24867 }
24868 Py_INCREF(Py_None); resultobj = Py_None;
24869 return resultobj;
24870 fail:
24871 return NULL;
24872 }
24873
24874
24875 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24876 PyObject *resultobj;
24877 wxPyControl *arg1 = (wxPyControl *) 0 ;
24878 int arg2 ;
24879 int arg3 ;
24880 int arg4 ;
24881 int arg5 ;
24882 int arg6 = (int) wxSIZE_AUTO ;
24883 PyObject * obj0 = 0 ;
24884 char *kwnames[] = {
24885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24886 };
24887
24888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24890 {
24891 PyThreadState* __tstate = wxPyBeginAllowThreads();
24892 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24893
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 Py_INCREF(Py_None); resultobj = Py_None;
24898 return resultobj;
24899 fail:
24900 return NULL;
24901 }
24902
24903
24904 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24905 PyObject *resultobj;
24906 wxPyControl *arg1 = (wxPyControl *) 0 ;
24907 int arg2 ;
24908 int arg3 ;
24909 PyObject * obj0 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "self",(char *) "width",(char *) "height", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->base_DoSetClientSize(arg2,arg3);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 Py_INCREF(Py_None); resultobj = Py_None;
24924 return resultobj;
24925 fail:
24926 return NULL;
24927 }
24928
24929
24930 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24931 PyObject *resultobj;
24932 wxPyControl *arg1 = (wxPyControl *) 0 ;
24933 int arg2 ;
24934 int arg3 ;
24935 PyObject * obj0 = 0 ;
24936 char *kwnames[] = {
24937 (char *) "self",(char *) "x",(char *) "y", NULL
24938 };
24939
24940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 Py_INCREF(Py_None); resultobj = Py_None;
24950 return resultobj;
24951 fail:
24952 return NULL;
24953 }
24954
24955
24956 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24957 PyObject *resultobj;
24958 wxPyControl *arg1 = (wxPyControl *) 0 ;
24959 int *arg2 = (int *) 0 ;
24960 int *arg3 = (int *) 0 ;
24961 int temp2 ;
24962 int temp3 ;
24963 PyObject * obj0 = 0 ;
24964 char *kwnames[] = {
24965 (char *) "self", NULL
24966 };
24967
24968 arg2 = &temp2;
24969 arg3 = &temp3;
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24975
24976 wxPyEndAllowThreads(__tstate);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 }
24979 Py_INCREF(Py_None); resultobj = Py_None;
24980 {
24981 PyObject *o = PyInt_FromLong((long) (*arg2));
24982 resultobj = t_output_helper(resultobj,o);
24983 }
24984 {
24985 PyObject *o = PyInt_FromLong((long) (*arg3));
24986 resultobj = t_output_helper(resultobj,o);
24987 }
24988 return resultobj;
24989 fail:
24990 return NULL;
24991 }
24992
24993
24994 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24995 PyObject *resultobj;
24996 wxPyControl *arg1 = (wxPyControl *) 0 ;
24997 int *arg2 = (int *) 0 ;
24998 int *arg3 = (int *) 0 ;
24999 int temp2 ;
25000 int temp3 ;
25001 PyObject * obj0 = 0 ;
25002 char *kwnames[] = {
25003 (char *) "self", NULL
25004 };
25005
25006 arg2 = &temp2;
25007 arg3 = &temp3;
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
25009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 Py_INCREF(Py_None); resultobj = Py_None;
25018 {
25019 PyObject *o = PyInt_FromLong((long) (*arg2));
25020 resultobj = t_output_helper(resultobj,o);
25021 }
25022 {
25023 PyObject *o = PyInt_FromLong((long) (*arg3));
25024 resultobj = t_output_helper(resultobj,o);
25025 }
25026 return resultobj;
25027 fail:
25028 return NULL;
25029 }
25030
25031
25032 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25033 PyObject *resultobj;
25034 wxPyControl *arg1 = (wxPyControl *) 0 ;
25035 int *arg2 = (int *) 0 ;
25036 int *arg3 = (int *) 0 ;
25037 int temp2 ;
25038 int temp3 ;
25039 PyObject * obj0 = 0 ;
25040 char *kwnames[] = {
25041 (char *) "self", NULL
25042 };
25043
25044 arg2 = &temp2;
25045 arg3 = &temp3;
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
25047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25048 {
25049 PyThreadState* __tstate = wxPyBeginAllowThreads();
25050 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
25051
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
25055 Py_INCREF(Py_None); resultobj = Py_None;
25056 {
25057 PyObject *o = PyInt_FromLong((long) (*arg2));
25058 resultobj = t_output_helper(resultobj,o);
25059 }
25060 {
25061 PyObject *o = PyInt_FromLong((long) (*arg3));
25062 resultobj = t_output_helper(resultobj,o);
25063 }
25064 return resultobj;
25065 fail:
25066 return NULL;
25067 }
25068
25069
25070 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25071 PyObject *resultobj;
25072 wxPyControl *arg1 = (wxPyControl *) 0 ;
25073 wxSize result;
25074 PyObject * obj0 = 0 ;
25075 char *kwnames[] = {
25076 (char *) "self", NULL
25077 };
25078
25079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
25080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25081 {
25082 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
25084
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 {
25089 wxSize * resultptr;
25090 resultptr = new wxSize((wxSize &) result);
25091 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25092 }
25093 return resultobj;
25094 fail:
25095 return NULL;
25096 }
25097
25098
25099 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25100 PyObject *resultobj;
25101 wxPyControl *arg1 = (wxPyControl *) 0 ;
25102 wxSize result;
25103 PyObject * obj0 = 0 ;
25104 char *kwnames[] = {
25105 (char *) "self", NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
25109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25110 {
25111 PyThreadState* __tstate = wxPyBeginAllowThreads();
25112 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
25113
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 {
25118 wxSize * resultptr;
25119 resultptr = new wxSize((wxSize &) result);
25120 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25121 }
25122 return resultobj;
25123 fail:
25124 return NULL;
25125 }
25126
25127
25128 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25129 PyObject *resultobj;
25130 wxPyControl *arg1 = (wxPyControl *) 0 ;
25131 PyObject * obj0 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "self", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
25137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 (arg1)->base_InitDialog();
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 Py_INCREF(Py_None); resultobj = Py_None;
25146 return resultobj;
25147 fail:
25148 return NULL;
25149 }
25150
25151
25152 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25153 PyObject *resultobj;
25154 wxPyControl *arg1 = (wxPyControl *) 0 ;
25155 bool result;
25156 PyObject * obj0 = 0 ;
25157 char *kwnames[] = {
25158 (char *) "self", NULL
25159 };
25160
25161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
25162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 result = (bool)(arg1)->base_TransferDataToWindow();
25166
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 resultobj = PyInt_FromLong((long)result);
25171 return resultobj;
25172 fail:
25173 return NULL;
25174 }
25175
25176
25177 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25178 PyObject *resultobj;
25179 wxPyControl *arg1 = (wxPyControl *) 0 ;
25180 bool result;
25181 PyObject * obj0 = 0 ;
25182 char *kwnames[] = {
25183 (char *) "self", NULL
25184 };
25185
25186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 result = (bool)(arg1)->base_TransferDataFromWindow();
25191
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 resultobj = PyInt_FromLong((long)result);
25196 return resultobj;
25197 fail:
25198 return NULL;
25199 }
25200
25201
25202 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25203 PyObject *resultobj;
25204 wxPyControl *arg1 = (wxPyControl *) 0 ;
25205 bool result;
25206 PyObject * obj0 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 result = (bool)(arg1)->base_Validate();
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 resultobj = PyInt_FromLong((long)result);
25221 return resultobj;
25222 fail:
25223 return NULL;
25224 }
25225
25226
25227 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25228 PyObject *resultobj;
25229 wxPyControl *arg1 = (wxPyControl *) 0 ;
25230 bool result;
25231 PyObject * obj0 = 0 ;
25232 char *kwnames[] = {
25233 (char *) "self", NULL
25234 };
25235
25236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25241
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 resultobj = PyInt_FromLong((long)result);
25246 return resultobj;
25247 fail:
25248 return NULL;
25249 }
25250
25251
25252 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25253 PyObject *resultobj;
25254 wxPyControl *arg1 = (wxPyControl *) 0 ;
25255 bool result;
25256 PyObject * obj0 = 0 ;
25257 char *kwnames[] = {
25258 (char *) "self", NULL
25259 };
25260
25261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25263 {
25264 PyThreadState* __tstate = wxPyBeginAllowThreads();
25265 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25266
25267 wxPyEndAllowThreads(__tstate);
25268 if (PyErr_Occurred()) SWIG_fail;
25269 }
25270 resultobj = PyInt_FromLong((long)result);
25271 return resultobj;
25272 fail:
25273 return NULL;
25274 }
25275
25276
25277 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25278 PyObject *resultobj;
25279 wxPyControl *arg1 = (wxPyControl *) 0 ;
25280 wxSize result;
25281 PyObject * obj0 = 0 ;
25282 char *kwnames[] = {
25283 (char *) "self", NULL
25284 };
25285
25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25288 {
25289 PyThreadState* __tstate = wxPyBeginAllowThreads();
25290 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25291
25292 wxPyEndAllowThreads(__tstate);
25293 if (PyErr_Occurred()) SWIG_fail;
25294 }
25295 {
25296 wxSize * resultptr;
25297 resultptr = new wxSize((wxSize &) result);
25298 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25299 }
25300 return resultobj;
25301 fail:
25302 return NULL;
25303 }
25304
25305
25306 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj;
25308 wxPyControl *arg1 = (wxPyControl *) 0 ;
25309 wxWindow *arg2 = (wxWindow *) 0 ;
25310 PyObject * obj0 = 0 ;
25311 PyObject * obj1 = 0 ;
25312 char *kwnames[] = {
25313 (char *) "self",(char *) "child", NULL
25314 };
25315
25316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25319 {
25320 PyThreadState* __tstate = wxPyBeginAllowThreads();
25321 (arg1)->base_AddChild(arg2);
25322
25323 wxPyEndAllowThreads(__tstate);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 Py_INCREF(Py_None); resultobj = Py_None;
25327 return resultobj;
25328 fail:
25329 return NULL;
25330 }
25331
25332
25333 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25334 PyObject *resultobj;
25335 wxPyControl *arg1 = (wxPyControl *) 0 ;
25336 wxWindow *arg2 = (wxWindow *) 0 ;
25337 PyObject * obj0 = 0 ;
25338 PyObject * obj1 = 0 ;
25339 char *kwnames[] = {
25340 (char *) "self",(char *) "child", NULL
25341 };
25342
25343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 (arg1)->base_RemoveChild(arg2);
25349
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 Py_INCREF(Py_None); resultobj = Py_None;
25354 return resultobj;
25355 fail:
25356 return NULL;
25357 }
25358
25359
25360 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25361 PyObject *obj;
25362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25363 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25364 Py_INCREF(obj);
25365 return Py_BuildValue((char *)"");
25366 }
25367 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25368 PyObject *resultobj;
25369 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25370 int arg2 = (int) 0 ;
25371 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25372 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25373 wxHelpEvent *result;
25374 wxPoint temp3 ;
25375 PyObject * obj2 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "type",(char *) "winid",(char *) "pt", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25381 if (obj2) {
25382 {
25383 arg3 = &temp3;
25384 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25385 }
25386 }
25387 {
25388 PyThreadState* __tstate = wxPyBeginAllowThreads();
25389 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25390
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25395 return resultobj;
25396 fail:
25397 return NULL;
25398 }
25399
25400
25401 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25402 PyObject *resultobj;
25403 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25404 wxPoint *result;
25405 PyObject * obj0 = 0 ;
25406 char *kwnames[] = {
25407 (char *) "self", NULL
25408 };
25409
25410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25412 {
25413 PyThreadState* __tstate = wxPyBeginAllowThreads();
25414 {
25415 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25416 result = (wxPoint *) &_result_ref;
25417 }
25418
25419 wxPyEndAllowThreads(__tstate);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25423 return resultobj;
25424 fail:
25425 return NULL;
25426 }
25427
25428
25429 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25430 PyObject *resultobj;
25431 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25432 wxPoint *arg2 = 0 ;
25433 wxPoint temp2 ;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 char *kwnames[] = {
25437 (char *) "self",(char *) "pos", NULL
25438 };
25439
25440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25442 {
25443 arg2 = &temp2;
25444 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25445 }
25446 {
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 (arg1)->SetPosition((wxPoint const &)*arg2);
25449
25450 wxPyEndAllowThreads(__tstate);
25451 if (PyErr_Occurred()) SWIG_fail;
25452 }
25453 Py_INCREF(Py_None); resultobj = Py_None;
25454 return resultobj;
25455 fail:
25456 return NULL;
25457 }
25458
25459
25460 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25461 PyObject *resultobj;
25462 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25463 wxString *result;
25464 PyObject * obj0 = 0 ;
25465 char *kwnames[] = {
25466 (char *) "self", NULL
25467 };
25468
25469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25471 {
25472 PyThreadState* __tstate = wxPyBeginAllowThreads();
25473 {
25474 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25475 result = (wxString *) &_result_ref;
25476 }
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 {
25482 #if wxUSE_UNICODE
25483 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25484 #else
25485 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25486 #endif
25487 }
25488 return resultobj;
25489 fail:
25490 return NULL;
25491 }
25492
25493
25494 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25497 wxString *arg2 = 0 ;
25498 bool temp2 = False ;
25499 PyObject * obj0 = 0 ;
25500 PyObject * obj1 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self",(char *) "link", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25507 {
25508 arg2 = wxString_in_helper(obj1);
25509 if (arg2 == NULL) SWIG_fail;
25510 temp2 = True;
25511 }
25512 {
25513 PyThreadState* __tstate = wxPyBeginAllowThreads();
25514 (arg1)->SetLink((wxString const &)*arg2);
25515
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 Py_INCREF(Py_None); resultobj = Py_None;
25520 {
25521 if (temp2)
25522 delete arg2;
25523 }
25524 return resultobj;
25525 fail:
25526 {
25527 if (temp2)
25528 delete arg2;
25529 }
25530 return NULL;
25531 }
25532
25533
25534 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25535 PyObject *resultobj;
25536 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25537 wxString *result;
25538 PyObject * obj0 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25545 {
25546 PyThreadState* __tstate = wxPyBeginAllowThreads();
25547 {
25548 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25549 result = (wxString *) &_result_ref;
25550 }
25551
25552 wxPyEndAllowThreads(__tstate);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
25555 {
25556 #if wxUSE_UNICODE
25557 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25558 #else
25559 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25560 #endif
25561 }
25562 return resultobj;
25563 fail:
25564 return NULL;
25565 }
25566
25567
25568 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25569 PyObject *resultobj;
25570 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25571 wxString *arg2 = 0 ;
25572 bool temp2 = False ;
25573 PyObject * obj0 = 0 ;
25574 PyObject * obj1 = 0 ;
25575 char *kwnames[] = {
25576 (char *) "self",(char *) "target", NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25581 {
25582 arg2 = wxString_in_helper(obj1);
25583 if (arg2 == NULL) SWIG_fail;
25584 temp2 = True;
25585 }
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 (arg1)->SetTarget((wxString const &)*arg2);
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 Py_INCREF(Py_None); resultobj = Py_None;
25594 {
25595 if (temp2)
25596 delete arg2;
25597 }
25598 return resultobj;
25599 fail:
25600 {
25601 if (temp2)
25602 delete arg2;
25603 }
25604 return NULL;
25605 }
25606
25607
25608 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25609 PyObject *obj;
25610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25611 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25612 Py_INCREF(obj);
25613 return Py_BuildValue((char *)"");
25614 }
25615 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25616 PyObject *resultobj;
25617 wxWindow *arg1 = (wxWindow *) NULL ;
25618 bool arg2 = (bool) True ;
25619 wxContextHelp *result;
25620 PyObject * obj0 = 0 ;
25621 PyObject * obj1 = 0 ;
25622 char *kwnames[] = {
25623 (char *) "window",(char *) "doNow", NULL
25624 };
25625
25626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25627 if (obj0) {
25628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25629 }
25630 if (obj1) {
25631 arg2 = PyInt_AsLong(obj1) ? true : false;
25632 if (PyErr_Occurred()) SWIG_fail;
25633 }
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25637
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25642 return resultobj;
25643 fail:
25644 return NULL;
25645 }
25646
25647
25648 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25649 PyObject *resultobj;
25650 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25651 PyObject * obj0 = 0 ;
25652 char *kwnames[] = {
25653 (char *) "self", NULL
25654 };
25655
25656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 delete arg1;
25661
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 Py_INCREF(Py_None); resultobj = Py_None;
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25673 PyObject *resultobj;
25674 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25675 wxWindow *arg2 = (wxWindow *) NULL ;
25676 bool result;
25677 PyObject * obj0 = 0 ;
25678 PyObject * obj1 = 0 ;
25679 char *kwnames[] = {
25680 (char *) "self",(char *) "window", NULL
25681 };
25682
25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25685 if (obj1) {
25686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25687 }
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 result = (bool)(arg1)->BeginContextHelp(arg2);
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 resultobj = PyInt_FromLong((long)result);
25696 return resultobj;
25697 fail:
25698 return NULL;
25699 }
25700
25701
25702 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25703 PyObject *resultobj;
25704 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25705 bool result;
25706 PyObject * obj0 = 0 ;
25707 char *kwnames[] = {
25708 (char *) "self", NULL
25709 };
25710
25711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 result = (bool)(arg1)->EndContextHelp();
25716
25717 wxPyEndAllowThreads(__tstate);
25718 if (PyErr_Occurred()) SWIG_fail;
25719 }
25720 resultobj = PyInt_FromLong((long)result);
25721 return resultobj;
25722 fail:
25723 return NULL;
25724 }
25725
25726
25727 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25728 PyObject *obj;
25729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25730 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25731 Py_INCREF(obj);
25732 return Py_BuildValue((char *)"");
25733 }
25734 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25735 PyObject *resultobj;
25736 wxWindow *arg1 = (wxWindow *) 0 ;
25737 int arg2 = (int) wxID_CONTEXT_HELP ;
25738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25740 wxSize const &arg4_defvalue = wxDefaultSize ;
25741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25742 long arg5 = (long) wxBU_AUTODRAW ;
25743 wxContextHelpButton *result;
25744 wxPoint temp3 ;
25745 wxSize temp4 ;
25746 PyObject * obj0 = 0 ;
25747 PyObject * obj2 = 0 ;
25748 PyObject * obj3 = 0 ;
25749 char *kwnames[] = {
25750 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25751 };
25752
25753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25755 if (obj2) {
25756 {
25757 arg3 = &temp3;
25758 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25759 }
25760 }
25761 if (obj3) {
25762 {
25763 arg4 = &temp4;
25764 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25765 }
25766 }
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25770
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25775 return resultobj;
25776 fail:
25777 return NULL;
25778 }
25779
25780
25781 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25782 PyObject *obj;
25783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25784 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25785 Py_INCREF(obj);
25786 return Py_BuildValue((char *)"");
25787 }
25788 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25789 PyObject *resultobj;
25790 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25791 wxHelpProvider *result;
25792 PyObject * obj0 = 0 ;
25793 char *kwnames[] = {
25794 (char *) "helpProvider", NULL
25795 };
25796
25797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25799 {
25800 PyThreadState* __tstate = wxPyBeginAllowThreads();
25801 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25802
25803 wxPyEndAllowThreads(__tstate);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 }
25806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25807 return resultobj;
25808 fail:
25809 return NULL;
25810 }
25811
25812
25813 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25814 PyObject *resultobj;
25815 wxHelpProvider *result;
25816 char *kwnames[] = {
25817 NULL
25818 };
25819
25820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (wxHelpProvider *)wxHelpProvider::Get();
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25836 PyObject *resultobj;
25837 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25838 wxWindow *arg2 = (wxWindow *) 0 ;
25839 wxString result;
25840 PyObject * obj0 = 0 ;
25841 PyObject * obj1 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "window", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 result = (arg1)->GetHelp((wxWindow const *)arg2);
25852
25853 wxPyEndAllowThreads(__tstate);
25854 if (PyErr_Occurred()) SWIG_fail;
25855 }
25856 {
25857 #if wxUSE_UNICODE
25858 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25859 #else
25860 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25861 #endif
25862 }
25863 return resultobj;
25864 fail:
25865 return NULL;
25866 }
25867
25868
25869 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25870 PyObject *resultobj;
25871 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25872 wxWindow *arg2 = (wxWindow *) 0 ;
25873 bool result;
25874 PyObject * obj0 = 0 ;
25875 PyObject * obj1 = 0 ;
25876 char *kwnames[] = {
25877 (char *) "self",(char *) "window", NULL
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 result = (bool)(arg1)->ShowHelp(arg2);
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 resultobj = PyInt_FromLong((long)result);
25891 return resultobj;
25892 fail:
25893 return NULL;
25894 }
25895
25896
25897 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25898 PyObject *resultobj;
25899 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25900 wxWindow *arg2 = (wxWindow *) 0 ;
25901 wxString *arg3 = 0 ;
25902 bool temp3 = False ;
25903 PyObject * obj0 = 0 ;
25904 PyObject * obj1 = 0 ;
25905 PyObject * obj2 = 0 ;
25906 char *kwnames[] = {
25907 (char *) "self",(char *) "window",(char *) "text", NULL
25908 };
25909
25910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25913 {
25914 arg3 = wxString_in_helper(obj2);
25915 if (arg3 == NULL) SWIG_fail;
25916 temp3 = True;
25917 }
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 Py_INCREF(Py_None); resultobj = Py_None;
25926 {
25927 if (temp3)
25928 delete arg3;
25929 }
25930 return resultobj;
25931 fail:
25932 {
25933 if (temp3)
25934 delete arg3;
25935 }
25936 return NULL;
25937 }
25938
25939
25940 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25941 PyObject *resultobj;
25942 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25943 int arg2 ;
25944 wxString *arg3 = 0 ;
25945 bool temp3 = False ;
25946 PyObject * obj0 = 0 ;
25947 PyObject * obj2 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "id",(char *) "text", NULL
25950 };
25951
25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25954 {
25955 arg3 = wxString_in_helper(obj2);
25956 if (arg3 == NULL) SWIG_fail;
25957 temp3 = True;
25958 }
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25962
25963 wxPyEndAllowThreads(__tstate);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 Py_INCREF(Py_None); resultobj = Py_None;
25967 {
25968 if (temp3)
25969 delete arg3;
25970 }
25971 return resultobj;
25972 fail:
25973 {
25974 if (temp3)
25975 delete arg3;
25976 }
25977 return NULL;
25978 }
25979
25980
25981 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25982 PyObject *resultobj;
25983 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25984 PyObject * obj0 = 0 ;
25985 char *kwnames[] = {
25986 (char *) "self", NULL
25987 };
25988
25989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25991 {
25992 PyThreadState* __tstate = wxPyBeginAllowThreads();
25993 wxHelpProvider_Destroy(arg1);
25994
25995 wxPyEndAllowThreads(__tstate);
25996 if (PyErr_Occurred()) SWIG_fail;
25997 }
25998 Py_INCREF(Py_None); resultobj = Py_None;
25999 return resultobj;
26000 fail:
26001 return NULL;
26002 }
26003
26004
26005 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
26006 PyObject *obj;
26007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26008 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
26009 Py_INCREF(obj);
26010 return Py_BuildValue((char *)"");
26011 }
26012 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
26013 PyObject *resultobj;
26014 wxSimpleHelpProvider *result;
26015 char *kwnames[] = {
26016 NULL
26017 };
26018
26019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
26020 {
26021 PyThreadState* __tstate = wxPyBeginAllowThreads();
26022 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
26023
26024 wxPyEndAllowThreads(__tstate);
26025 if (PyErr_Occurred()) SWIG_fail;
26026 }
26027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
26028 return resultobj;
26029 fail:
26030 return NULL;
26031 }
26032
26033
26034 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
26035 PyObject *obj;
26036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26037 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
26038 Py_INCREF(obj);
26039 return Py_BuildValue((char *)"");
26040 }
26041 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26042 PyObject *resultobj;
26043 wxBitmap *arg1 = 0 ;
26044 wxCursor const &arg2_defvalue = wxNullCursor ;
26045 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26046 wxGenericDragImage *result;
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "image",(char *) "cursor", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
26054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26055 if (arg1 == NULL) {
26056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26057 }
26058 if (obj1) {
26059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26060 if (arg2 == NULL) {
26061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26062 }
26063 }
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
26067
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26072 return resultobj;
26073 fail:
26074 return NULL;
26075 }
26076
26077
26078 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
26079 PyObject *resultobj;
26080 wxIcon *arg1 = 0 ;
26081 wxCursor const &arg2_defvalue = wxNullCursor ;
26082 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26083 wxGenericDragImage *result;
26084 PyObject * obj0 = 0 ;
26085 PyObject * obj1 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "image",(char *) "cursor", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
26091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26092 if (arg1 == NULL) {
26093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26094 }
26095 if (obj1) {
26096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26097 if (arg2 == NULL) {
26098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26099 }
26100 }
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
26104
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26109 return resultobj;
26110 fail:
26111 return NULL;
26112 }
26113
26114
26115 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
26116 PyObject *resultobj;
26117 wxString *arg1 = 0 ;
26118 wxCursor const &arg2_defvalue = wxNullCursor ;
26119 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26120 wxGenericDragImage *result;
26121 bool temp1 = False ;
26122 PyObject * obj0 = 0 ;
26123 PyObject * obj1 = 0 ;
26124 char *kwnames[] = {
26125 (char *) "str",(char *) "cursor", NULL
26126 };
26127
26128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
26129 {
26130 arg1 = wxString_in_helper(obj0);
26131 if (arg1 == NULL) SWIG_fail;
26132 temp1 = True;
26133 }
26134 if (obj1) {
26135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26136 if (arg2 == NULL) {
26137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26138 }
26139 }
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26148 {
26149 if (temp1)
26150 delete arg1;
26151 }
26152 return resultobj;
26153 fail:
26154 {
26155 if (temp1)
26156 delete arg1;
26157 }
26158 return NULL;
26159 }
26160
26161
26162 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26163 PyObject *resultobj;
26164 wxPyTreeCtrl *arg1 = 0 ;
26165 wxTreeItemId *arg2 = 0 ;
26166 wxGenericDragImage *result;
26167 PyObject * obj0 = 0 ;
26168 PyObject * obj1 = 0 ;
26169 char *kwnames[] = {
26170 (char *) "treeCtrl",(char *) "id", NULL
26171 };
26172
26173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
26174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26175 if (arg1 == NULL) {
26176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26177 }
26178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26179 if (arg2 == NULL) {
26180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26181 }
26182 {
26183 PyThreadState* __tstate = wxPyBeginAllowThreads();
26184 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
26185
26186 wxPyEndAllowThreads(__tstate);
26187 if (PyErr_Occurred()) SWIG_fail;
26188 }
26189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26190 return resultobj;
26191 fail:
26192 return NULL;
26193 }
26194
26195
26196 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26197 PyObject *resultobj;
26198 wxPyListCtrl *arg1 = 0 ;
26199 long arg2 ;
26200 wxGenericDragImage *result;
26201 PyObject * obj0 = 0 ;
26202 char *kwnames[] = {
26203 (char *) "listCtrl",(char *) "id", NULL
26204 };
26205
26206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26208 if (arg1 == NULL) {
26209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26210 }
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26219 return resultobj;
26220 fail:
26221 return NULL;
26222 }
26223
26224
26225 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26226 PyObject *resultobj;
26227 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26228 PyObject * obj0 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 delete arg1;
26238
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 Py_INCREF(Py_None); resultobj = Py_None;
26243 return resultobj;
26244 fail:
26245 return NULL;
26246 }
26247
26248
26249 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26250 PyObject *resultobj;
26251 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26252 wxBitmap *arg2 = (wxBitmap *) 0 ;
26253 PyObject * obj0 = 0 ;
26254 PyObject * obj1 = 0 ;
26255 char *kwnames[] = {
26256 (char *) "self",(char *) "bitmap", NULL
26257 };
26258
26259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26262 {
26263 PyThreadState* __tstate = wxPyBeginAllowThreads();
26264 (arg1)->SetBackingBitmap(arg2);
26265
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 Py_INCREF(Py_None); resultobj = Py_None;
26270 return resultobj;
26271 fail:
26272 return NULL;
26273 }
26274
26275
26276 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26277 PyObject *resultobj;
26278 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26279 wxPoint *arg2 = 0 ;
26280 wxWindow *arg3 = (wxWindow *) 0 ;
26281 bool arg4 = (bool) False ;
26282 wxRect *arg5 = (wxRect *) NULL ;
26283 bool result;
26284 wxPoint temp2 ;
26285 PyObject * obj0 = 0 ;
26286 PyObject * obj1 = 0 ;
26287 PyObject * obj2 = 0 ;
26288 PyObject * obj3 = 0 ;
26289 PyObject * obj4 = 0 ;
26290 char *kwnames[] = {
26291 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26292 };
26293
26294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26296 {
26297 arg2 = &temp2;
26298 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26299 }
26300 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26301 if (obj3) {
26302 arg4 = PyInt_AsLong(obj3) ? true : false;
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
26305 if (obj4) {
26306 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26307 }
26308 {
26309 PyThreadState* __tstate = wxPyBeginAllowThreads();
26310 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26311
26312 wxPyEndAllowThreads(__tstate);
26313 if (PyErr_Occurred()) SWIG_fail;
26314 }
26315 resultobj = PyInt_FromLong((long)result);
26316 return resultobj;
26317 fail:
26318 return NULL;
26319 }
26320
26321
26322 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26323 PyObject *resultobj;
26324 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26325 wxPoint *arg2 = 0 ;
26326 wxWindow *arg3 = (wxWindow *) 0 ;
26327 wxWindow *arg4 = (wxWindow *) 0 ;
26328 bool result;
26329 wxPoint temp2 ;
26330 PyObject * obj0 = 0 ;
26331 PyObject * obj1 = 0 ;
26332 PyObject * obj2 = 0 ;
26333 PyObject * obj3 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26340 {
26341 arg2 = &temp2;
26342 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26343 }
26344 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26345 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26346 {
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26349
26350 wxPyEndAllowThreads(__tstate);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 }
26353 resultobj = PyInt_FromLong((long)result);
26354 return resultobj;
26355 fail:
26356 return NULL;
26357 }
26358
26359
26360 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26361 PyObject *resultobj;
26362 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26363 bool result;
26364 PyObject * obj0 = 0 ;
26365 char *kwnames[] = {
26366 (char *) "self", NULL
26367 };
26368
26369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 result = (bool)(arg1)->EndDrag();
26374
26375 wxPyEndAllowThreads(__tstate);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 }
26378 resultobj = PyInt_FromLong((long)result);
26379 return resultobj;
26380 fail:
26381 return NULL;
26382 }
26383
26384
26385 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26386 PyObject *resultobj;
26387 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26388 wxPoint *arg2 = 0 ;
26389 bool result;
26390 wxPoint temp2 ;
26391 PyObject * obj0 = 0 ;
26392 PyObject * obj1 = 0 ;
26393 char *kwnames[] = {
26394 (char *) "self",(char *) "pt", NULL
26395 };
26396
26397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26399 {
26400 arg2 = &temp2;
26401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26402 }
26403 {
26404 PyThreadState* __tstate = wxPyBeginAllowThreads();
26405 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26406
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 resultobj = PyInt_FromLong((long)result);
26411 return resultobj;
26412 fail:
26413 return NULL;
26414 }
26415
26416
26417 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26418 PyObject *resultobj;
26419 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26420 bool result;
26421 PyObject * obj0 = 0 ;
26422 char *kwnames[] = {
26423 (char *) "self", NULL
26424 };
26425
26426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 result = (bool)(arg1)->Show();
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 resultobj = PyInt_FromLong((long)result);
26436 return resultobj;
26437 fail:
26438 return NULL;
26439 }
26440
26441
26442 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26443 PyObject *resultobj;
26444 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26445 bool result;
26446 PyObject * obj0 = 0 ;
26447 char *kwnames[] = {
26448 (char *) "self", NULL
26449 };
26450
26451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (bool)(arg1)->Hide();
26456
26457 wxPyEndAllowThreads(__tstate);
26458 if (PyErr_Occurred()) SWIG_fail;
26459 }
26460 resultobj = PyInt_FromLong((long)result);
26461 return resultobj;
26462 fail:
26463 return NULL;
26464 }
26465
26466
26467 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26468 PyObject *resultobj;
26469 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26470 wxPoint *arg2 = 0 ;
26471 wxRect result;
26472 wxPoint temp2 ;
26473 PyObject * obj0 = 0 ;
26474 PyObject * obj1 = 0 ;
26475 char *kwnames[] = {
26476 (char *) "self",(char *) "pos", NULL
26477 };
26478
26479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26481 {
26482 arg2 = &temp2;
26483 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26484 }
26485 {
26486 PyThreadState* __tstate = wxPyBeginAllowThreads();
26487 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26488
26489 wxPyEndAllowThreads(__tstate);
26490 if (PyErr_Occurred()) SWIG_fail;
26491 }
26492 {
26493 wxRect * resultptr;
26494 resultptr = new wxRect((wxRect &) result);
26495 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26496 }
26497 return resultobj;
26498 fail:
26499 return NULL;
26500 }
26501
26502
26503 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26504 PyObject *resultobj;
26505 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26506 wxDC *arg2 = 0 ;
26507 wxPoint *arg3 = 0 ;
26508 bool result;
26509 wxPoint temp3 ;
26510 PyObject * obj0 = 0 ;
26511 PyObject * obj1 = 0 ;
26512 PyObject * obj2 = 0 ;
26513 char *kwnames[] = {
26514 (char *) "self",(char *) "dc",(char *) "pos", NULL
26515 };
26516
26517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26520 if (arg2 == NULL) {
26521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26522 }
26523 {
26524 arg3 = &temp3;
26525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26526 }
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 resultobj = PyInt_FromLong((long)result);
26535 return resultobj;
26536 fail:
26537 return NULL;
26538 }
26539
26540
26541 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26542 PyObject *resultobj;
26543 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26544 wxDC *arg2 = 0 ;
26545 wxMemoryDC *arg3 = 0 ;
26546 wxRect *arg4 = 0 ;
26547 wxRect *arg5 = 0 ;
26548 bool result;
26549 wxRect temp4 ;
26550 wxRect temp5 ;
26551 PyObject * obj0 = 0 ;
26552 PyObject * obj1 = 0 ;
26553 PyObject * obj2 = 0 ;
26554 PyObject * obj3 = 0 ;
26555 PyObject * obj4 = 0 ;
26556 char *kwnames[] = {
26557 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26558 };
26559
26560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26563 if (arg2 == NULL) {
26564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26565 }
26566 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26567 if (arg3 == NULL) {
26568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26569 }
26570 {
26571 arg4 = &temp4;
26572 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26573 }
26574 {
26575 arg5 = &temp5;
26576 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26577 }
26578 {
26579 PyThreadState* __tstate = wxPyBeginAllowThreads();
26580 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26581
26582 wxPyEndAllowThreads(__tstate);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 }
26585 resultobj = PyInt_FromLong((long)result);
26586 return resultobj;
26587 fail:
26588 return NULL;
26589 }
26590
26591
26592 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26593 PyObject *resultobj;
26594 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26595 wxPoint *arg2 = 0 ;
26596 wxPoint *arg3 = 0 ;
26597 bool arg4 ;
26598 bool arg5 ;
26599 bool result;
26600 wxPoint temp2 ;
26601 wxPoint temp3 ;
26602 PyObject * obj0 = 0 ;
26603 PyObject * obj1 = 0 ;
26604 PyObject * obj2 = 0 ;
26605 PyObject * obj3 = 0 ;
26606 PyObject * obj4 = 0 ;
26607 char *kwnames[] = {
26608 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26609 };
26610
26611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26613 {
26614 arg2 = &temp2;
26615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26616 }
26617 {
26618 arg3 = &temp3;
26619 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26620 }
26621 arg4 = PyInt_AsLong(obj3) ? true : false;
26622 if (PyErr_Occurred()) SWIG_fail;
26623 arg5 = PyInt_AsLong(obj4) ? true : false;
26624 if (PyErr_Occurred()) SWIG_fail;
26625 {
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26628
26629 wxPyEndAllowThreads(__tstate);
26630 if (PyErr_Occurred()) SWIG_fail;
26631 }
26632 resultobj = PyInt_FromLong((long)result);
26633 return resultobj;
26634 fail:
26635 return NULL;
26636 }
26637
26638
26639 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26640 PyObject *obj;
26641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26642 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26643 Py_INCREF(obj);
26644 return Py_BuildValue((char *)"");
26645 }
26646 static PyMethodDef SwigMethods[] = {
26647 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26655 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26670 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26681 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26690 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26708 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26721 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26725 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26731 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26735 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26742 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26761 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26770 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26771 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26799 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26854 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26859 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26870 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26882 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26893 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
26897 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26914 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26920 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26945 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26952 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26972 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26978 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26988 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26990 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26995 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26997 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
27002 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
27007 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
27037 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
27082 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
27087 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
27099 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
27151 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
27178 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27248 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27260 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27268 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27275 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27291 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27365 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27366 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27369 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27370 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27371 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27372 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27373 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27374 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27375 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27376 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27377 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27378 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27379 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27380 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27381 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27382 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27383 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27384 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27385 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27386 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27387 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27388 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27389 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27390 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27391 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27392 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27393 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27394 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27395 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27396 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27397 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27398 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27399 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27400 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27401 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27402 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27403 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27404 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27405 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27406 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27407 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27408 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27409 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27410 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27411 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27412 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27413 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27414 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27415 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27416 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27417 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27418 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27419 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27420 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27421 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27422 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27423 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27424 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27425 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27426 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27427 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27428 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27429 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27430 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27431 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27432 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27433 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27434 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27435 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27436 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27437 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27438 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27439 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27440 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27441 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27442 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27443 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27444 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27445 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27446 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27447 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27448 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27449 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27450 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27451 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27452 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27453 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27454 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27455 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27456 { NULL, NULL }
27457 };
27458
27459
27460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27461
27462 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27463 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27464 }
27465 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27466 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27467 }
27468 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27469 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27470 }
27471 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27472 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27473 }
27474 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27475 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27476 }
27477 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27478 return (void *)((wxSizer *) ((wxGridSizer *) x));
27479 }
27480 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27481 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27482 }
27483 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27484 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27485 }
27486 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27487 return (void *)((wxSizer *) ((wxPySizer *) x));
27488 }
27489 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27490 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27491 }
27492 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27493 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27494 }
27495 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27496 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27497 }
27498 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27499 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27500 }
27501 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27502 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27503 }
27504 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27505 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27506 }
27507 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27508 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27509 }
27510 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27511 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27512 }
27513 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27514 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27515 }
27516 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27517 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27518 }
27519 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27520 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27521 }
27522 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27523 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27524 }
27525 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27526 return (void *)((wxEvent *) ((wxPyEvent *) x));
27527 }
27528 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27529 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27530 }
27531 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27532 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27533 }
27534 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27535 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27536 }
27537 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27538 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27539 }
27540 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27541 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27542 }
27543 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27544 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27545 }
27546 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27547 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27548 }
27549 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27550 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27551 }
27552 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27553 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27554 }
27555 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27556 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27557 }
27558 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27559 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27560 }
27561 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27562 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27563 }
27564 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27565 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27566 }
27567 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27568 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27569 }
27570 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27571 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27572 }
27573 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27574 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27575 }
27576 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27577 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27578 }
27579 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27580 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27581 }
27582 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27583 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27584 }
27585 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27586 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27587 }
27588 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27589 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27590 }
27591 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27592 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27593 }
27594 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27595 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27596 }
27597 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27598 return (void *)((wxEvent *) ((wxShowEvent *) x));
27599 }
27600 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27601 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27602 }
27603 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27604 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27605 }
27606 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27608 }
27609 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27610 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27611 }
27612 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27613 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27614 }
27615 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27616 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27617 }
27618 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
27619 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27620 }
27621 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27622 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27623 }
27624 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27625 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27626 }
27627 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27628 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27629 }
27630 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27631 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27632 }
27633 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27634 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27635 }
27636 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27637 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27638 }
27639 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27640 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27641 }
27642 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27643 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27644 }
27645 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27646 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27647 }
27648 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27649 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27650 }
27651 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27652 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27653 }
27654 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27655 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27656 }
27657 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27658 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27659 }
27660 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27661 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27662 }
27663 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27664 return (void *)((wxControl *) ((wxStaticBox *) x));
27665 }
27666 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27667 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27668 }
27669 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27670 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27671 }
27672 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27673 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27674 }
27675 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27676 return (void *)((wxControl *) ((wxScrollBar *) x));
27677 }
27678 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27679 return (void *)((wxControl *) ((wxBookCtrl *) x));
27680 }
27681 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27682 return (void *)((wxControl *) ((wxRadioButton *) x));
27683 }
27684 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27685 return (void *)((wxControl *) ((wxToggleButton *) x));
27686 }
27687 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27688 return (void *)((wxControl *) ((wxGauge *) x));
27689 }
27690 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27691 return (void *)((wxControl *) ((wxToolBarBase *) x));
27692 }
27693 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27694 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27695 }
27696 static void *_p_wxButtonTo_p_wxControl(void *x) {
27697 return (void *)((wxControl *) ((wxButton *) x));
27698 }
27699 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27700 return (void *)((wxControl *) ((wxSpinButton *) x));
27701 }
27702 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27703 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27704 }
27705 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27706 return (void *)((wxControl *) ((wxControlWithItems *) x));
27707 }
27708 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27709 return (void *)((wxControl *) ((wxRadioBox *) x));
27710 }
27711 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27712 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27713 }
27714 static void *_p_wxListbookTo_p_wxControl(void *x) {
27715 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27716 }
27717 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27718 return (void *)((wxControl *) ((wxCheckBox *) x));
27719 }
27720 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27721 return (void *)((wxControl *) ((wxTextCtrl *) x));
27722 }
27723 static void *_p_wxListViewTo_p_wxControl(void *x) {
27724 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27725 }
27726 static void *_p_wxSliderTo_p_wxControl(void *x) {
27727 return (void *)((wxControl *) ((wxSlider *) x));
27728 }
27729 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27730 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27731 }
27732 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27733 return (void *)((wxControl *) ((wxPyControl *) x));
27734 }
27735 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27736 return (void *)((wxControl *) ((wxStaticLine *) x));
27737 }
27738 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27739 return (void *)((wxControl *) ((wxStaticText *) x));
27740 }
27741 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27742 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27743 }
27744 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
27745 return (void *)((wxChoice *) ((wxComboBox *) x));
27746 }
27747 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27748 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27749 }
27750 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27751 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27752 }
27753 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27754 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27755 }
27756 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27757 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27758 }
27759 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
27760 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
27761 }
27762 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27763 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27764 }
27765 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27766 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27767 }
27768 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27769 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27770 }
27771 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27772 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27773 }
27774 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27775 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27776 }
27777 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27778 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27779 }
27780 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27781 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27782 }
27783 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27784 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27785 }
27786 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27787 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27788 }
27789 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27790 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27791 }
27792 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27793 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27794 }
27795 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27796 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27797 }
27798 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27799 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27800 }
27801 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27802 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27803 }
27804 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27805 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27806 }
27807 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27808 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27809 }
27810 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27811 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27812 }
27813 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27814 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27815 }
27816 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27817 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27818 }
27819 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27820 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27821 }
27822 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27823 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27824 }
27825 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27826 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27827 }
27828 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27829 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27830 }
27831 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27832 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27833 }
27834 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27835 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27836 }
27837 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27838 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27839 }
27840 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27841 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27842 }
27843 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27844 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27845 }
27846 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27847 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27848 }
27849 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27850 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27851 }
27852 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27853 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27854 }
27855 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27856 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27857 }
27858 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27859 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27860 }
27861 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27862 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27863 }
27864 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27865 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27866 }
27867 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27868 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27869 }
27870 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27871 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27872 }
27873 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27874 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27875 }
27876 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27877 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27878 }
27879 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27880 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27881 }
27882 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27883 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27884 }
27885 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27886 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27887 }
27888 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27889 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27890 }
27891 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27892 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27893 }
27894 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27895 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27896 }
27897 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27898 return (void *)((wxButton *) ((wxBitmapButton *) x));
27899 }
27900 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27901 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27902 }
27903 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27904 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27905 }
27906 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27907 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27908 }
27909 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27910 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27911 }
27912 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27913 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27914 }
27915 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27916 return (void *)((wxObject *) ((wxSizerItem *) x));
27917 }
27918 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27919 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27920 }
27921 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27922 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27923 }
27924 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27925 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27926 }
27927 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27929 }
27930 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27931 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27932 }
27933 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27934 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27935 }
27936 static void *_p_wxSizerTo_p_wxObject(void *x) {
27937 return (void *)((wxObject *) ((wxSizer *) x));
27938 }
27939 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27940 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27941 }
27942 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27944 }
27945 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27947 }
27948 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27949 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27950 }
27951 static void *_p_wxEventTo_p_wxObject(void *x) {
27952 return (void *)((wxObject *) ((wxEvent *) x));
27953 }
27954 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27955 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27956 }
27957 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27958 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27959 }
27960 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27961 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27962 }
27963 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27965 }
27966 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27968 }
27969 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27971 }
27972 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27973 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27974 }
27975 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27976 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27977 }
27978 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27979 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27980 }
27981 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27982 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27983 }
27984 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27985 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27986 }
27987 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27988 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27989 }
27990 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27992 }
27993 static void *_p_wxControlTo_p_wxObject(void *x) {
27994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27995 }
27996 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27998 }
27999 static void *_p_wxGaugeTo_p_wxObject(void *x) {
28000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
28001 }
28002 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
28003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
28004 }
28005 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
28006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
28007 }
28008 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
28009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
28010 }
28011 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28012 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28013 }
28014 static void *_p_wxChoiceTo_p_wxObject(void *x) {
28015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28016 }
28017 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28018 return (void *)((wxObject *) ((wxFSFile *) x));
28019 }
28020 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28021 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28022 }
28023 static void *_p_wxListViewTo_p_wxObject(void *x) {
28024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28025 }
28026 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
28027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
28028 }
28029 static void *_p_wxNotebookTo_p_wxObject(void *x) {
28030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28031 }
28032 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28033 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28034 }
28035 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28036 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28037 }
28038 static void *_p_wxListbookTo_p_wxObject(void *x) {
28039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28040 }
28041 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28042 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28043 }
28044 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
28045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
28046 }
28047 static void *_p_wxSliderTo_p_wxObject(void *x) {
28048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
28049 }
28050 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28051 return (void *)((wxObject *) ((wxMenuItem *) x));
28052 }
28053 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28054 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28055 }
28056 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28057 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28058 }
28059 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28060 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28061 }
28062 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28063 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28064 }
28065 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28066 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28067 }
28068 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28069 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28070 }
28071 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28072 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28073 }
28074 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28075 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28076 }
28077 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
28078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
28079 }
28080 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
28081 return (void *)((wxObject *) ((wxContextHelp *) x));
28082 }
28083 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28084 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28085 }
28086 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28087 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28088 }
28089 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28090 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28091 }
28092 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28093 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28094 }
28095 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28096 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28097 }
28098 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28099 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28100 }
28101 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28102 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28103 }
28104 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28105 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28106 }
28107 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28108 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28109 }
28110 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28111 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28112 }
28113 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28114 return (void *)((wxObject *) ((wxImageHandler *) x));
28115 }
28116 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28117 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28118 }
28119 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28120 return (void *)((wxObject *) ((wxEvtHandler *) x));
28121 }
28122 static void *_p_wxListEventTo_p_wxObject(void *x) {
28123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
28124 }
28125 static void *_p_wxListBoxTo_p_wxObject(void *x) {
28126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28127 }
28128 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
28129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28130 }
28131 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
28132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28133 }
28134 static void *_p_wxButtonTo_p_wxObject(void *x) {
28135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
28136 }
28137 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
28138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28139 }
28140 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
28141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
28142 }
28143 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
28144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28145 }
28146 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28147 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28148 }
28149 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
28150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
28151 }
28152 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
28153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
28154 }
28155 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
28156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28157 }
28158 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
28159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
28160 }
28161 static void *_p_wxListItemTo_p_wxObject(void *x) {
28162 return (void *)((wxObject *) ((wxListItem *) x));
28163 }
28164 static void *_p_wxImageTo_p_wxObject(void *x) {
28165 return (void *)((wxObject *) ((wxImage *) x));
28166 }
28167 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
28168 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
28169 }
28170 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28171 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28172 }
28173 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
28174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
28175 }
28176 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
28177 return (void *)((wxObject *) ((wxGenericDragImage *) x));
28178 }
28179 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
28180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28181 }
28182 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
28183 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28184 }
28185 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
28186 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28187 }
28188 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28189 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28190 }
28191 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28192 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28193 }
28194 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28195 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28196 }
28197 static void *_p_wxWindowTo_p_wxObject(void *x) {
28198 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28199 }
28200 static void *_p_wxMenuTo_p_wxObject(void *x) {
28201 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28202 }
28203 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28205 }
28206 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28207 return (void *)((wxObject *) ((wxFileSystem *) x));
28208 }
28209 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28210 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28211 }
28212 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28213 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28214 }
28215 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28216 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28217 }
28218 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28219 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28220 }
28221 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28222 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28223 }
28224 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28225 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28226 }
28227 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28228 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28229 }
28230 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28231 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28232 }
28233 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28234 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28235 }
28236 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28238 }
28239 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28240 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28241 }
28242 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28243 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28244 }
28245 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28246 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28247 }
28248 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28250 }
28251 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28252 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28253 }
28254 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28256 }
28257 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28258 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28259 }
28260 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28261 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28262 }
28263 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28264 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28265 }
28266 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28267 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28268 }
28269 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28270 return (void *)((wxWindow *) ((wxMenuBar *) x));
28271 }
28272 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28273 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28274 }
28275 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28276 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28277 }
28278 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28279 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28280 }
28281 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28282 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28283 }
28284 static void *_p_wxControlTo_p_wxWindow(void *x) {
28285 return (void *)((wxWindow *) ((wxControl *) x));
28286 }
28287 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28288 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28289 }
28290 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28291 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28292 }
28293 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28294 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28295 }
28296 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28297 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28298 }
28299 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28300 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28301 }
28302 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28303 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28304 }
28305 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28306 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28307 }
28308 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28309 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28310 }
28311 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28312 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28313 }
28314 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28315 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28316 }
28317 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28318 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28319 }
28320 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28321 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28322 }
28323 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28324 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28325 }
28326 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28327 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28328 }
28329 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28330 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28331 }
28332 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28333 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28334 }
28335 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28336 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28337 }
28338 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28339 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28340 }
28341 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28342 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28343 }
28344 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28345 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28346 }
28347 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28348 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28349 }
28350 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28351 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28352 }
28353 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28354 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28355 }
28356 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28357 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28358 }
28359 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28360 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28361 }
28362 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28363 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28364 }
28365 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28366 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28367 }
28368 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28369 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28370 }
28371 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28372 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28373 }
28374 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28375 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28376 }
28377 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28378 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28379 }
28380 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28381 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28382 }
28383 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28384 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28385 }
28386 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28387 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28388 }
28389 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28390 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28391 }
28392 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28393 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28394 }
28395 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28396 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28397 }
28398 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28399 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28400 }
28401 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28402 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28403 }
28404 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28405 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28406 }
28407 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
28408 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
28409 }
28410 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28411 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28412 }
28413 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28414 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28415 }
28416 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28417 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28418 }
28419 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
28420 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
28421 }
28422 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28423 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28424 }
28425 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28426 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28427 }
28428 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28429 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28430 }
28431 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28432 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28433 }
28434 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28435 return (void *)((wxValidator *) ((wxPyValidator *) x));
28436 }
28437 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28438 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}};
28439 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}};
28440 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28441 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28442 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28443 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28444 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_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
28445 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28446 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28447 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28448 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}};
28449 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28450 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28451 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28452 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}};
28453 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28454 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28455 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28456 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28457 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28458 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28459 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
28460 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28461 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28462 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28463 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28464 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28465 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28466 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28467 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28468 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28469 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_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
28470 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28471 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28472 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28473 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28474 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28475 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28476 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28477 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28478 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}};
28479 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28480 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28481 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28482 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}};
28483 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28484 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}};
28485 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28486 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28487 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28488 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28489 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28490 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28491 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28492 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28493 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28494 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28495 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28496 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28497 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28498 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28499 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28500 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28501 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28502 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28503 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28504 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28505 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_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_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_wxSpinEvent", _p_wxSpinEventTo_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}};
28506 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28507 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28508 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}};
28509 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28510 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28511 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28512 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28513 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_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
28514 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28515 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
28516 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28517 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28518 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28519 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28520 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28521
28522 static swig_type_info *swig_types_initial[] = {
28523 _swigt__p_wxTextUrlEvent,
28524 _swigt__p_wxBookCtrlEvent,
28525 _swigt__p_wxSizer,
28526 _swigt__p_wxTreeItemIdValue,
28527 _swigt__wxTreeItemIdValue,
28528 _swigt__p_wxCheckBox,
28529 _swigt__p_wxPyTreeCtrl,
28530 _swigt__p_wxEvent,
28531 _swigt__p_wxGenericDirCtrl,
28532 _swigt__p_bool,
28533 _swigt__p_wxPyTreeItemData,
28534 _swigt__p_wxItemContainer,
28535 _swigt__p_wxDirFilterListCtrl,
28536 _swigt__p_wxPyListCtrl,
28537 _swigt__p_wxStaticLine,
28538 _swigt__p_wxControl,
28539 _swigt__p_wxPyControl,
28540 _swigt__p_wxGauge,
28541 _swigt__p_wxToolBarBase,
28542 _swigt__p_wxFont,
28543 _swigt__p_wxToggleButton,
28544 _swigt__p_wxRadioButton,
28545 _swigt__p_wxChoice,
28546 _swigt__p_wxMemoryDC,
28547 _swigt__p_wxListItemAttr,
28548 _swigt__p_int,
28549 _swigt__p_wxSize,
28550 _swigt__p_wxDC,
28551 _swigt__p_wxListView,
28552 _swigt__p_wxIcon,
28553 _swigt__p_wxTextCtrl,
28554 _swigt__p_wxNotebook,
28555 _swigt__p_wxNotifyEvent,
28556 _swigt__p_wxArrayString,
28557 _swigt__p_wxListbook,
28558 _swigt__p_wxStaticBitmap,
28559 _swigt__p_wxSlider,
28560 _swigt__p_wxStaticBox,
28561 _swigt__p_wxArrayInt,
28562 _swigt__p_wxContextHelp,
28563 _swigt__p_long,
28564 _swigt__p_wxEvtHandler,
28565 _swigt__p_wxListEvent,
28566 _swigt__p_wxListBox,
28567 _swigt__p_wxCheckListBox,
28568 _swigt__p_wxBookCtrl,
28569 _swigt__p_wxSpinButton,
28570 _swigt__p_wxButton,
28571 _swigt__p_wxBitmapButton,
28572 _swigt__p_wxRect,
28573 _swigt__p_wxContextHelpButton,
28574 _swigt__p_wxRadioBox,
28575 _swigt__p_wxScrollBar,
28576 _swigt__p_wxTreeItemId,
28577 _swigt__p_wxComboBox,
28578 _swigt__p_wxHelpEvent,
28579 _swigt__p_wxListItem,
28580 _swigt__p_wxNotebookSizer,
28581 _swigt__p_wxSpinEvent,
28582 _swigt__p_wxGenericDragImage,
28583 _swigt__p_wxSpinCtrl,
28584 _swigt__p_wxImageList,
28585 _swigt__p_wxHelpProvider,
28586 _swigt__p_wxTextAttr,
28587 _swigt__p_wxSimpleHelpProvider,
28588 _swigt__p_wxPoint,
28589 _swigt__p_wxListbookEvent,
28590 _swigt__p_wxNotebookEvent,
28591 _swigt__p_wxObject,
28592 _swigt__p_wxCursor,
28593 _swigt__p_wxKeyEvent,
28594 _swigt__p_wxWindow,
28595 _swigt__p_wxString,
28596 _swigt__p_wxBitmap,
28597 _swigt__p_wxTreeEvent,
28598 _swigt__p_wxMouseEvent,
28599 _swigt__p_wxCommandEvent,
28600 _swigt__p_wxStaticText,
28601 _swigt__p_wxControlWithItems,
28602 _swigt__p_wxToolBarToolBase,
28603 _swigt__p_wxColour,
28604 _swigt__p_wxToolBar,
28605 _swigt__p_wxBookCtrlSizer,
28606 _swigt__p_wxValidator,
28607 0
28608 };
28609
28610
28611 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28612
28613 static swig_const_info swig_const_table[] = {
28614 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28615 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28616 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28617 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28618 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28619 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28620 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28621 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28622 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28623 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28624 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28625 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28626 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28627 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28628 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28629 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28630 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28631 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28632 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28633 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28634 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28635 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28636 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28637 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28638 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28639 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28640 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28641 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28642 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28643 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28644 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28645 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28646 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28647 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28648 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28649 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28650 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28651 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28652 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28653 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28654 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28655 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28656 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28657 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28658 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28659 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28660 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28661 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28662 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28663 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28664 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28665 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28666 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28667 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28668 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28669 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28670 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28671 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28672 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28673 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28674 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28675 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28676 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28677 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28678 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28679 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28680 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28681 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28682 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28683 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28684 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28685 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28686 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28687 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28688 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28689 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28690 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28691 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28692 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28693 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28694 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28695 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28696 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28697 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28698 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28699 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28700 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28701 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28702 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28703 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28704 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28705 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28706 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28707 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28708 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28709 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28710 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28711 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28712 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28713 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28714 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28715 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28716 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28717 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28718 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28719 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28720 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28721 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28722 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28723 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28724 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28725 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28726 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28727 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28728 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28729 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28730 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28731 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28732 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28733 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28734 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28735 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28736 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28737 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28738 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28739 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28740 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28741 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28742 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28743 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28744 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28745 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28746 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28747 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28748 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28749 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28750 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28751 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28752 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28753 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28754 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28755 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28756 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28757 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28758 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28759 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28760 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28761 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28762 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28763 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28764 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28765 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28766 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28767 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28768 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28769 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28770 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28771 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28772 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28773 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28774 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28775 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28776 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28777 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28778 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28779 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28780 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28781 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28782 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28783 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28784 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28785 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28786 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28787 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28788 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28789 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28790 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28791 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28792 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28793 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28794 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28795 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28796 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28797 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28798 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28799 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28800 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28801 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28802 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28803 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28804 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28805 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28806 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28807 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28808 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28809 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28810 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28811 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28812 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28813 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28814 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28815 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28816 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28817 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28818 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28819 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28820 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28821 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28822 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28823 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28824 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28825 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28826 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28827 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28828 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28829 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28830 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28831 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28832 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28833 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28834 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28835 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28836 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28837 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28838 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28839 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28840 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28841 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28842 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28843 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28844 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28845 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28846 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28847 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28848 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28849 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28850 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28851 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28852 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28853 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28854 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28855 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28856 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28857 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28858 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28859 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28860 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28861 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28862 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28863 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28864 {0}};
28865
28866 #ifdef __cplusplus
28867 }
28868 #endif
28869
28870 #ifdef __cplusplus
28871 extern "C"
28872 #endif
28873 SWIGEXPORT(void) SWIG_init(void) {
28874 static PyObject *SWIG_globals = 0;
28875 static int typeinit = 0;
28876 PyObject *m, *d;
28877 int i;
28878 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28879 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28880 d = PyModule_GetDict(m);
28881
28882 if (!typeinit) {
28883 for (i = 0; swig_types_initial[i]; i++) {
28884 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28885 }
28886 typeinit = 1;
28887 }
28888 SWIG_InstallConstants(d,swig_const_table);
28889
28890 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28891 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28892 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28893 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28894 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28895 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28896 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28897 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28898 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28899 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28900 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28901 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28902 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28903 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28904 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28905 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28906 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28907 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28908 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28909 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28910 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28911 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28912 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28913 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28914 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28915 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28916 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28917 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28918 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28919 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28920 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28921 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28922 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28923 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28924 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28925 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28926 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28927 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28928 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28929 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28930 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28931 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28932 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28933 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28934 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28935 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28936 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28937 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28938 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28939 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28940 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28941 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28942
28943 // Map renamed classes back to their common name for OOR
28944 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28945
28946 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28947 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28948 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28949 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28950 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28951 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28952 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28953 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28954 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28955 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28956 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28957 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28958 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28959 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28960 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28961 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28962 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28963 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28964 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28965 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28966 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28967
28968 // Map renamed classes back to their common name for OOR
28969 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28970 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28971
28972 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28973 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28974 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28975
28976 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28977
28978 }
28979