]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
Cleanup
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_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 void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
381 }
382 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
383 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
384 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
385 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
386 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
387
388 #include <wx/slider.h>
389
390
391 static const wxString wxPySliderNameStr(wxSliderNameStr);
392 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
393
394 #if defined(__WXMAC__) || defined(__WXX11__)
395 // implement dummy classes and such for wxMac
396
397 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
398
399 class wxToggleButton : public wxControl
400 {
401 public:
402 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
403 const wxPoint&, const wxSize&, long,
404 const wxValidator&, const wxString&)
405 { wxPyRaiseNotImplemented(); }
406
407 wxToggleButton()
408 { wxPyRaiseNotImplemented(); }
409 };
410 #endif
411
412 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
413 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
414 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
415 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
416 if (udata) {
417 Py_INCREF(udata->m_obj);
418 return udata->m_obj;
419 } else {
420 Py_INCREF(Py_None);
421 return Py_None;
422 }
423 }
424 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
425 self->SetClientData(new wxPyUserData(clientData));
426 }
427 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){
428 wxPyUserData* udata = NULL;
429 if (clientData && clientData != Py_None)
430 udata = new wxPyUserData(clientData);
431 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
432 shortHelp, longHelp, udata);
433 }
434 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){
435 wxPyUserData* udata = NULL;
436 if (clientData && clientData != Py_None)
437 udata = new wxPyUserData(clientData);
438 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
439 shortHelp, longHelp, udata);
440 }
441 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
442 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
443 if (udata) {
444 Py_INCREF(udata->m_obj);
445 return udata->m_obj;
446 } else {
447 Py_INCREF(Py_None);
448 return Py_None;
449 }
450 }
451 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
452 self->SetToolClientData(id, new wxPyUserData(clientData));
453 }
454
455 #include <wx/listctrl.h>
456
457
458 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
459 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
460 // Python aware sorting function for wxPyListCtrl
461 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
462 int retval = 0;
463 PyObject* func = (PyObject*)funcPtr;
464 wxPyBeginBlockThreads();
465
466 PyObject* args = Py_BuildValue("(ii)", item1, item2);
467 PyObject* result = PyEval_CallObject(func, args);
468 Py_DECREF(args);
469 if (result) {
470 retval = PyInt_AsLong(result);
471 Py_DECREF(result);
472 }
473
474 wxPyEndBlockThreads();
475 return retval;
476 }
477
478 // C++ Version of a Python aware class
479 class wxPyListCtrl : public wxListCtrl {
480 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
481 public:
482 wxPyListCtrl() : wxListCtrl() {}
483 wxPyListCtrl(wxWindow* parent, wxWindowID id,
484 const wxPoint& pos,
485 const wxSize& size,
486 long style,
487 const wxValidator& validator,
488 const wxString& name) :
489 wxListCtrl(parent, id, pos, size, style, validator, name) {}
490
491 bool Create(wxWindow* parent, wxWindowID id,
492 const wxPoint& pos,
493 const wxSize& size,
494 long style,
495 const wxValidator& validator,
496 const wxString& name) {
497 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
498 }
499
500 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
501 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
502 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
503
504 PYPRIVATE;
505 };
506
507 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
508
509 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
510 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
511 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
512
513 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
514 wxListItem item;
515 item.SetMask( wxLIST_MASK_STATE |
516 wxLIST_MASK_TEXT |
517 wxLIST_MASK_IMAGE |
518 wxLIST_MASK_DATA |
519 wxLIST_SET_ITEM |
520 wxLIST_MASK_WIDTH |
521 wxLIST_MASK_FORMAT
522 );
523 if (self->GetColumn(col, item))
524 return new wxListItem(item);
525 else
526 return NULL;
527 }
528 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
529 wxListItem* info = new wxListItem;
530 info->m_itemId = itemId;
531 info->m_col = col;
532 info->m_mask = 0xFFFF;
533 self->GetItem(*info);
534 return info;
535 }
536 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
537 wxPoint pos;
538 self->GetItemPosition(item, pos);
539 return pos;
540 }
541 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
542 wxRect rect;
543 self->GetItemRect(item, rect, code);
544 return rect;
545 }
546 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
547 if (!PyCallable_Check(func))
548 return False;
549 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
550 }
551 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
552
553
554
555 return (wxWindow*)self->m_mainWin;
556
557 }
558
559 #include <wx/treectrl.h>
560 #include "wx/wxPython/pytree.h"
561
562 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
563 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
564 if (!other) return False;
565 return *self == *other;
566 }
567 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
568 if (!other) return True;
569 return *self != *other;
570 }
571 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
572 // C++ version of Python aware wxTreeCtrl
573 class wxPyTreeCtrl : public wxTreeCtrl {
574 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
575 public:
576 wxPyTreeCtrl() : wxTreeCtrl() {}
577 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
578 const wxPoint& pos,
579 const wxSize& size,
580 long style,
581 const wxValidator& validator,
582 const wxString& name) :
583 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
584
585 bool Create(wxWindow *parent, wxWindowID id,
586 const wxPoint& pos,
587 const wxSize& size,
588 long style,
589 const wxValidator& validator,
590 const wxString& name) {
591 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
592 }
593
594
595 int OnCompareItems(const wxTreeItemId& item1,
596 const wxTreeItemId& item2) {
597 int rval = 0;
598 bool found;
599 wxPyBeginBlockThreads();
600 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
601 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
602 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
603 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
604 Py_DECREF(o1);
605 Py_DECREF(o2);
606 }
607 wxPyEndBlockThreads();
608 if (! found)
609 rval = wxTreeCtrl::OnCompareItems(item1, item2);
610 return rval;
611 }
612 PYPRIVATE;
613 };
614
615 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
616
617
618 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
619 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
620 if (data == NULL) {
621 data = new wxPyTreeItemData();
622 data->SetId(item); // set the id
623 self->SetItemData(item, data);
624 }
625 return data;
626 }
627 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
628 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
629 if (data == NULL) {
630 data = new wxPyTreeItemData();
631 data->SetId(item); // set the id
632 self->SetItemData(item, data);
633 }
634 return data->GetData();
635 }
636 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
637 data->SetId(item); // set the id
638 self->SetItemData(item, data);
639 }
640 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
641 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
642 if (data == NULL) {
643 data = new wxPyTreeItemData(obj);
644 data->SetId(item); // set the id
645 self->SetItemData(item, data);
646 } else
647 data->SetData(obj);
648 }
649 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
650 wxPyBeginBlockThreads();
651 PyObject* rval = PyList_New(0);
652 wxArrayTreeItemIds array;
653 size_t num, x;
654 num = self->GetSelections(array);
655 for (x=0; x < num; x++) {
656 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
657 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
658 PyList_Append(rval, item);
659 }
660 wxPyEndBlockThreads();
661 return rval;
662 }
663 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
664 wxTreeItemIdValue cookie = 0;
665 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
666 wxPyBeginBlockThreads();
667 PyObject* tup = PyTuple_New(2);
668 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
669 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
670 wxPyEndBlockThreads();
671 return tup;
672 }
673 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
674 wxTreeItemId ritem = self->GetNextChild(item, cookie);
675 wxPyBeginBlockThreads();
676 PyObject* tup = PyTuple_New(2);
677 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
678 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
679 wxPyEndBlockThreads();
680 return tup;
681 }
682 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
683 wxRect rect;
684 if (self->GetBoundingRect(item, rect, textOnly)) {
685 wxPyBeginBlockThreads();
686 wxRect* r = new wxRect(rect);
687 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
688 wxPyEndBlockThreads();
689 return val;
690 }
691 else
692 RETURN_NONE();
693 }
694 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
695 // C++ version of Python aware wxControl
696 class wxPyControl : public wxControl
697 {
698 DECLARE_DYNAMIC_CLASS(wxPyControl)
699 public:
700 wxPyControl() : wxControl() {}
701 wxPyControl(wxWindow* parent, const wxWindowID id,
702 const wxPoint& pos = wxDefaultPosition,
703 const wxSize& size = wxDefaultSize,
704 long style = 0,
705 const wxValidator& validator=wxDefaultValidator,
706 const wxString& name = wxPyControlNameStr)
707 : wxControl(parent, id, pos, size, style, validator, name) {}
708
709
710 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
711 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
712 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
713 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
714
715 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
716 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
717 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
718
719 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
720 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
721
722 DEC_PYCALLBACK__(InitDialog);
723 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
724 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
725 DEC_PYCALLBACK_BOOL_(Validate);
726
727 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
728 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
729 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
730
731 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
732 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
733
734 PYPRIVATE;
735 };
736
737 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
738
739 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
740 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
741 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
742 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
743
744 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
745 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
746 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
747
748 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
749 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
750
751 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
752 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
753 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
754 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
755
756 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
757 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
758 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
759
760 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
761 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
762
763
764
765
766 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
767
768 #include <wx/generic/dragimgg.h>
769
770 #ifdef __cplusplus
771 extern "C" {
772 #endif
773 static int _wrap_ButtonNameStr_set(PyObject *_val) {
774 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
775 return 1;
776 }
777
778
779 static PyObject *_wrap_ButtonNameStr_get() {
780 PyObject *pyobj;
781
782 {
783 #if wxUSE_UNICODE
784 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
785 #else
786 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
787 #endif
788 }
789 return pyobj;
790 }
791
792
793 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
794 PyObject *resultobj;
795 wxWindow *arg1 = (wxWindow *) 0 ;
796 int arg2 ;
797 wxString *arg3 = 0 ;
798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
800 wxSize const &arg5_defvalue = wxDefaultSize ;
801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
802 long arg6 = (long) 0 ;
803 wxValidator const &arg7_defvalue = wxDefaultValidator ;
804 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
805 wxString const &arg8_defvalue = wxPyButtonNameStr ;
806 wxString *arg8 = (wxString *) &arg8_defvalue ;
807 wxButton *result;
808 bool temp3 = False ;
809 wxPoint temp4 ;
810 wxSize temp5 ;
811 bool temp8 = False ;
812 PyObject * obj0 = 0 ;
813 PyObject * obj2 = 0 ;
814 PyObject * obj3 = 0 ;
815 PyObject * obj4 = 0 ;
816 PyObject * obj6 = 0 ;
817 PyObject * obj7 = 0 ;
818 char *kwnames[] = {
819 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
820 };
821
822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
824 {
825 arg3 = wxString_in_helper(obj2);
826 if (arg3 == NULL) SWIG_fail;
827 temp3 = True;
828 }
829 if (obj3) {
830 {
831 arg4 = &temp4;
832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
833 }
834 }
835 if (obj4) {
836 {
837 arg5 = &temp5;
838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
839 }
840 }
841 if (obj6) {
842 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
843 if (arg7 == NULL) {
844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
845 }
846 }
847 if (obj7) {
848 {
849 arg8 = wxString_in_helper(obj7);
850 if (arg8 == NULL) SWIG_fail;
851 temp8 = True;
852 }
853 }
854 {
855 PyThreadState* __tstate = wxPyBeginAllowThreads();
856 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
857
858 wxPyEndAllowThreads(__tstate);
859 if (PyErr_Occurred()) SWIG_fail;
860 }
861 {
862 resultobj = wxPyMake_wxObject(result);
863 }
864 {
865 if (temp3)
866 delete arg3;
867 }
868 {
869 if (temp8)
870 delete arg8;
871 }
872 return resultobj;
873 fail:
874 {
875 if (temp3)
876 delete arg3;
877 }
878 {
879 if (temp8)
880 delete arg8;
881 }
882 return NULL;
883 }
884
885
886 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
887 PyObject *resultobj;
888 wxButton *result;
889 char *kwnames[] = {
890 NULL
891 };
892
893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
894 {
895 PyThreadState* __tstate = wxPyBeginAllowThreads();
896 result = (wxButton *)new wxButton();
897
898 wxPyEndAllowThreads(__tstate);
899 if (PyErr_Occurred()) SWIG_fail;
900 }
901 {
902 resultobj = wxPyMake_wxObject(result);
903 }
904 return resultobj;
905 fail:
906 return NULL;
907 }
908
909
910 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
911 PyObject *resultobj;
912 wxButton *arg1 = (wxButton *) 0 ;
913 wxWindow *arg2 = (wxWindow *) 0 ;
914 int arg3 ;
915 wxString *arg4 = 0 ;
916 wxPoint const &arg5_defvalue = wxDefaultPosition ;
917 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
918 wxSize const &arg6_defvalue = wxDefaultSize ;
919 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
920 long arg7 = (long) 0 ;
921 wxValidator const &arg8_defvalue = wxDefaultValidator ;
922 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
923 wxString const &arg9_defvalue = wxPyButtonNameStr ;
924 wxString *arg9 = (wxString *) &arg9_defvalue ;
925 bool result;
926 bool temp4 = False ;
927 wxPoint temp5 ;
928 wxSize temp6 ;
929 bool temp9 = False ;
930 PyObject * obj0 = 0 ;
931 PyObject * obj1 = 0 ;
932 PyObject * obj3 = 0 ;
933 PyObject * obj4 = 0 ;
934 PyObject * obj5 = 0 ;
935 PyObject * obj7 = 0 ;
936 PyObject * obj8 = 0 ;
937 char *kwnames[] = {
938 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
939 };
940
941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
944 {
945 arg4 = wxString_in_helper(obj3);
946 if (arg4 == NULL) SWIG_fail;
947 temp4 = True;
948 }
949 if (obj4) {
950 {
951 arg5 = &temp5;
952 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
953 }
954 }
955 if (obj5) {
956 {
957 arg6 = &temp6;
958 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
959 }
960 }
961 if (obj7) {
962 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
963 if (arg8 == NULL) {
964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
965 }
966 }
967 if (obj8) {
968 {
969 arg9 = wxString_in_helper(obj8);
970 if (arg9 == NULL) SWIG_fail;
971 temp9 = True;
972 }
973 }
974 {
975 PyThreadState* __tstate = wxPyBeginAllowThreads();
976 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
977
978 wxPyEndAllowThreads(__tstate);
979 if (PyErr_Occurred()) SWIG_fail;
980 }
981 resultobj = PyInt_FromLong((long)result);
982 {
983 if (temp4)
984 delete arg4;
985 }
986 {
987 if (temp9)
988 delete arg9;
989 }
990 return resultobj;
991 fail:
992 {
993 if (temp4)
994 delete arg4;
995 }
996 {
997 if (temp9)
998 delete arg9;
999 }
1000 return NULL;
1001 }
1002
1003
1004 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1005 PyObject *resultobj;
1006 wxButton *arg1 = (wxButton *) 0 ;
1007 PyObject * obj0 = 0 ;
1008 char *kwnames[] = {
1009 (char *) "self", NULL
1010 };
1011
1012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1014 {
1015 PyThreadState* __tstate = wxPyBeginAllowThreads();
1016 (arg1)->SetDefault();
1017
1018 wxPyEndAllowThreads(__tstate);
1019 if (PyErr_Occurred()) SWIG_fail;
1020 }
1021 Py_INCREF(Py_None); resultobj = Py_None;
1022 return resultobj;
1023 fail:
1024 return NULL;
1025 }
1026
1027
1028 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1029 PyObject *resultobj;
1030 wxSize result;
1031 char *kwnames[] = {
1032 NULL
1033 };
1034
1035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1036 {
1037 PyThreadState* __tstate = wxPyBeginAllowThreads();
1038 result = wxButton::GetDefaultSize();
1039
1040 wxPyEndAllowThreads(__tstate);
1041 if (PyErr_Occurred()) SWIG_fail;
1042 }
1043 {
1044 wxSize * resultptr;
1045 resultptr = new wxSize((wxSize &) result);
1046 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1047 }
1048 return resultobj;
1049 fail:
1050 return NULL;
1051 }
1052
1053
1054 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1055 PyObject *obj;
1056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1057 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1058 Py_INCREF(obj);
1059 return Py_BuildValue((char *)"");
1060 }
1061 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject *resultobj;
1063 wxWindow *arg1 = (wxWindow *) 0 ;
1064 int arg2 ;
1065 wxBitmap *arg3 = 0 ;
1066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1068 wxSize const &arg5_defvalue = wxDefaultSize ;
1069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1070 long arg6 = (long) wxBU_AUTODRAW ;
1071 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1072 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1073 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1074 wxString *arg8 = (wxString *) &arg8_defvalue ;
1075 wxBitmapButton *result;
1076 wxPoint temp4 ;
1077 wxSize temp5 ;
1078 bool temp8 = False ;
1079 PyObject * obj0 = 0 ;
1080 PyObject * obj2 = 0 ;
1081 PyObject * obj3 = 0 ;
1082 PyObject * obj4 = 0 ;
1083 PyObject * obj6 = 0 ;
1084 PyObject * obj7 = 0 ;
1085 char *kwnames[] = {
1086 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1087 };
1088
1089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1092 if (arg3 == NULL) {
1093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1094 }
1095 if (obj3) {
1096 {
1097 arg4 = &temp4;
1098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1099 }
1100 }
1101 if (obj4) {
1102 {
1103 arg5 = &temp5;
1104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1105 }
1106 }
1107 if (obj6) {
1108 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 if (arg7 == NULL) {
1110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1111 }
1112 }
1113 if (obj7) {
1114 {
1115 arg8 = wxString_in_helper(obj7);
1116 if (arg8 == NULL) SWIG_fail;
1117 temp8 = True;
1118 }
1119 }
1120 {
1121 PyThreadState* __tstate = wxPyBeginAllowThreads();
1122 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1123
1124 wxPyEndAllowThreads(__tstate);
1125 if (PyErr_Occurred()) SWIG_fail;
1126 }
1127 {
1128 resultobj = wxPyMake_wxObject(result);
1129 }
1130 {
1131 if (temp8)
1132 delete arg8;
1133 }
1134 return resultobj;
1135 fail:
1136 {
1137 if (temp8)
1138 delete arg8;
1139 }
1140 return NULL;
1141 }
1142
1143
1144 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1145 PyObject *resultobj;
1146 wxBitmapButton *result;
1147 char *kwnames[] = {
1148 NULL
1149 };
1150
1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1152 {
1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
1154 result = (wxBitmapButton *)new wxBitmapButton();
1155
1156 wxPyEndAllowThreads(__tstate);
1157 if (PyErr_Occurred()) SWIG_fail;
1158 }
1159 {
1160 resultobj = wxPyMake_wxObject(result);
1161 }
1162 return resultobj;
1163 fail:
1164 return NULL;
1165 }
1166
1167
1168 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1169 PyObject *resultobj;
1170 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1171 wxWindow *arg2 = (wxWindow *) 0 ;
1172 int arg3 ;
1173 wxBitmap *arg4 = 0 ;
1174 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1175 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1176 wxSize const &arg6_defvalue = wxDefaultSize ;
1177 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1178 long arg7 = (long) wxBU_AUTODRAW ;
1179 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1180 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1181 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1182 wxString *arg9 = (wxString *) &arg9_defvalue ;
1183 bool result;
1184 wxPoint temp5 ;
1185 wxSize temp6 ;
1186 bool temp9 = False ;
1187 PyObject * obj0 = 0 ;
1188 PyObject * obj1 = 0 ;
1189 PyObject * obj3 = 0 ;
1190 PyObject * obj4 = 0 ;
1191 PyObject * obj5 = 0 ;
1192 PyObject * obj7 = 0 ;
1193 PyObject * obj8 = 0 ;
1194 char *kwnames[] = {
1195 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1196 };
1197
1198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1201 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1202 if (arg4 == NULL) {
1203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1204 }
1205 if (obj4) {
1206 {
1207 arg5 = &temp5;
1208 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1209 }
1210 }
1211 if (obj5) {
1212 {
1213 arg6 = &temp6;
1214 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1215 }
1216 }
1217 if (obj7) {
1218 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1219 if (arg8 == NULL) {
1220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1221 }
1222 }
1223 if (obj8) {
1224 {
1225 arg9 = wxString_in_helper(obj8);
1226 if (arg9 == NULL) SWIG_fail;
1227 temp9 = True;
1228 }
1229 }
1230 {
1231 PyThreadState* __tstate = wxPyBeginAllowThreads();
1232 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1233
1234 wxPyEndAllowThreads(__tstate);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
1237 resultobj = PyInt_FromLong((long)result);
1238 {
1239 if (temp9)
1240 delete arg9;
1241 }
1242 return resultobj;
1243 fail:
1244 {
1245 if (temp9)
1246 delete arg9;
1247 }
1248 return NULL;
1249 }
1250
1251
1252 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1253 PyObject *resultobj;
1254 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1255 wxBitmap result;
1256 PyObject * obj0 = 0 ;
1257 char *kwnames[] = {
1258 (char *) "self", NULL
1259 };
1260
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1263 {
1264 PyThreadState* __tstate = wxPyBeginAllowThreads();
1265 result = (arg1)->GetBitmapLabel();
1266
1267 wxPyEndAllowThreads(__tstate);
1268 if (PyErr_Occurred()) SWIG_fail;
1269 }
1270 {
1271 wxBitmap * resultptr;
1272 resultptr = new wxBitmap((wxBitmap &) result);
1273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1274 }
1275 return resultobj;
1276 fail:
1277 return NULL;
1278 }
1279
1280
1281 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject *resultobj;
1283 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1284 wxBitmap result;
1285 PyObject * obj0 = 0 ;
1286 char *kwnames[] = {
1287 (char *) "self", NULL
1288 };
1289
1290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1292 {
1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
1294 result = (arg1)->GetBitmapDisabled();
1295
1296 wxPyEndAllowThreads(__tstate);
1297 if (PyErr_Occurred()) SWIG_fail;
1298 }
1299 {
1300 wxBitmap * resultptr;
1301 resultptr = new wxBitmap((wxBitmap &) result);
1302 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1303 }
1304 return resultobj;
1305 fail:
1306 return NULL;
1307 }
1308
1309
1310 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1311 PyObject *resultobj;
1312 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1313 wxBitmap result;
1314 PyObject * obj0 = 0 ;
1315 char *kwnames[] = {
1316 (char *) "self", NULL
1317 };
1318
1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 result = (arg1)->GetBitmapFocus();
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 {
1329 wxBitmap * resultptr;
1330 resultptr = new wxBitmap((wxBitmap &) result);
1331 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1332 }
1333 return resultobj;
1334 fail:
1335 return NULL;
1336 }
1337
1338
1339 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1342 wxBitmap result;
1343 PyObject * obj0 = 0 ;
1344 char *kwnames[] = {
1345 (char *) "self", NULL
1346 };
1347
1348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1350 {
1351 PyThreadState* __tstate = wxPyBeginAllowThreads();
1352 result = (arg1)->GetBitmapSelected();
1353
1354 wxPyEndAllowThreads(__tstate);
1355 if (PyErr_Occurred()) SWIG_fail;
1356 }
1357 {
1358 wxBitmap * resultptr;
1359 resultptr = new wxBitmap((wxBitmap &) result);
1360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1361 }
1362 return resultobj;
1363 fail:
1364 return NULL;
1365 }
1366
1367
1368 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1371 wxBitmap *arg2 = 0 ;
1372 PyObject * obj0 = 0 ;
1373 PyObject * obj1 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self",(char *) "bitmap", NULL
1376 };
1377
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1381 if (arg2 == NULL) {
1382 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1383 }
1384 {
1385 PyThreadState* __tstate = wxPyBeginAllowThreads();
1386 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1387
1388 wxPyEndAllowThreads(__tstate);
1389 if (PyErr_Occurred()) SWIG_fail;
1390 }
1391 Py_INCREF(Py_None); resultobj = Py_None;
1392 return resultobj;
1393 fail:
1394 return NULL;
1395 }
1396
1397
1398 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1399 PyObject *resultobj;
1400 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1401 wxBitmap *arg2 = 0 ;
1402 PyObject * obj0 = 0 ;
1403 PyObject * obj1 = 0 ;
1404 char *kwnames[] = {
1405 (char *) "self",(char *) "bitmap", NULL
1406 };
1407
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1411 if (arg2 == NULL) {
1412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1413 }
1414 {
1415 PyThreadState* __tstate = wxPyBeginAllowThreads();
1416 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1417
1418 wxPyEndAllowThreads(__tstate);
1419 if (PyErr_Occurred()) SWIG_fail;
1420 }
1421 Py_INCREF(Py_None); resultobj = Py_None;
1422 return resultobj;
1423 fail:
1424 return NULL;
1425 }
1426
1427
1428 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject *resultobj;
1430 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1431 wxBitmap *arg2 = 0 ;
1432 PyObject * obj0 = 0 ;
1433 PyObject * obj1 = 0 ;
1434 char *kwnames[] = {
1435 (char *) "self",(char *) "bitmap", NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 if (arg2 == NULL) {
1442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1443 }
1444 {
1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
1446 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1447
1448 wxPyEndAllowThreads(__tstate);
1449 if (PyErr_Occurred()) SWIG_fail;
1450 }
1451 Py_INCREF(Py_None); resultobj = Py_None;
1452 return resultobj;
1453 fail:
1454 return NULL;
1455 }
1456
1457
1458 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1461 wxBitmap *arg2 = 0 ;
1462 PyObject * obj0 = 0 ;
1463 PyObject * obj1 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "self",(char *) "bitmap", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1471 if (arg2 == NULL) {
1472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1473 }
1474 {
1475 PyThreadState* __tstate = wxPyBeginAllowThreads();
1476 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1477
1478 wxPyEndAllowThreads(__tstate);
1479 if (PyErr_Occurred()) SWIG_fail;
1480 }
1481 Py_INCREF(Py_None); resultobj = Py_None;
1482 return resultobj;
1483 fail:
1484 return NULL;
1485 }
1486
1487
1488 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1489 PyObject *resultobj;
1490 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1491 int arg2 ;
1492 int arg3 ;
1493 PyObject * obj0 = 0 ;
1494 char *kwnames[] = {
1495 (char *) "self",(char *) "x",(char *) "y", NULL
1496 };
1497
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 {
1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
1502 (arg1)->SetMargins(arg2,arg3);
1503
1504 wxPyEndAllowThreads(__tstate);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 Py_INCREF(Py_None); resultobj = Py_None;
1508 return resultobj;
1509 fail:
1510 return NULL;
1511 }
1512
1513
1514 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject *resultobj;
1516 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1517 int result;
1518 PyObject * obj0 = 0 ;
1519 char *kwnames[] = {
1520 (char *) "self", NULL
1521 };
1522
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1525 {
1526 PyThreadState* __tstate = wxPyBeginAllowThreads();
1527 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1528
1529 wxPyEndAllowThreads(__tstate);
1530 if (PyErr_Occurred()) SWIG_fail;
1531 }
1532 resultobj = PyInt_FromLong((long)result);
1533 return resultobj;
1534 fail:
1535 return NULL;
1536 }
1537
1538
1539 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject *resultobj;
1541 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1542 int result;
1543 PyObject * obj0 = 0 ;
1544 char *kwnames[] = {
1545 (char *) "self", NULL
1546 };
1547
1548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 resultobj = PyInt_FromLong((long)result);
1558 return resultobj;
1559 fail:
1560 return NULL;
1561 }
1562
1563
1564 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1565 PyObject *obj;
1566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1567 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1568 Py_INCREF(obj);
1569 return Py_BuildValue((char *)"");
1570 }
1571 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1572 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1573 return 1;
1574 }
1575
1576
1577 static PyObject *_wrap_CheckBoxNameStr_get() {
1578 PyObject *pyobj;
1579
1580 {
1581 #if wxUSE_UNICODE
1582 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1583 #else
1584 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1585 #endif
1586 }
1587 return pyobj;
1588 }
1589
1590
1591 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject *resultobj;
1593 wxWindow *arg1 = (wxWindow *) 0 ;
1594 int arg2 ;
1595 wxString *arg3 = 0 ;
1596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1598 wxSize const &arg5_defvalue = wxDefaultSize ;
1599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1600 long arg6 = (long) 0 ;
1601 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1602 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1603 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1604 wxString *arg8 = (wxString *) &arg8_defvalue ;
1605 wxCheckBox *result;
1606 bool temp3 = False ;
1607 wxPoint temp4 ;
1608 wxSize temp5 ;
1609 bool temp8 = False ;
1610 PyObject * obj0 = 0 ;
1611 PyObject * obj2 = 0 ;
1612 PyObject * obj3 = 0 ;
1613 PyObject * obj4 = 0 ;
1614 PyObject * obj6 = 0 ;
1615 PyObject * obj7 = 0 ;
1616 char *kwnames[] = {
1617 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1618 };
1619
1620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1622 {
1623 arg3 = wxString_in_helper(obj2);
1624 if (arg3 == NULL) SWIG_fail;
1625 temp3 = True;
1626 }
1627 if (obj3) {
1628 {
1629 arg4 = &temp4;
1630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1631 }
1632 }
1633 if (obj4) {
1634 {
1635 arg5 = &temp5;
1636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1637 }
1638 }
1639 if (obj6) {
1640 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1641 if (arg7 == NULL) {
1642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1643 }
1644 }
1645 if (obj7) {
1646 {
1647 arg8 = wxString_in_helper(obj7);
1648 if (arg8 == NULL) SWIG_fail;
1649 temp8 = True;
1650 }
1651 }
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
1659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1660 {
1661 if (temp3)
1662 delete arg3;
1663 }
1664 {
1665 if (temp8)
1666 delete arg8;
1667 }
1668 return resultobj;
1669 fail:
1670 {
1671 if (temp3)
1672 delete arg3;
1673 }
1674 {
1675 if (temp8)
1676 delete arg8;
1677 }
1678 return NULL;
1679 }
1680
1681
1682 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject *resultobj;
1684 wxCheckBox *result;
1685 char *kwnames[] = {
1686 NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1690 {
1691 PyThreadState* __tstate = wxPyBeginAllowThreads();
1692 result = (wxCheckBox *)new wxCheckBox();
1693
1694 wxPyEndAllowThreads(__tstate);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 }
1697 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1698 return resultobj;
1699 fail:
1700 return NULL;
1701 }
1702
1703
1704 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1705 PyObject *resultobj;
1706 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1707 wxWindow *arg2 = (wxWindow *) 0 ;
1708 int arg3 ;
1709 wxString *arg4 = 0 ;
1710 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1711 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1712 wxSize const &arg6_defvalue = wxDefaultSize ;
1713 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1714 long arg7 = (long) 0 ;
1715 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1716 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1717 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1718 wxString *arg9 = (wxString *) &arg9_defvalue ;
1719 bool result;
1720 bool temp4 = False ;
1721 wxPoint temp5 ;
1722 wxSize temp6 ;
1723 bool temp9 = False ;
1724 PyObject * obj0 = 0 ;
1725 PyObject * obj1 = 0 ;
1726 PyObject * obj3 = 0 ;
1727 PyObject * obj4 = 0 ;
1728 PyObject * obj5 = 0 ;
1729 PyObject * obj7 = 0 ;
1730 PyObject * obj8 = 0 ;
1731 char *kwnames[] = {
1732 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1733 };
1734
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1738 {
1739 arg4 = wxString_in_helper(obj3);
1740 if (arg4 == NULL) SWIG_fail;
1741 temp4 = True;
1742 }
1743 if (obj4) {
1744 {
1745 arg5 = &temp5;
1746 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1747 }
1748 }
1749 if (obj5) {
1750 {
1751 arg6 = &temp6;
1752 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1753 }
1754 }
1755 if (obj7) {
1756 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1757 if (arg8 == NULL) {
1758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1759 }
1760 }
1761 if (obj8) {
1762 {
1763 arg9 = wxString_in_helper(obj8);
1764 if (arg9 == NULL) SWIG_fail;
1765 temp9 = True;
1766 }
1767 }
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
1775 resultobj = PyInt_FromLong((long)result);
1776 {
1777 if (temp4)
1778 delete arg4;
1779 }
1780 {
1781 if (temp9)
1782 delete arg9;
1783 }
1784 return resultobj;
1785 fail:
1786 {
1787 if (temp4)
1788 delete arg4;
1789 }
1790 {
1791 if (temp9)
1792 delete arg9;
1793 }
1794 return NULL;
1795 }
1796
1797
1798 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1799 PyObject *resultobj;
1800 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1801 bool result;
1802 PyObject * obj0 = 0 ;
1803 char *kwnames[] = {
1804 (char *) "self", NULL
1805 };
1806
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1809 {
1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
1811 result = (bool)(arg1)->GetValue();
1812
1813 wxPyEndAllowThreads(__tstate);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 resultobj = PyInt_FromLong((long)result);
1817 return resultobj;
1818 fail:
1819 return NULL;
1820 }
1821
1822
1823 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject *resultobj;
1825 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1826 bool result;
1827 PyObject * obj0 = 0 ;
1828 char *kwnames[] = {
1829 (char *) "self", NULL
1830 };
1831
1832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1834 {
1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
1836 result = (bool)(arg1)->IsChecked();
1837
1838 wxPyEndAllowThreads(__tstate);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 resultobj = PyInt_FromLong((long)result);
1842 return resultobj;
1843 fail:
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1851 bool arg2 ;
1852 PyObject * obj0 = 0 ;
1853 PyObject * obj1 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self",(char *) "state", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1860 arg2 = PyInt_AsLong(obj1) ? true : false;
1861 if (PyErr_Occurred()) SWIG_fail;
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
1864 (arg1)->SetValue(arg2);
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 }
1869 Py_INCREF(Py_None); resultobj = Py_None;
1870 return resultobj;
1871 fail:
1872 return NULL;
1873 }
1874
1875
1876 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject *resultobj;
1878 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1879 int result;
1880 PyObject * obj0 = 0 ;
1881 char *kwnames[] = {
1882 (char *) "self", NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 resultobj = PyInt_FromLong((long)result);
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1904 int arg2 ;
1905 PyObject * obj0 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self",(char *) "state", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1912 {
1913 PyThreadState* __tstate = wxPyBeginAllowThreads();
1914 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1915
1916 wxPyEndAllowThreads(__tstate);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 Py_INCREF(Py_None); resultobj = Py_None;
1920 return resultobj;
1921 fail:
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1929 bool result;
1930 PyObject * obj0 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "self", NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = PyInt_FromLong((long)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948 }
1949
1950
1951 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1954 bool result;
1955 PyObject * obj0 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 resultobj = PyInt_FromLong((long)result);
1970 return resultobj;
1971 fail:
1972 return NULL;
1973 }
1974
1975
1976 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1977 PyObject *obj;
1978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1979 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1980 Py_INCREF(obj);
1981 return Py_BuildValue((char *)"");
1982 }
1983 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
1984 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
1985 return 1;
1986 }
1987
1988
1989 static PyObject *_wrap_ChoiceNameStr_get() {
1990 PyObject *pyobj;
1991
1992 {
1993 #if wxUSE_UNICODE
1994 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1995 #else
1996 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1997 #endif
1998 }
1999 return pyobj;
2000 }
2001
2002
2003 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxWindow *arg1 = (wxWindow *) 0 ;
2006 int arg2 ;
2007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2009 wxSize const &arg4_defvalue = wxDefaultSize ;
2010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2011 int arg5 = (int) 0 ;
2012 wxString *arg6 = (wxString *) NULL ;
2013 long arg7 = (long) 0 ;
2014 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2015 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2016 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2017 wxString *arg9 = (wxString *) &arg9_defvalue ;
2018 wxChoice *result;
2019 wxPoint temp3 ;
2020 wxSize temp4 ;
2021 bool temp8 = False ;
2022 PyObject * obj0 = 0 ;
2023 PyObject * obj2 = 0 ;
2024 PyObject * obj3 = 0 ;
2025 PyObject * obj4 = 0 ;
2026 PyObject * obj6 = 0 ;
2027 PyObject * obj7 = 0 ;
2028 char *kwnames[] = {
2029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2034 if (obj2) {
2035 {
2036 arg3 = &temp3;
2037 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2038 }
2039 }
2040 if (obj3) {
2041 {
2042 arg4 = &temp4;
2043 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2044 }
2045 }
2046 if (obj4) {
2047 {
2048 arg5 = PyList_Size(obj4);
2049 arg6 = wxString_LIST_helper(obj4);
2050 if (arg6 == NULL) SWIG_fail;
2051 }
2052 }
2053 if (obj6) {
2054 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 if (arg8 == NULL) {
2056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2057 }
2058 }
2059 if (obj7) {
2060 {
2061 arg9 = wxString_in_helper(obj7);
2062 if (arg9 == NULL) SWIG_fail;
2063 temp8 = True;
2064 }
2065 }
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2074 {
2075 if (arg6) delete [] arg6;
2076 }
2077 {
2078 if (temp8)
2079 delete arg9;
2080 }
2081 return resultobj;
2082 fail:
2083 {
2084 if (arg6) delete [] arg6;
2085 }
2086 {
2087 if (temp8)
2088 delete arg9;
2089 }
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxChoice *result;
2097 char *kwnames[] = {
2098 NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 result = (wxChoice *)new wxChoice();
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2110 return resultobj;
2111 fail:
2112 return NULL;
2113 }
2114
2115
2116 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2117 PyObject *resultobj;
2118 wxChoice *arg1 = (wxChoice *) 0 ;
2119 wxWindow *arg2 = (wxWindow *) 0 ;
2120 int arg3 ;
2121 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2122 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2123 wxSize const &arg5_defvalue = wxDefaultSize ;
2124 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2125 int arg6 = (int) 0 ;
2126 wxString *arg7 = (wxString *) NULL ;
2127 long arg8 = (long) 0 ;
2128 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2129 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2130 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2131 wxString *arg10 = (wxString *) &arg10_defvalue ;
2132 bool result;
2133 wxPoint temp4 ;
2134 wxSize temp5 ;
2135 bool temp9 = False ;
2136 PyObject * obj0 = 0 ;
2137 PyObject * obj1 = 0 ;
2138 PyObject * obj3 = 0 ;
2139 PyObject * obj4 = 0 ;
2140 PyObject * obj5 = 0 ;
2141 PyObject * obj7 = 0 ;
2142 PyObject * obj8 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150 if (obj3) {
2151 {
2152 arg4 = &temp4;
2153 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2154 }
2155 }
2156 if (obj4) {
2157 {
2158 arg5 = &temp5;
2159 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2160 }
2161 }
2162 if (obj5) {
2163 {
2164 arg6 = PyList_Size(obj5);
2165 arg7 = wxString_LIST_helper(obj5);
2166 if (arg7 == NULL) SWIG_fail;
2167 }
2168 }
2169 if (obj7) {
2170 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2171 if (arg9 == NULL) {
2172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2173 }
2174 }
2175 if (obj8) {
2176 {
2177 arg10 = wxString_in_helper(obj8);
2178 if (arg10 == NULL) SWIG_fail;
2179 temp9 = True;
2180 }
2181 }
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 resultobj = PyInt_FromLong((long)result);
2190 {
2191 if (arg7) delete [] arg7;
2192 }
2193 {
2194 if (temp9)
2195 delete arg10;
2196 }
2197 return resultobj;
2198 fail:
2199 {
2200 if (arg7) delete [] arg7;
2201 }
2202 {
2203 if (temp9)
2204 delete arg10;
2205 }
2206 return NULL;
2207 }
2208
2209
2210 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject *resultobj;
2212 wxChoice *arg1 = (wxChoice *) 0 ;
2213 int result;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 result = (int)(arg1)->GetColumns();
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 resultobj = PyInt_FromLong((long)result);
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxChoice *arg1 = (wxChoice *) 0 ;
2238 int arg2 = (int) (int)1 ;
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self",(char *) "n", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 (arg1)->SetColumns(arg2);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxChoice *arg1 = (wxChoice *) 0 ;
2263 int arg2 ;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self",(char *) "n", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 (arg1)->SetSelection(arg2);
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 Py_INCREF(Py_None); resultobj = Py_None;
2279 return resultobj;
2280 fail:
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxChoice *arg1 = (wxChoice *) 0 ;
2288 wxString *arg2 = 0 ;
2289 bool temp2 = False ;
2290 PyObject * obj0 = 0 ;
2291 PyObject * obj1 = 0 ;
2292 char *kwnames[] = {
2293 (char *) "self",(char *) "string", NULL
2294 };
2295
2296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2298 {
2299 arg2 = wxString_in_helper(obj1);
2300 if (arg2 == NULL) SWIG_fail;
2301 temp2 = True;
2302 }
2303 {
2304 PyThreadState* __tstate = wxPyBeginAllowThreads();
2305 (arg1)->SetStringSelection((wxString const &)*arg2);
2306
2307 wxPyEndAllowThreads(__tstate);
2308 if (PyErr_Occurred()) SWIG_fail;
2309 }
2310 Py_INCREF(Py_None); resultobj = Py_None;
2311 {
2312 if (temp2)
2313 delete arg2;
2314 }
2315 return resultobj;
2316 fail:
2317 {
2318 if (temp2)
2319 delete arg2;
2320 }
2321 return NULL;
2322 }
2323
2324
2325 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2326 PyObject *resultobj;
2327 wxChoice *arg1 = (wxChoice *) 0 ;
2328 int arg2 ;
2329 wxString *arg3 = 0 ;
2330 bool temp3 = False ;
2331 PyObject * obj0 = 0 ;
2332 PyObject * obj2 = 0 ;
2333 char *kwnames[] = {
2334 (char *) "self",(char *) "n",(char *) "s", NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2339 {
2340 arg3 = wxString_in_helper(obj2);
2341 if (arg3 == NULL) SWIG_fail;
2342 temp3 = True;
2343 }
2344 {
2345 PyThreadState* __tstate = wxPyBeginAllowThreads();
2346 (arg1)->SetString(arg2,(wxString const &)*arg3);
2347
2348 wxPyEndAllowThreads(__tstate);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 }
2351 Py_INCREF(Py_None); resultobj = Py_None;
2352 {
2353 if (temp3)
2354 delete arg3;
2355 }
2356 return resultobj;
2357 fail:
2358 {
2359 if (temp3)
2360 delete arg3;
2361 }
2362 return NULL;
2363 }
2364
2365
2366 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2367 PyObject *obj;
2368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2369 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2370 Py_INCREF(obj);
2371 return Py_BuildValue((char *)"");
2372 }
2373 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2374 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2375 return 1;
2376 }
2377
2378
2379 static PyObject *_wrap_ComboBoxNameStr_get() {
2380 PyObject *pyobj;
2381
2382 {
2383 #if wxUSE_UNICODE
2384 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2385 #else
2386 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2387 #endif
2388 }
2389 return pyobj;
2390 }
2391
2392
2393 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxWindow *arg1 = (wxWindow *) 0 ;
2396 int arg2 ;
2397 wxString const &arg3_defvalue = wxPyEmptyString ;
2398 wxString *arg3 = (wxString *) &arg3_defvalue ;
2399 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2400 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2401 wxSize const &arg5_defvalue = wxDefaultSize ;
2402 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2403 int arg6 = (int) 0 ;
2404 wxString *arg7 = (wxString *) NULL ;
2405 long arg8 = (long) 0 ;
2406 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2407 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2408 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2409 wxString *arg10 = (wxString *) &arg10_defvalue ;
2410 wxComboBox *result;
2411 bool temp3 = False ;
2412 wxPoint temp4 ;
2413 wxSize temp5 ;
2414 bool temp9 = False ;
2415 PyObject * obj0 = 0 ;
2416 PyObject * obj2 = 0 ;
2417 PyObject * obj3 = 0 ;
2418 PyObject * obj4 = 0 ;
2419 PyObject * obj5 = 0 ;
2420 PyObject * obj7 = 0 ;
2421 PyObject * obj8 = 0 ;
2422 char *kwnames[] = {
2423 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2424 };
2425
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2428 if (obj2) {
2429 {
2430 arg3 = wxString_in_helper(obj2);
2431 if (arg3 == NULL) SWIG_fail;
2432 temp3 = True;
2433 }
2434 }
2435 if (obj3) {
2436 {
2437 arg4 = &temp4;
2438 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2439 }
2440 }
2441 if (obj4) {
2442 {
2443 arg5 = &temp5;
2444 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2445 }
2446 }
2447 if (obj5) {
2448 {
2449 arg6 = PyList_Size(obj5);
2450 arg7 = wxString_LIST_helper(obj5);
2451 if (arg7 == NULL) SWIG_fail;
2452 }
2453 }
2454 if (obj7) {
2455 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 if (arg9 == NULL) {
2457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2458 }
2459 }
2460 if (obj8) {
2461 {
2462 arg10 = wxString_in_helper(obj8);
2463 if (arg10 == NULL) SWIG_fail;
2464 temp9 = True;
2465 }
2466 }
2467 {
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
2474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2475 {
2476 if (temp3)
2477 delete arg3;
2478 }
2479 {
2480 if (arg7) delete [] arg7;
2481 }
2482 {
2483 if (temp9)
2484 delete arg10;
2485 }
2486 return resultobj;
2487 fail:
2488 {
2489 if (temp3)
2490 delete arg3;
2491 }
2492 {
2493 if (arg7) delete [] arg7;
2494 }
2495 {
2496 if (temp9)
2497 delete arg10;
2498 }
2499 return NULL;
2500 }
2501
2502
2503 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject *resultobj;
2505 wxComboBox *result;
2506 char *kwnames[] = {
2507 NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 result = (wxComboBox *)new wxComboBox();
2514
2515 wxPyEndAllowThreads(__tstate);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2519 return resultobj;
2520 fail:
2521 return NULL;
2522 }
2523
2524
2525 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2526 PyObject *resultobj;
2527 wxComboBox *arg1 = (wxComboBox *) 0 ;
2528 wxWindow *arg2 = (wxWindow *) 0 ;
2529 int arg3 ;
2530 wxString const &arg4_defvalue = wxPyEmptyString ;
2531 wxString *arg4 = (wxString *) &arg4_defvalue ;
2532 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2533 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2534 wxSize const &arg6_defvalue = wxDefaultSize ;
2535 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2536 int arg7 = (int) 0 ;
2537 wxString *arg8 = (wxString *) NULL ;
2538 long arg9 = (long) 0 ;
2539 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2540 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2541 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2542 wxString *arg11 = (wxString *) &arg11_defvalue ;
2543 bool result;
2544 bool temp4 = False ;
2545 wxPoint temp5 ;
2546 wxSize temp6 ;
2547 bool temp10 = False ;
2548 PyObject * obj0 = 0 ;
2549 PyObject * obj1 = 0 ;
2550 PyObject * obj3 = 0 ;
2551 PyObject * obj4 = 0 ;
2552 PyObject * obj5 = 0 ;
2553 PyObject * obj6 = 0 ;
2554 PyObject * obj8 = 0 ;
2555 PyObject * obj9 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2563 if (obj3) {
2564 {
2565 arg4 = wxString_in_helper(obj3);
2566 if (arg4 == NULL) SWIG_fail;
2567 temp4 = True;
2568 }
2569 }
2570 if (obj4) {
2571 {
2572 arg5 = &temp5;
2573 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2574 }
2575 }
2576 if (obj5) {
2577 {
2578 arg6 = &temp6;
2579 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2580 }
2581 }
2582 if (obj6) {
2583 {
2584 arg7 = PyList_Size(obj6);
2585 arg8 = wxString_LIST_helper(obj6);
2586 if (arg8 == NULL) SWIG_fail;
2587 }
2588 }
2589 if (obj8) {
2590 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2591 if (arg10 == NULL) {
2592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2593 }
2594 }
2595 if (obj9) {
2596 {
2597 arg11 = wxString_in_helper(obj9);
2598 if (arg11 == NULL) SWIG_fail;
2599 temp10 = True;
2600 }
2601 }
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 resultobj = PyInt_FromLong((long)result);
2610 {
2611 if (temp4)
2612 delete arg4;
2613 }
2614 {
2615 if (arg8) delete [] arg8;
2616 }
2617 {
2618 if (temp10)
2619 delete arg11;
2620 }
2621 return resultobj;
2622 fail:
2623 {
2624 if (temp4)
2625 delete arg4;
2626 }
2627 {
2628 if (arg8) delete [] arg8;
2629 }
2630 {
2631 if (temp10)
2632 delete arg11;
2633 }
2634 return NULL;
2635 }
2636
2637
2638 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxComboBox *arg1 = (wxComboBox *) 0 ;
2641 wxString result;
2642 PyObject * obj0 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 result = ((wxComboBox const *)arg1)->GetValue();
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 {
2657 #if wxUSE_UNICODE
2658 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2659 #else
2660 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2661 #endif
2662 }
2663 return resultobj;
2664 fail:
2665 return NULL;
2666 }
2667
2668
2669 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj;
2671 wxComboBox *arg1 = (wxComboBox *) 0 ;
2672 wxString *arg2 = 0 ;
2673 bool temp2 = False ;
2674 PyObject * obj0 = 0 ;
2675 PyObject * obj1 = 0 ;
2676 char *kwnames[] = {
2677 (char *) "self",(char *) "value", NULL
2678 };
2679
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2682 {
2683 arg2 = wxString_in_helper(obj1);
2684 if (arg2 == NULL) SWIG_fail;
2685 temp2 = True;
2686 }
2687 {
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 (arg1)->SetValue((wxString const &)*arg2);
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 Py_INCREF(Py_None); resultobj = Py_None;
2695 {
2696 if (temp2)
2697 delete arg2;
2698 }
2699 return resultobj;
2700 fail:
2701 {
2702 if (temp2)
2703 delete arg2;
2704 }
2705 return NULL;
2706 }
2707
2708
2709 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2710 PyObject *resultobj;
2711 wxComboBox *arg1 = (wxComboBox *) 0 ;
2712 PyObject * obj0 = 0 ;
2713 char *kwnames[] = {
2714 (char *) "self", NULL
2715 };
2716
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->Copy();
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxComboBox *arg1 = (wxComboBox *) 0 ;
2736 PyObject * obj0 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 (arg1)->Cut();
2746
2747 wxPyEndAllowThreads(__tstate);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 Py_INCREF(Py_None); resultobj = Py_None;
2751 return resultobj;
2752 fail:
2753 return NULL;
2754 }
2755
2756
2757 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj;
2759 wxComboBox *arg1 = (wxComboBox *) 0 ;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 (arg1)->Paste();
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 Py_INCREF(Py_None); resultobj = Py_None;
2775 return resultobj;
2776 fail:
2777 return NULL;
2778 }
2779
2780
2781 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxComboBox *arg1 = (wxComboBox *) 0 ;
2784 long arg2 ;
2785 PyObject * obj0 = 0 ;
2786 char *kwnames[] = {
2787 (char *) "self",(char *) "pos", NULL
2788 };
2789
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2792 {
2793 PyThreadState* __tstate = wxPyBeginAllowThreads();
2794 (arg1)->SetInsertionPoint(arg2);
2795
2796 wxPyEndAllowThreads(__tstate);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 Py_INCREF(Py_None); resultobj = Py_None;
2800 return resultobj;
2801 fail:
2802 return NULL;
2803 }
2804
2805
2806 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 wxComboBox *arg1 = (wxComboBox *) 0 ;
2809 long result;
2810 PyObject * obj0 = 0 ;
2811 char *kwnames[] = {
2812 (char *) "self", NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 resultobj = PyInt_FromLong((long)result);
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxComboBox *arg1 = (wxComboBox *) 0 ;
2834 long result;
2835 PyObject * obj0 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 resultobj = PyInt_FromLong((long)result);
2850 return resultobj;
2851 fail:
2852 return NULL;
2853 }
2854
2855
2856 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject *resultobj;
2858 wxComboBox *arg1 = (wxComboBox *) 0 ;
2859 long arg2 ;
2860 long arg3 ;
2861 wxString *arg4 = 0 ;
2862 bool temp4 = False ;
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj3 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2871 {
2872 arg4 = wxString_in_helper(obj3);
2873 if (arg4 == NULL) SWIG_fail;
2874 temp4 = True;
2875 }
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 Py_INCREF(Py_None); resultobj = Py_None;
2884 {
2885 if (temp4)
2886 delete arg4;
2887 }
2888 return resultobj;
2889 fail:
2890 {
2891 if (temp4)
2892 delete arg4;
2893 }
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxComboBox *arg1 = (wxComboBox *) 0 ;
2901 int arg2 ;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self",(char *) "n", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 (arg1)->SetSelection(arg2);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 Py_INCREF(Py_None); resultobj = Py_None;
2917 return resultobj;
2918 fail:
2919 return NULL;
2920 }
2921
2922
2923 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxComboBox *arg1 = (wxComboBox *) 0 ;
2926 long arg2 ;
2927 long arg3 ;
2928 PyObject * obj0 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self",(char *) "from",(char *) "to", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 (arg1)->SetSelection(arg2,arg3);
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 return resultobj;
2944 fail:
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxComboBox *arg1 = (wxComboBox *) 0 ;
2952 bool arg2 ;
2953 PyObject * obj0 = 0 ;
2954 PyObject * obj1 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "editable", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 arg2 = PyInt_AsLong(obj1) ? true : false;
2962 if (PyErr_Occurred()) SWIG_fail;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 (arg1)->SetEditable(arg2);
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
2970 Py_INCREF(Py_None); resultobj = Py_None;
2971 return resultobj;
2972 fail:
2973 return NULL;
2974 }
2975
2976
2977 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2978 PyObject *resultobj;
2979 wxComboBox *arg1 = (wxComboBox *) 0 ;
2980 PyObject * obj0 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 (arg1)->SetInsertionPointEnd();
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 Py_INCREF(Py_None); resultobj = Py_None;
2995 return resultobj;
2996 fail:
2997 return NULL;
2998 }
2999
3000
3001 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxComboBox *arg1 = (wxComboBox *) 0 ;
3004 long arg2 ;
3005 long arg3 ;
3006 PyObject * obj0 = 0 ;
3007 char *kwnames[] = {
3008 (char *) "self",(char *) "from",(char *) "to", NULL
3009 };
3010
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 (arg1)->Remove(arg2,arg3);
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 Py_INCREF(Py_None); resultobj = Py_None;
3021 return resultobj;
3022 fail:
3023 return NULL;
3024 }
3025
3026
3027 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3028 PyObject *obj;
3029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3030 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3031 Py_INCREF(obj);
3032 return Py_BuildValue((char *)"");
3033 }
3034 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3035 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3036 return 1;
3037 }
3038
3039
3040 static PyObject *_wrap_GaugeNameStr_get() {
3041 PyObject *pyobj;
3042
3043 {
3044 #if wxUSE_UNICODE
3045 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3046 #else
3047 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3048 #endif
3049 }
3050 return pyobj;
3051 }
3052
3053
3054 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3055 PyObject *resultobj;
3056 wxWindow *arg1 = (wxWindow *) 0 ;
3057 int arg2 ;
3058 int arg3 ;
3059 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3060 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3061 wxSize const &arg5_defvalue = wxDefaultSize ;
3062 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3063 long arg6 = (long) wxGA_HORIZONTAL ;
3064 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3065 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3066 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3067 wxString *arg8 = (wxString *) &arg8_defvalue ;
3068 wxGauge *result;
3069 wxPoint temp4 ;
3070 wxSize temp5 ;
3071 bool temp8 = False ;
3072 PyObject * obj0 = 0 ;
3073 PyObject * obj3 = 0 ;
3074 PyObject * obj4 = 0 ;
3075 PyObject * obj6 = 0 ;
3076 PyObject * obj7 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3083 if (obj3) {
3084 {
3085 arg4 = &temp4;
3086 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3087 }
3088 }
3089 if (obj4) {
3090 {
3091 arg5 = &temp5;
3092 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3093 }
3094 }
3095 if (obj6) {
3096 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 if (arg7 == NULL) {
3098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3099 }
3100 }
3101 if (obj7) {
3102 {
3103 arg8 = wxString_in_helper(obj7);
3104 if (arg8 == NULL) SWIG_fail;
3105 temp8 = True;
3106 }
3107 }
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3116 {
3117 if (temp8)
3118 delete arg8;
3119 }
3120 return resultobj;
3121 fail:
3122 {
3123 if (temp8)
3124 delete arg8;
3125 }
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxGauge *result;
3133 char *kwnames[] = {
3134 NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (wxGauge *)new wxGauge();
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxGauge *arg1 = (wxGauge *) 0 ;
3155 wxWindow *arg2 = (wxWindow *) 0 ;
3156 int arg3 ;
3157 int arg4 ;
3158 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3159 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3160 wxSize const &arg6_defvalue = wxDefaultSize ;
3161 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3162 long arg7 = (long) wxGA_HORIZONTAL ;
3163 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3164 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3165 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3166 wxString *arg9 = (wxString *) &arg9_defvalue ;
3167 bool result;
3168 wxPoint temp5 ;
3169 wxSize temp6 ;
3170 bool temp9 = False ;
3171 PyObject * obj0 = 0 ;
3172 PyObject * obj1 = 0 ;
3173 PyObject * obj4 = 0 ;
3174 PyObject * obj5 = 0 ;
3175 PyObject * obj7 = 0 ;
3176 PyObject * obj8 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3184 if (obj4) {
3185 {
3186 arg5 = &temp5;
3187 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3188 }
3189 }
3190 if (obj5) {
3191 {
3192 arg6 = &temp6;
3193 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3194 }
3195 }
3196 if (obj7) {
3197 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 if (arg8 == NULL) {
3199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3200 }
3201 }
3202 if (obj8) {
3203 {
3204 arg9 = wxString_in_helper(obj8);
3205 if (arg9 == NULL) SWIG_fail;
3206 temp9 = True;
3207 }
3208 }
3209 {
3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
3211 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3212
3213 wxPyEndAllowThreads(__tstate);
3214 if (PyErr_Occurred()) SWIG_fail;
3215 }
3216 resultobj = PyInt_FromLong((long)result);
3217 {
3218 if (temp9)
3219 delete arg9;
3220 }
3221 return resultobj;
3222 fail:
3223 {
3224 if (temp9)
3225 delete arg9;
3226 }
3227 return NULL;
3228 }
3229
3230
3231 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 wxGauge *arg1 = (wxGauge *) 0 ;
3234 int arg2 ;
3235 PyObject * obj0 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self",(char *) "range", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 (arg1)->SetRange(arg2);
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 Py_INCREF(Py_None); resultobj = Py_None;
3250 return resultobj;
3251 fail:
3252 return NULL;
3253 }
3254
3255
3256 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj;
3258 wxGauge *arg1 = (wxGauge *) 0 ;
3259 int result;
3260 PyObject * obj0 = 0 ;
3261 char *kwnames[] = {
3262 (char *) "self", NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3267 {
3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
3269 result = (int)((wxGauge const *)arg1)->GetRange();
3270
3271 wxPyEndAllowThreads(__tstate);
3272 if (PyErr_Occurred()) SWIG_fail;
3273 }
3274 resultobj = PyInt_FromLong((long)result);
3275 return resultobj;
3276 fail:
3277 return NULL;
3278 }
3279
3280
3281 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj;
3283 wxGauge *arg1 = (wxGauge *) 0 ;
3284 int arg2 ;
3285 PyObject * obj0 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "pos", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 (arg1)->SetValue(arg2);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxGauge *arg1 = (wxGauge *) 0 ;
3309 int result;
3310 PyObject * obj0 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = (int)((wxGauge const *)arg1)->GetValue();
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 resultobj = PyInt_FromLong((long)result);
3325 return resultobj;
3326 fail:
3327 return NULL;
3328 }
3329
3330
3331 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxGauge *arg1 = (wxGauge *) 0 ;
3334 bool result;
3335 PyObject * obj0 = 0 ;
3336 char *kwnames[] = {
3337 (char *) "self", NULL
3338 };
3339
3340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 result = (bool)((wxGauge const *)arg1)->IsVertical();
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 resultobj = PyInt_FromLong((long)result);
3350 return resultobj;
3351 fail:
3352 return NULL;
3353 }
3354
3355
3356 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 wxGauge *arg1 = (wxGauge *) 0 ;
3359 int arg2 ;
3360 PyObject * obj0 = 0 ;
3361 char *kwnames[] = {
3362 (char *) "self",(char *) "w", NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3367 {
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 (arg1)->SetShadowWidth(arg2);
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 Py_INCREF(Py_None); resultobj = Py_None;
3375 return resultobj;
3376 fail:
3377 return NULL;
3378 }
3379
3380
3381 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3382 PyObject *resultobj;
3383 wxGauge *arg1 = (wxGauge *) 0 ;
3384 int result;
3385 PyObject * obj0 = 0 ;
3386 char *kwnames[] = {
3387 (char *) "self", NULL
3388 };
3389
3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 resultobj = PyInt_FromLong((long)result);
3400 return resultobj;
3401 fail:
3402 return NULL;
3403 }
3404
3405
3406 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject *resultobj;
3408 wxGauge *arg1 = (wxGauge *) 0 ;
3409 int arg2 ;
3410 PyObject * obj0 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "w", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetBezelFace(arg2);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxGauge *arg1 = (wxGauge *) 0 ;
3434 int result;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 resultobj = PyInt_FromLong((long)result);
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3457 PyObject *obj;
3458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3459 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3460 Py_INCREF(obj);
3461 return Py_BuildValue((char *)"");
3462 }
3463 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3464 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3465 return 1;
3466 }
3467
3468
3469 static PyObject *_wrap_StaticBitmapNameStr_get() {
3470 PyObject *pyobj;
3471
3472 {
3473 #if wxUSE_UNICODE
3474 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3475 #else
3476 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3477 #endif
3478 }
3479 return pyobj;
3480 }
3481
3482
3483 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3484 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3485 return 1;
3486 }
3487
3488
3489 static PyObject *_wrap_StaticBoxNameStr_get() {
3490 PyObject *pyobj;
3491
3492 {
3493 #if wxUSE_UNICODE
3494 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3495 #else
3496 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3497 #endif
3498 }
3499 return pyobj;
3500 }
3501
3502
3503 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3504 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3505 return 1;
3506 }
3507
3508
3509 static PyObject *_wrap_StaticTextNameStr_get() {
3510 PyObject *pyobj;
3511
3512 {
3513 #if wxUSE_UNICODE
3514 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3515 #else
3516 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3517 #endif
3518 }
3519 return pyobj;
3520 }
3521
3522
3523 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3524 PyObject *resultobj;
3525 wxWindow *arg1 = (wxWindow *) 0 ;
3526 int arg2 ;
3527 wxString *arg3 = 0 ;
3528 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3529 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3530 wxSize const &arg5_defvalue = wxDefaultSize ;
3531 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3532 long arg6 = (long) 0 ;
3533 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3534 wxString *arg7 = (wxString *) &arg7_defvalue ;
3535 wxStaticBox *result;
3536 bool temp3 = False ;
3537 wxPoint temp4 ;
3538 wxSize temp5 ;
3539 bool temp7 = False ;
3540 PyObject * obj0 = 0 ;
3541 PyObject * obj2 = 0 ;
3542 PyObject * obj3 = 0 ;
3543 PyObject * obj4 = 0 ;
3544 PyObject * obj6 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3551 {
3552 arg3 = wxString_in_helper(obj2);
3553 if (arg3 == NULL) SWIG_fail;
3554 temp3 = True;
3555 }
3556 if (obj3) {
3557 {
3558 arg4 = &temp4;
3559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3560 }
3561 }
3562 if (obj4) {
3563 {
3564 arg5 = &temp5;
3565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3566 }
3567 }
3568 if (obj6) {
3569 {
3570 arg7 = wxString_in_helper(obj6);
3571 if (arg7 == NULL) SWIG_fail;
3572 temp7 = True;
3573 }
3574 }
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 {
3583 resultobj = wxPyMake_wxObject(result);
3584 }
3585 {
3586 if (temp3)
3587 delete arg3;
3588 }
3589 {
3590 if (temp7)
3591 delete arg7;
3592 }
3593 return resultobj;
3594 fail:
3595 {
3596 if (temp3)
3597 delete arg3;
3598 }
3599 {
3600 if (temp7)
3601 delete arg7;
3602 }
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxStaticBox *result;
3610 char *kwnames[] = {
3611 NULL
3612 };
3613
3614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (wxStaticBox *)new wxStaticBox();
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 {
3623 resultobj = wxPyMake_wxObject(result);
3624 }
3625 return resultobj;
3626 fail:
3627 return NULL;
3628 }
3629
3630
3631 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3634 wxWindow *arg2 = (wxWindow *) 0 ;
3635 int arg3 ;
3636 wxString *arg4 = 0 ;
3637 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3638 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3639 wxSize const &arg6_defvalue = wxDefaultSize ;
3640 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3641 long arg7 = (long) 0 ;
3642 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3643 wxString *arg8 = (wxString *) &arg8_defvalue ;
3644 bool result;
3645 bool temp4 = False ;
3646 wxPoint temp5 ;
3647 wxSize temp6 ;
3648 bool temp8 = False ;
3649 PyObject * obj0 = 0 ;
3650 PyObject * obj1 = 0 ;
3651 PyObject * obj3 = 0 ;
3652 PyObject * obj4 = 0 ;
3653 PyObject * obj5 = 0 ;
3654 PyObject * obj7 = 0 ;
3655 char *kwnames[] = {
3656 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3657 };
3658
3659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3662 {
3663 arg4 = wxString_in_helper(obj3);
3664 if (arg4 == NULL) SWIG_fail;
3665 temp4 = True;
3666 }
3667 if (obj4) {
3668 {
3669 arg5 = &temp5;
3670 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3671 }
3672 }
3673 if (obj5) {
3674 {
3675 arg6 = &temp6;
3676 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3677 }
3678 }
3679 if (obj7) {
3680 {
3681 arg8 = wxString_in_helper(obj7);
3682 if (arg8 == NULL) SWIG_fail;
3683 temp8 = True;
3684 }
3685 }
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 resultobj = PyInt_FromLong((long)result);
3694 {
3695 if (temp4)
3696 delete arg4;
3697 }
3698 {
3699 if (temp8)
3700 delete arg8;
3701 }
3702 return resultobj;
3703 fail:
3704 {
3705 if (temp4)
3706 delete arg4;
3707 }
3708 {
3709 if (temp8)
3710 delete arg8;
3711 }
3712 return NULL;
3713 }
3714
3715
3716 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3717 PyObject *obj;
3718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3719 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3720 Py_INCREF(obj);
3721 return Py_BuildValue((char *)"");
3722 }
3723 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3724 PyObject *resultobj;
3725 wxWindow *arg1 = (wxWindow *) 0 ;
3726 int arg2 ;
3727 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3728 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3729 wxSize const &arg4_defvalue = wxDefaultSize ;
3730 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3731 long arg5 = (long) wxLI_HORIZONTAL ;
3732 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3733 wxString *arg6 = (wxString *) &arg6_defvalue ;
3734 wxStaticLine *result;
3735 wxPoint temp3 ;
3736 wxSize temp4 ;
3737 bool temp6 = False ;
3738 PyObject * obj0 = 0 ;
3739 PyObject * obj2 = 0 ;
3740 PyObject * obj3 = 0 ;
3741 PyObject * obj5 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3748 if (obj2) {
3749 {
3750 arg3 = &temp3;
3751 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3752 }
3753 }
3754 if (obj3) {
3755 {
3756 arg4 = &temp4;
3757 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3758 }
3759 }
3760 if (obj5) {
3761 {
3762 arg6 = wxString_in_helper(obj5);
3763 if (arg6 == NULL) SWIG_fail;
3764 temp6 = True;
3765 }
3766 }
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3775 {
3776 if (temp6)
3777 delete arg6;
3778 }
3779 return resultobj;
3780 fail:
3781 {
3782 if (temp6)
3783 delete arg6;
3784 }
3785 return NULL;
3786 }
3787
3788
3789 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject *resultobj;
3791 wxStaticLine *result;
3792 char *kwnames[] = {
3793 NULL
3794 };
3795
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (wxStaticLine *)new wxStaticLine();
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3805 return resultobj;
3806 fail:
3807 return NULL;
3808 }
3809
3810
3811 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3814 wxWindow *arg2 = (wxWindow *) 0 ;
3815 int arg3 ;
3816 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3817 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3818 wxSize const &arg5_defvalue = wxDefaultSize ;
3819 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3820 long arg6 = (long) wxLI_HORIZONTAL ;
3821 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3822 wxString *arg7 = (wxString *) &arg7_defvalue ;
3823 bool result;
3824 wxPoint temp4 ;
3825 wxSize temp5 ;
3826 bool temp7 = False ;
3827 PyObject * obj0 = 0 ;
3828 PyObject * obj1 = 0 ;
3829 PyObject * obj3 = 0 ;
3830 PyObject * obj4 = 0 ;
3831 PyObject * obj6 = 0 ;
3832 char *kwnames[] = {
3833 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3834 };
3835
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3839 if (obj3) {
3840 {
3841 arg4 = &temp4;
3842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3843 }
3844 }
3845 if (obj4) {
3846 {
3847 arg5 = &temp5;
3848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3849 }
3850 }
3851 if (obj6) {
3852 {
3853 arg7 = wxString_in_helper(obj6);
3854 if (arg7 == NULL) SWIG_fail;
3855 temp7 = True;
3856 }
3857 }
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 resultobj = PyInt_FromLong((long)result);
3866 {
3867 if (temp7)
3868 delete arg7;
3869 }
3870 return resultobj;
3871 fail:
3872 {
3873 if (temp7)
3874 delete arg7;
3875 }
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3883 bool result;
3884 PyObject * obj0 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 resultobj = PyInt_FromLong((long)result);
3899 return resultobj;
3900 fail:
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 int result;
3908 char *kwnames[] = {
3909 NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = (int)wxStaticLine::GetDefaultSize();
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 resultobj = PyInt_FromLong((long)result);
3921 return resultobj;
3922 fail:
3923 return NULL;
3924 }
3925
3926
3927 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3928 PyObject *obj;
3929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3931 Py_INCREF(obj);
3932 return Py_BuildValue((char *)"");
3933 }
3934 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxWindow *arg1 = (wxWindow *) 0 ;
3937 int arg2 ;
3938 wxString *arg3 = 0 ;
3939 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3940 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3941 wxSize const &arg5_defvalue = wxDefaultSize ;
3942 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3943 long arg6 = (long) 0 ;
3944 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3945 wxString *arg7 = (wxString *) &arg7_defvalue ;
3946 wxStaticText *result;
3947 bool temp3 = False ;
3948 wxPoint temp4 ;
3949 wxSize temp5 ;
3950 bool temp7 = False ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj2 = 0 ;
3953 PyObject * obj3 = 0 ;
3954 PyObject * obj4 = 0 ;
3955 PyObject * obj6 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3962 {
3963 arg3 = wxString_in_helper(obj2);
3964 if (arg3 == NULL) SWIG_fail;
3965 temp3 = True;
3966 }
3967 if (obj3) {
3968 {
3969 arg4 = &temp4;
3970 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3971 }
3972 }
3973 if (obj4) {
3974 {
3975 arg5 = &temp5;
3976 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3977 }
3978 }
3979 if (obj6) {
3980 {
3981 arg7 = wxString_in_helper(obj6);
3982 if (arg7 == NULL) SWIG_fail;
3983 temp7 = True;
3984 }
3985 }
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3989
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3994 {
3995 if (temp3)
3996 delete arg3;
3997 }
3998 {
3999 if (temp7)
4000 delete arg7;
4001 }
4002 return resultobj;
4003 fail:
4004 {
4005 if (temp3)
4006 delete arg3;
4007 }
4008 {
4009 if (temp7)
4010 delete arg7;
4011 }
4012 return NULL;
4013 }
4014
4015
4016 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxStaticText *result;
4019 char *kwnames[] = {
4020 NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (wxStaticText *)new wxStaticText();
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxStaticText *arg1 = (wxStaticText *) 0 ;
4041 wxWindow *arg2 = (wxWindow *) 0 ;
4042 int arg3 ;
4043 wxString *arg4 = 0 ;
4044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4046 wxSize const &arg6_defvalue = wxDefaultSize ;
4047 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4048 long arg7 = (long) 0 ;
4049 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4050 wxString *arg8 = (wxString *) &arg8_defvalue ;
4051 bool result;
4052 bool temp4 = False ;
4053 wxPoint temp5 ;
4054 wxSize temp6 ;
4055 bool temp8 = False ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 PyObject * obj5 = 0 ;
4061 PyObject * obj7 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4069 {
4070 arg4 = wxString_in_helper(obj3);
4071 if (arg4 == NULL) SWIG_fail;
4072 temp4 = True;
4073 }
4074 if (obj4) {
4075 {
4076 arg5 = &temp5;
4077 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4078 }
4079 }
4080 if (obj5) {
4081 {
4082 arg6 = &temp6;
4083 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4084 }
4085 }
4086 if (obj7) {
4087 {
4088 arg8 = wxString_in_helper(obj7);
4089 if (arg8 == NULL) SWIG_fail;
4090 temp8 = True;
4091 }
4092 }
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = PyInt_FromLong((long)result);
4101 {
4102 if (temp4)
4103 delete arg4;
4104 }
4105 {
4106 if (temp8)
4107 delete arg8;
4108 }
4109 return resultobj;
4110 fail:
4111 {
4112 if (temp4)
4113 delete arg4;
4114 }
4115 {
4116 if (temp8)
4117 delete arg8;
4118 }
4119 return NULL;
4120 }
4121
4122
4123 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4124 PyObject *obj;
4125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4126 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4127 Py_INCREF(obj);
4128 return Py_BuildValue((char *)"");
4129 }
4130 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxWindow *arg1 = (wxWindow *) 0 ;
4133 int arg2 ;
4134 wxBitmap *arg3 = 0 ;
4135 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4136 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4137 wxSize const &arg5_defvalue = wxDefaultSize ;
4138 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4139 long arg6 = (long) 0 ;
4140 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4141 wxString *arg7 = (wxString *) &arg7_defvalue ;
4142 wxStaticBitmap *result;
4143 wxPoint temp4 ;
4144 wxSize temp5 ;
4145 bool temp7 = False ;
4146 PyObject * obj0 = 0 ;
4147 PyObject * obj2 = 0 ;
4148 PyObject * obj3 = 0 ;
4149 PyObject * obj4 = 0 ;
4150 PyObject * obj6 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4157 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4158 if (arg3 == NULL) {
4159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4160 }
4161 if (obj3) {
4162 {
4163 arg4 = &temp4;
4164 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4165 }
4166 }
4167 if (obj4) {
4168 {
4169 arg5 = &temp5;
4170 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4171 }
4172 }
4173 if (obj6) {
4174 {
4175 arg7 = wxString_in_helper(obj6);
4176 if (arg7 == NULL) SWIG_fail;
4177 temp7 = True;
4178 }
4179 }
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4183
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4188 {
4189 if (temp7)
4190 delete arg7;
4191 }
4192 return resultobj;
4193 fail:
4194 {
4195 if (temp7)
4196 delete arg7;
4197 }
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxStaticBitmap *result;
4205 char *kwnames[] = {
4206 NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4210 {
4211 PyThreadState* __tstate = wxPyBeginAllowThreads();
4212 result = (wxStaticBitmap *)new wxStaticBitmap();
4213
4214 wxPyEndAllowThreads(__tstate);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 }
4217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4218 return resultobj;
4219 fail:
4220 return NULL;
4221 }
4222
4223
4224 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject *resultobj;
4226 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4227 wxWindow *arg2 = (wxWindow *) 0 ;
4228 int arg3 ;
4229 wxBitmap *arg4 = 0 ;
4230 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4231 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4232 wxSize const &arg6_defvalue = wxDefaultSize ;
4233 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4234 long arg7 = (long) 0 ;
4235 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4236 wxString *arg8 = (wxString *) &arg8_defvalue ;
4237 bool result;
4238 wxPoint temp5 ;
4239 wxSize temp6 ;
4240 bool temp8 = False ;
4241 PyObject * obj0 = 0 ;
4242 PyObject * obj1 = 0 ;
4243 PyObject * obj3 = 0 ;
4244 PyObject * obj4 = 0 ;
4245 PyObject * obj5 = 0 ;
4246 PyObject * obj7 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4254 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4255 if (arg4 == NULL) {
4256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4257 }
4258 if (obj4) {
4259 {
4260 arg5 = &temp5;
4261 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4262 }
4263 }
4264 if (obj5) {
4265 {
4266 arg6 = &temp6;
4267 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4268 }
4269 }
4270 if (obj7) {
4271 {
4272 arg8 = wxString_in_helper(obj7);
4273 if (arg8 == NULL) SWIG_fail;
4274 temp8 = True;
4275 }
4276 }
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 resultobj = PyInt_FromLong((long)result);
4285 {
4286 if (temp8)
4287 delete arg8;
4288 }
4289 return resultobj;
4290 fail:
4291 {
4292 if (temp8)
4293 delete arg8;
4294 }
4295 return NULL;
4296 }
4297
4298
4299 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4300 PyObject *resultobj;
4301 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4302 wxBitmap result;
4303 PyObject * obj0 = 0 ;
4304 char *kwnames[] = {
4305 (char *) "self", NULL
4306 };
4307
4308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (arg1)->GetBitmap();
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 wxBitmap * resultptr;
4319 resultptr = new wxBitmap((wxBitmap &) result);
4320 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4321 }
4322 return resultobj;
4323 fail:
4324 return NULL;
4325 }
4326
4327
4328 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj;
4330 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4331 wxBitmap *arg2 = 0 ;
4332 PyObject * obj0 = 0 ;
4333 PyObject * obj1 = 0 ;
4334 char *kwnames[] = {
4335 (char *) "self",(char *) "bitmap", NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4341 if (arg2 == NULL) {
4342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4343 }
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 Py_INCREF(Py_None); resultobj = Py_None;
4352 return resultobj;
4353 fail:
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4361 wxIcon *arg2 = 0 ;
4362 PyObject * obj0 = 0 ;
4363 PyObject * obj1 = 0 ;
4364 char *kwnames[] = {
4365 (char *) "self",(char *) "icon", NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4371 if (arg2 == NULL) {
4372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 (arg1)->SetIcon((wxIcon const &)*arg2);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 Py_INCREF(Py_None); resultobj = Py_None;
4382 return resultobj;
4383 fail:
4384 return NULL;
4385 }
4386
4387
4388 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4389 PyObject *obj;
4390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4391 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4392 Py_INCREF(obj);
4393 return Py_BuildValue((char *)"");
4394 }
4395 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4396 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4397 return 1;
4398 }
4399
4400
4401 static PyObject *_wrap_ListBoxNameStr_get() {
4402 PyObject *pyobj;
4403
4404 {
4405 #if wxUSE_UNICODE
4406 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4407 #else
4408 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4409 #endif
4410 }
4411 return pyobj;
4412 }
4413
4414
4415 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj;
4417 wxWindow *arg1 = (wxWindow *) 0 ;
4418 int arg2 ;
4419 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4420 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4421 wxSize const &arg4_defvalue = wxDefaultSize ;
4422 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4423 int arg5 = (int) 0 ;
4424 wxString *arg6 = (wxString *) NULL ;
4425 long arg7 = (long) 0 ;
4426 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4427 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4428 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4429 wxString *arg9 = (wxString *) &arg9_defvalue ;
4430 wxListBox *result;
4431 wxPoint temp3 ;
4432 wxSize temp4 ;
4433 bool temp8 = False ;
4434 PyObject * obj0 = 0 ;
4435 PyObject * obj2 = 0 ;
4436 PyObject * obj3 = 0 ;
4437 PyObject * obj4 = 0 ;
4438 PyObject * obj6 = 0 ;
4439 PyObject * obj7 = 0 ;
4440 char *kwnames[] = {
4441 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 if (obj2) {
4447 {
4448 arg3 = &temp3;
4449 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4450 }
4451 }
4452 if (obj3) {
4453 {
4454 arg4 = &temp4;
4455 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4456 }
4457 }
4458 if (obj4) {
4459 {
4460 arg5 = PyList_Size(obj4);
4461 arg6 = wxString_LIST_helper(obj4);
4462 if (arg6 == NULL) SWIG_fail;
4463 }
4464 }
4465 if (obj6) {
4466 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4467 if (arg8 == NULL) {
4468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4469 }
4470 }
4471 if (obj7) {
4472 {
4473 arg9 = wxString_in_helper(obj7);
4474 if (arg9 == NULL) SWIG_fail;
4475 temp8 = True;
4476 }
4477 }
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4486 {
4487 if (arg6) delete [] arg6;
4488 }
4489 {
4490 if (temp8)
4491 delete arg9;
4492 }
4493 return resultobj;
4494 fail:
4495 {
4496 if (arg6) delete [] arg6;
4497 }
4498 {
4499 if (temp8)
4500 delete arg9;
4501 }
4502 return NULL;
4503 }
4504
4505
4506 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj;
4508 wxListBox *result;
4509 char *kwnames[] = {
4510 NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (wxListBox *)new wxListBox();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxListBox *arg1 = (wxListBox *) 0 ;
4531 wxWindow *arg2 = (wxWindow *) 0 ;
4532 int arg3 ;
4533 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4534 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4535 wxSize const &arg5_defvalue = wxDefaultSize ;
4536 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4537 int arg6 = (int) 0 ;
4538 wxString *arg7 = (wxString *) NULL ;
4539 long arg8 = (long) 0 ;
4540 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4541 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4542 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4543 wxString *arg10 = (wxString *) &arg10_defvalue ;
4544 bool result;
4545 wxPoint temp4 ;
4546 wxSize temp5 ;
4547 bool temp9 = False ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 PyObject * obj3 = 0 ;
4551 PyObject * obj4 = 0 ;
4552 PyObject * obj5 = 0 ;
4553 PyObject * obj7 = 0 ;
4554 PyObject * obj8 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4562 if (obj3) {
4563 {
4564 arg4 = &temp4;
4565 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4566 }
4567 }
4568 if (obj4) {
4569 {
4570 arg5 = &temp5;
4571 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4572 }
4573 }
4574 if (obj5) {
4575 {
4576 arg6 = PyList_Size(obj5);
4577 arg7 = wxString_LIST_helper(obj5);
4578 if (arg7 == NULL) SWIG_fail;
4579 }
4580 }
4581 if (obj7) {
4582 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4583 if (arg9 == NULL) {
4584 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4585 }
4586 }
4587 if (obj8) {
4588 {
4589 arg10 = wxString_in_helper(obj8);
4590 if (arg10 == NULL) SWIG_fail;
4591 temp9 = True;
4592 }
4593 }
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 resultobj = PyInt_FromLong((long)result);
4602 {
4603 if (arg7) delete [] arg7;
4604 }
4605 {
4606 if (temp9)
4607 delete arg10;
4608 }
4609 return resultobj;
4610 fail:
4611 {
4612 if (arg7) delete [] arg7;
4613 }
4614 {
4615 if (temp9)
4616 delete arg10;
4617 }
4618 return NULL;
4619 }
4620
4621
4622 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxListBox *arg1 = (wxListBox *) 0 ;
4625 wxString *arg2 = 0 ;
4626 int arg3 ;
4627 PyObject *arg4 = (PyObject *) NULL ;
4628 bool temp2 = False ;
4629 PyObject * obj0 = 0 ;
4630 PyObject * obj1 = 0 ;
4631 PyObject * obj3 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4638 {
4639 arg2 = wxString_in_helper(obj1);
4640 if (arg2 == NULL) SWIG_fail;
4641 temp2 = True;
4642 }
4643 if (obj3) {
4644 arg4 = obj3;
4645 }
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 {
4655 if (temp2)
4656 delete arg2;
4657 }
4658 return resultobj;
4659 fail:
4660 {
4661 if (temp2)
4662 delete arg2;
4663 }
4664 return NULL;
4665 }
4666
4667
4668 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj;
4670 wxListBox *arg1 = (wxListBox *) 0 ;
4671 wxArrayString *arg2 = 0 ;
4672 int arg3 ;
4673 PyObject * obj0 = 0 ;
4674 PyObject * obj1 = 0 ;
4675 char *kwnames[] = {
4676 (char *) "self",(char *) "items",(char *) "pos", NULL
4677 };
4678
4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4681 {
4682 if (! PySequence_Check(obj1)) {
4683 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4684 SWIG_fail;
4685 }
4686 arg2 = new wxArrayString;
4687 int i, len=PySequence_Length(obj1);
4688 for (i=0; i<len; i++) {
4689 PyObject* item = PySequence_GetItem(obj1, i);
4690 #if wxUSE_UNICODE
4691 PyObject* str = PyObject_Unicode(item);
4692 #else
4693 PyObject* str = PyObject_Str(item);
4694 #endif
4695 arg2->Add(Py2wxString(str));
4696 Py_DECREF(item);
4697 Py_DECREF(str);
4698 }
4699 }
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 {
4709 if (arg2) delete arg2;
4710 }
4711 return resultobj;
4712 fail:
4713 {
4714 if (arg2) delete arg2;
4715 }
4716 return NULL;
4717 }
4718
4719
4720 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj;
4722 wxListBox *arg1 = (wxListBox *) 0 ;
4723 wxArrayString *arg2 = 0 ;
4724 PyObject * obj0 = 0 ;
4725 PyObject * obj1 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "self",(char *) "items", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) 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)->Set((wxArrayString const &)*arg2);
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_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxListBox *arg1 = (wxListBox *) 0 ;
4774 int arg2 ;
4775 bool result;
4776 PyObject * obj0 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self",(char *) "n", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 resultobj = PyInt_FromLong((long)result);
4791 return resultobj;
4792 fail:
4793 return NULL;
4794 }
4795
4796
4797 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject *resultobj;
4799 wxListBox *arg1 = (wxListBox *) 0 ;
4800 int arg2 ;
4801 bool arg3 = (bool) True ;
4802 PyObject * obj0 = 0 ;
4803 PyObject * obj2 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self",(char *) "n",(char *) "select", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 if (obj2) {
4811 arg3 = PyInt_AsLong(obj2) ? true : false;
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 (arg1)->SetSelection(arg2,arg3);
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 Py_INCREF(Py_None); resultobj = Py_None;
4822 return resultobj;
4823 fail:
4824 return NULL;
4825 }
4826
4827
4828 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxListBox *arg1 = (wxListBox *) 0 ;
4831 int arg2 ;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "n", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 (arg1)->Select(arg2);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 Py_INCREF(Py_None); resultobj = Py_None;
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxListBox *arg1 = (wxListBox *) 0 ;
4856 int arg2 ;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self",(char *) "n", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 (arg1)->Deselect(arg2);
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 Py_INCREF(Py_None); resultobj = Py_None;
4872 return resultobj;
4873 fail:
4874 return NULL;
4875 }
4876
4877
4878 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4879 PyObject *resultobj;
4880 wxListBox *arg1 = (wxListBox *) 0 ;
4881 int arg2 = (int) -1 ;
4882 PyObject * obj0 = 0 ;
4883 char *kwnames[] = {
4884 (char *) "self",(char *) "itemToLeaveSelected", NULL
4885 };
4886
4887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 (arg1)->DeselectAll(arg2);
4892
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 Py_INCREF(Py_None); resultobj = Py_None;
4897 return resultobj;
4898 fail:
4899 return NULL;
4900 }
4901
4902
4903 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4904 PyObject *resultobj;
4905 wxListBox *arg1 = (wxListBox *) 0 ;
4906 wxString *arg2 = 0 ;
4907 bool arg3 = (bool) True ;
4908 bool result;
4909 bool temp2 = False ;
4910 PyObject * obj0 = 0 ;
4911 PyObject * obj1 = 0 ;
4912 PyObject * obj2 = 0 ;
4913 char *kwnames[] = {
4914 (char *) "self",(char *) "s",(char *) "select", NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4919 {
4920 arg2 = wxString_in_helper(obj1);
4921 if (arg2 == NULL) SWIG_fail;
4922 temp2 = True;
4923 }
4924 if (obj2) {
4925 arg3 = PyInt_AsLong(obj2) ? true : false;
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 resultobj = PyInt_FromLong((long)result);
4936 {
4937 if (temp2)
4938 delete arg2;
4939 }
4940 return resultobj;
4941 fail:
4942 {
4943 if (temp2)
4944 delete arg2;
4945 }
4946 return NULL;
4947 }
4948
4949
4950 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject *resultobj;
4952 wxListBox *arg1 = (wxListBox *) 0 ;
4953 PyObject *result;
4954 PyObject * obj0 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "self", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (PyObject *)wxListBox_GetSelections(arg1);
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 resultobj = result;
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj;
4977 wxListBox *arg1 = (wxListBox *) 0 ;
4978 int arg2 ;
4979 PyObject * obj0 = 0 ;
4980 char *kwnames[] = {
4981 (char *) "self",(char *) "n", NULL
4982 };
4983
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 (arg1)->SetFirstItem(arg2);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 Py_INCREF(Py_None); resultobj = Py_None;
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxListBox *arg1 = (wxListBox *) 0 ;
5003 wxString *arg2 = 0 ;
5004 bool temp2 = False ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self",(char *) "s", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5013 {
5014 arg2 = wxString_in_helper(obj1);
5015 if (arg2 == NULL) SWIG_fail;
5016 temp2 = True;
5017 }
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 (arg1)->SetFirstItem((wxString const &)*arg2);
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 {
5027 if (temp2)
5028 delete arg2;
5029 }
5030 return resultobj;
5031 fail:
5032 {
5033 if (temp2)
5034 delete arg2;
5035 }
5036 return NULL;
5037 }
5038
5039
5040 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5041 PyObject *resultobj;
5042 wxListBox *arg1 = (wxListBox *) 0 ;
5043 int arg2 ;
5044 PyObject * obj0 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "n", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 (arg1)->EnsureVisible(arg2);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 Py_INCREF(Py_None); resultobj = Py_None;
5059 return resultobj;
5060 fail:
5061 return NULL;
5062 }
5063
5064
5065 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5066 PyObject *resultobj;
5067 wxListBox *arg1 = (wxListBox *) 0 ;
5068 wxString *arg2 = 0 ;
5069 bool temp2 = False ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self",(char *) "s", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5078 {
5079 arg2 = wxString_in_helper(obj1);
5080 if (arg2 == NULL) SWIG_fail;
5081 temp2 = True;
5082 }
5083 {
5084 PyThreadState* __tstate = wxPyBeginAllowThreads();
5085 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5086
5087 wxPyEndAllowThreads(__tstate);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 }
5090 Py_INCREF(Py_None); resultobj = Py_None;
5091 {
5092 if (temp2)
5093 delete arg2;
5094 }
5095 return resultobj;
5096 fail:
5097 {
5098 if (temp2)
5099 delete arg2;
5100 }
5101 return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxListBox *arg1 = (wxListBox *) 0 ;
5108 bool result;
5109 PyObject * obj0 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "self", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (bool)((wxListBox const *)arg1)->IsSorted();
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 resultobj = PyInt_FromLong((long)result);
5124 return resultobj;
5125 fail:
5126 return NULL;
5127 }
5128
5129
5130 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5131 PyObject *obj;
5132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5133 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5134 Py_INCREF(obj);
5135 return Py_BuildValue((char *)"");
5136 }
5137 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5138 PyObject *resultobj;
5139 wxWindow *arg1 = (wxWindow *) 0 ;
5140 int arg2 ;
5141 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5142 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5143 wxSize const &arg4_defvalue = wxDefaultSize ;
5144 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5145 int arg5 = (int) 0 ;
5146 wxString *arg6 = (wxString *) NULL ;
5147 long arg7 = (long) 0 ;
5148 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5149 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5150 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5151 wxString *arg9 = (wxString *) &arg9_defvalue ;
5152 wxCheckListBox *result;
5153 wxPoint temp3 ;
5154 wxSize temp4 ;
5155 bool temp8 = False ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj2 = 0 ;
5158 PyObject * obj3 = 0 ;
5159 PyObject * obj4 = 0 ;
5160 PyObject * obj6 = 0 ;
5161 PyObject * obj7 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5168 if (obj2) {
5169 {
5170 arg3 = &temp3;
5171 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5172 }
5173 }
5174 if (obj3) {
5175 {
5176 arg4 = &temp4;
5177 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5178 }
5179 }
5180 if (obj4) {
5181 {
5182 arg5 = PyList_Size(obj4);
5183 arg6 = wxString_LIST_helper(obj4);
5184 if (arg6 == NULL) SWIG_fail;
5185 }
5186 }
5187 if (obj6) {
5188 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5189 if (arg8 == NULL) {
5190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5191 }
5192 }
5193 if (obj7) {
5194 {
5195 arg9 = wxString_in_helper(obj7);
5196 if (arg9 == NULL) SWIG_fail;
5197 temp8 = True;
5198 }
5199 }
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5208 {
5209 if (arg6) delete [] arg6;
5210 }
5211 {
5212 if (temp8)
5213 delete arg9;
5214 }
5215 return resultobj;
5216 fail:
5217 {
5218 if (arg6) delete [] arg6;
5219 }
5220 {
5221 if (temp8)
5222 delete arg9;
5223 }
5224 return NULL;
5225 }
5226
5227
5228 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5229 PyObject *resultobj;
5230 wxCheckListBox *result;
5231 char *kwnames[] = {
5232 NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (wxCheckListBox *)new wxCheckListBox();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5253 wxWindow *arg2 = (wxWindow *) 0 ;
5254 int arg3 ;
5255 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5256 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5257 wxSize const &arg5_defvalue = wxDefaultSize ;
5258 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5259 int arg6 = (int) 0 ;
5260 wxString *arg7 = (wxString *) NULL ;
5261 long arg8 = (long) 0 ;
5262 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5263 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5264 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5265 wxString *arg10 = (wxString *) &arg10_defvalue ;
5266 bool result;
5267 wxPoint temp4 ;
5268 wxSize temp5 ;
5269 bool temp9 = False ;
5270 PyObject * obj0 = 0 ;
5271 PyObject * obj1 = 0 ;
5272 PyObject * obj3 = 0 ;
5273 PyObject * obj4 = 0 ;
5274 PyObject * obj5 = 0 ;
5275 PyObject * obj7 = 0 ;
5276 PyObject * obj8 = 0 ;
5277 char *kwnames[] = {
5278 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5279 };
5280
5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5284 if (obj3) {
5285 {
5286 arg4 = &temp4;
5287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5288 }
5289 }
5290 if (obj4) {
5291 {
5292 arg5 = &temp5;
5293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5294 }
5295 }
5296 if (obj5) {
5297 {
5298 arg6 = PyList_Size(obj5);
5299 arg7 = wxString_LIST_helper(obj5);
5300 if (arg7 == NULL) SWIG_fail;
5301 }
5302 }
5303 if (obj7) {
5304 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5305 if (arg9 == NULL) {
5306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5307 }
5308 }
5309 if (obj8) {
5310 {
5311 arg10 = wxString_in_helper(obj8);
5312 if (arg10 == NULL) SWIG_fail;
5313 temp9 = True;
5314 }
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 resultobj = PyInt_FromLong((long)result);
5324 {
5325 if (arg7) delete [] arg7;
5326 }
5327 {
5328 if (temp9)
5329 delete arg10;
5330 }
5331 return resultobj;
5332 fail:
5333 {
5334 if (arg7) delete [] arg7;
5335 }
5336 {
5337 if (temp9)
5338 delete arg10;
5339 }
5340 return NULL;
5341 }
5342
5343
5344 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj;
5346 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5347 int arg2 ;
5348 bool result;
5349 PyObject * obj0 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self",(char *) "index", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 result = (bool)(arg1)->IsChecked(arg2);
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 resultobj = PyInt_FromLong((long)result);
5364 return resultobj;
5365 fail:
5366 return NULL;
5367 }
5368
5369
5370 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5371 PyObject *resultobj;
5372 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5373 int arg2 ;
5374 int arg3 = (int) True ;
5375 PyObject * obj0 = 0 ;
5376 char *kwnames[] = {
5377 (char *) "self",(char *) "index",(char *) "check", NULL
5378 };
5379
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 (arg1)->Check(arg2,arg3);
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 Py_INCREF(Py_None); resultobj = Py_None;
5390 return resultobj;
5391 fail:
5392 return NULL;
5393 }
5394
5395
5396 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5399 int result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) 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 = (int)(arg1)->GetItemHeight();
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_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj;
5423 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5424 wxPoint *arg2 = 0 ;
5425 int result;
5426 wxPoint temp2 ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "pt", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5435 {
5436 arg2 = &temp2;
5437 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5438 }
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 resultobj = PyInt_FromLong((long)result);
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5456 int arg2 ;
5457 int arg3 ;
5458 int result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self",(char *) "x",(char *) "y", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 resultobj = PyInt_FromLong((long)result);
5474 return resultobj;
5475 fail:
5476 return NULL;
5477 }
5478
5479
5480 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5481 PyObject *obj;
5482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5483 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5484 Py_INCREF(obj);
5485 return Py_BuildValue((char *)"");
5486 }
5487 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5488 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5489 return 1;
5490 }
5491
5492
5493 static PyObject *_wrap_TextCtrlNameStr_get() {
5494 PyObject *pyobj;
5495
5496 {
5497 #if wxUSE_UNICODE
5498 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5499 #else
5500 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5501 #endif
5502 }
5503 return pyobj;
5504 }
5505
5506
5507 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5508 PyObject *resultobj;
5509 wxTextAttr *result;
5510
5511 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = (wxTextAttr *)new wxTextAttr();
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5520 return resultobj;
5521 fail:
5522 return NULL;
5523 }
5524
5525
5526 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5527 PyObject *resultobj;
5528 wxColour *arg1 = 0 ;
5529 wxColour const &arg2_defvalue = wxNullColour ;
5530 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5531 wxFont const &arg3_defvalue = wxNullFont ;
5532 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5533 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5534 wxTextAttr *result;
5535 wxColour temp1 ;
5536 wxColour temp2 ;
5537 PyObject * obj0 = 0 ;
5538 PyObject * obj1 = 0 ;
5539 PyObject * obj2 = 0 ;
5540
5541 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5542 {
5543 arg1 = &temp1;
5544 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5545 }
5546 if (obj1) {
5547 {
5548 arg2 = &temp2;
5549 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5550 }
5551 }
5552 if (obj2) {
5553 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5554 if (arg3 == NULL) {
5555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5556 }
5557 }
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5573 int argc;
5574 PyObject *argv[5];
5575 int ii;
5576
5577 argc = PyObject_Length(args);
5578 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5579 argv[ii] = PyTuple_GetItem(args,ii);
5580 }
5581 if (argc == 0) {
5582 return _wrap_new_TextAttr__SWIG_0(self,args);
5583 }
5584 if ((argc >= 1) && (argc <= 4)) {
5585 int _v;
5586 {
5587 _v = wxColour_typecheck(argv[0]);
5588 }
5589 if (_v) {
5590 if (argc <= 1) {
5591 return _wrap_new_TextAttr__SWIG_1(self,args);
5592 }
5593 {
5594 _v = wxColour_typecheck(argv[1]);
5595 }
5596 if (_v) {
5597 if (argc <= 2) {
5598 return _wrap_new_TextAttr__SWIG_1(self,args);
5599 }
5600 {
5601 void *ptr;
5602 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5603 _v = 0;
5604 PyErr_Clear();
5605 } else {
5606 _v = 1;
5607 }
5608 }
5609 if (_v) {
5610 if (argc <= 3) {
5611 return _wrap_new_TextAttr__SWIG_1(self,args);
5612 }
5613 {
5614 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5615 }
5616 if (_v) {
5617 return _wrap_new_TextAttr__SWIG_1(self,args);
5618 }
5619 }
5620 }
5621 }
5622 }
5623
5624 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5625 return NULL;
5626 }
5627
5628
5629 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject *resultobj;
5631 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5632 PyObject * obj0 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->Init();
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 Py_INCREF(Py_None); resultobj = Py_None;
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5656 wxColour *arg2 = 0 ;
5657 wxColour temp2 ;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "colText", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5666 {
5667 arg2 = &temp2;
5668 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetTextColour((wxColour const &)*arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5687 wxColour *arg2 = 0 ;
5688 wxColour temp2 ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "colBack", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 {
5698 arg2 = &temp2;
5699 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5718 wxFont *arg2 = 0 ;
5719 long arg3 = (long) wxTEXT_ATTR_FONT ;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self",(char *) "font",(char *) "flags", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5729 if (arg2 == NULL) {
5730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5731 }
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5749 int arg2 ;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "alignment", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 Py_INCREF(Py_None); resultobj = Py_None;
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5774 wxArrayInt *arg2 = 0 ;
5775 PyObject * obj0 = 0 ;
5776 PyObject * obj1 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self",(char *) "tabs", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5783 {
5784 if (! PySequence_Check(obj1)) {
5785 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5786 SWIG_fail;
5787 }
5788 arg2 = new wxArrayInt;
5789 int i, len=PySequence_Length(obj1);
5790 for (i=0; i<len; i++) {
5791 PyObject* item = PySequence_GetItem(obj1, i);
5792 PyObject* number = PyNumber_Int(item);
5793 arg2->Add(PyInt_AS_LONG(number));
5794 Py_DECREF(item);
5795 Py_DECREF(number);
5796 }
5797 }
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 Py_INCREF(Py_None); resultobj = Py_None;
5806 {
5807 if (arg2) delete arg2;
5808 }
5809 return resultobj;
5810 fail:
5811 {
5812 if (arg2) delete arg2;
5813 }
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5821 int arg2 ;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self",(char *) "indent", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 (arg1)->SetLeftIndent(arg2);
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 Py_INCREF(Py_None); resultobj = Py_None;
5837 return resultobj;
5838 fail:
5839 return NULL;
5840 }
5841
5842
5843 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5846 int arg2 ;
5847 PyObject * obj0 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self",(char *) "indent", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 (arg1)->SetRightIndent(arg2);
5857
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 Py_INCREF(Py_None); resultobj = Py_None;
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5871 long arg2 ;
5872 PyObject * obj0 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self",(char *) "flags", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetFlags(arg2);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5896 bool result;
5897 PyObject * obj0 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 resultobj = PyInt_FromLong((long)result);
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5921 bool result;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 resultobj = PyInt_FromLong((long)result);
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5946 bool result;
5947 PyObject * obj0 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 resultobj = PyInt_FromLong((long)result);
5962 return resultobj;
5963 fail:
5964 return NULL;
5965 }
5966
5967
5968 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj;
5970 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5971 bool result;
5972 PyObject * obj0 = 0 ;
5973 char *kwnames[] = {
5974 (char *) "self", NULL
5975 };
5976
5977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 resultobj = PyInt_FromLong((long)result);
5987 return resultobj;
5988 fail:
5989 return NULL;
5990 }
5991
5992
5993 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject *resultobj;
5995 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5996 bool result;
5997 PyObject * obj0 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = PyInt_FromLong((long)result);
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6021 bool result;
6022 PyObject * obj0 = 0 ;
6023 char *kwnames[] = {
6024 (char *) "self", NULL
6025 };
6026
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 resultobj = PyInt_FromLong((long)result);
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6046 bool result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = PyInt_FromLong((long)result);
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6071 long arg2 ;
6072 bool result;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "flag", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) 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)->HasFlag(arg2);
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_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6097 wxColour *result;
6098 PyObject * obj0 = 0 ;
6099 char *kwnames[] = {
6100 (char *) "self", NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",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 {
6108 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6109 result = (wxColour *) &_result_ref;
6110 }
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6125 wxColour *result;
6126 PyObject * obj0 = 0 ;
6127 char *kwnames[] = {
6128 (char *) "self", NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 {
6136 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6137 result = (wxColour *) &_result_ref;
6138 }
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6144 return resultobj;
6145 fail:
6146 return NULL;
6147 }
6148
6149
6150 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject *resultobj;
6152 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6153 wxFont *result;
6154 PyObject * obj0 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 {
6164 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6165 result = (wxFont *) &_result_ref;
6166 }
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6181 int result;
6182 PyObject * obj0 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "self", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = PyInt_FromLong((long)result);
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject *resultobj;
6205 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6206 wxArrayInt *result;
6207 PyObject * obj0 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "self", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 {
6217 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6218 result = (wxArrayInt *) &_result_ref;
6219 }
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 {
6225 resultobj = PyList_New(0);
6226 size_t idx;
6227 for (idx = 0; idx < result->GetCount(); idx += 1) {
6228 PyObject* val = PyInt_FromLong( result->Item(idx) );
6229 PyList_Append(resultobj, val);
6230 Py_DECREF(val);
6231 }
6232 }
6233 return resultobj;
6234 fail:
6235 return NULL;
6236 }
6237
6238
6239 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject *resultobj;
6241 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6242 long result;
6243 PyObject * obj0 = 0 ;
6244 char *kwnames[] = {
6245 (char *) "self", NULL
6246 };
6247
6248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6250 {
6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
6252 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6253
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 resultobj = PyInt_FromLong((long)result);
6258 return resultobj;
6259 fail:
6260 return NULL;
6261 }
6262
6263
6264 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6265 PyObject *resultobj;
6266 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6267 long result;
6268 PyObject * obj0 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 resultobj = PyInt_FromLong((long)result);
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6292 long result;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 resultobj = PyInt_FromLong((long)result);
6308 return resultobj;
6309 fail:
6310 return NULL;
6311 }
6312
6313
6314 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6317 bool result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = PyInt_FromLong((long)result);
6333 return resultobj;
6334 fail:
6335 return NULL;
6336 }
6337
6338
6339 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxTextAttr *arg1 = 0 ;
6342 wxTextAttr *arg2 = 0 ;
6343 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6344 wxTextAttr result;
6345 PyObject * obj0 = 0 ;
6346 PyObject * obj1 = 0 ;
6347 PyObject * obj2 = 0 ;
6348 char *kwnames[] = {
6349 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6350 };
6351
6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6354 if (arg1 == NULL) {
6355 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6356 }
6357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6358 if (arg2 == NULL) {
6359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6360 }
6361 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 {
6370 wxTextAttr * resultptr;
6371 resultptr = new wxTextAttr((wxTextAttr &) result);
6372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6373 }
6374 return resultobj;
6375 fail:
6376 return NULL;
6377 }
6378
6379
6380 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6381 PyObject *obj;
6382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6383 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6384 Py_INCREF(obj);
6385 return Py_BuildValue((char *)"");
6386 }
6387 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6388 PyObject *resultobj;
6389 wxWindow *arg1 = (wxWindow *) 0 ;
6390 int arg2 ;
6391 wxString const &arg3_defvalue = wxPyEmptyString ;
6392 wxString *arg3 = (wxString *) &arg3_defvalue ;
6393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6395 wxSize const &arg5_defvalue = wxDefaultSize ;
6396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6397 long arg6 = (long) 0 ;
6398 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6399 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6400 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6401 wxString *arg8 = (wxString *) &arg8_defvalue ;
6402 wxTextCtrl *result;
6403 bool temp3 = False ;
6404 wxPoint temp4 ;
6405 wxSize temp5 ;
6406 bool temp8 = False ;
6407 PyObject * obj0 = 0 ;
6408 PyObject * obj2 = 0 ;
6409 PyObject * obj3 = 0 ;
6410 PyObject * obj4 = 0 ;
6411 PyObject * obj6 = 0 ;
6412 PyObject * obj7 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6419 if (obj2) {
6420 {
6421 arg3 = wxString_in_helper(obj2);
6422 if (arg3 == NULL) SWIG_fail;
6423 temp3 = True;
6424 }
6425 }
6426 if (obj3) {
6427 {
6428 arg4 = &temp4;
6429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6430 }
6431 }
6432 if (obj4) {
6433 {
6434 arg5 = &temp5;
6435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6436 }
6437 }
6438 if (obj6) {
6439 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6440 if (arg7 == NULL) {
6441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6442 }
6443 }
6444 if (obj7) {
6445 {
6446 arg8 = wxString_in_helper(obj7);
6447 if (arg8 == NULL) SWIG_fail;
6448 temp8 = True;
6449 }
6450 }
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 {
6459 resultobj = wxPyMake_wxObject(result);
6460 }
6461 {
6462 if (temp3)
6463 delete arg3;
6464 }
6465 {
6466 if (temp8)
6467 delete arg8;
6468 }
6469 return resultobj;
6470 fail:
6471 {
6472 if (temp3)
6473 delete arg3;
6474 }
6475 {
6476 if (temp8)
6477 delete arg8;
6478 }
6479 return NULL;
6480 }
6481
6482
6483 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj;
6485 wxTextCtrl *result;
6486 char *kwnames[] = {
6487 NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (wxTextCtrl *)new wxTextCtrl();
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 {
6499 resultobj = wxPyMake_wxObject(result);
6500 }
6501 return resultobj;
6502 fail:
6503 return NULL;
6504 }
6505
6506
6507 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject *resultobj;
6509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6510 wxWindow *arg2 = (wxWindow *) 0 ;
6511 int arg3 ;
6512 wxString const &arg4_defvalue = wxPyEmptyString ;
6513 wxString *arg4 = (wxString *) &arg4_defvalue ;
6514 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6515 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6516 wxSize const &arg6_defvalue = wxDefaultSize ;
6517 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6518 long arg7 = (long) 0 ;
6519 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6520 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6521 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6522 wxString *arg9 = (wxString *) &arg9_defvalue ;
6523 bool result;
6524 bool temp4 = False ;
6525 wxPoint temp5 ;
6526 wxSize temp6 ;
6527 bool temp9 = False ;
6528 PyObject * obj0 = 0 ;
6529 PyObject * obj1 = 0 ;
6530 PyObject * obj3 = 0 ;
6531 PyObject * obj4 = 0 ;
6532 PyObject * obj5 = 0 ;
6533 PyObject * obj7 = 0 ;
6534 PyObject * obj8 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6542 if (obj3) {
6543 {
6544 arg4 = wxString_in_helper(obj3);
6545 if (arg4 == NULL) SWIG_fail;
6546 temp4 = True;
6547 }
6548 }
6549 if (obj4) {
6550 {
6551 arg5 = &temp5;
6552 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6553 }
6554 }
6555 if (obj5) {
6556 {
6557 arg6 = &temp6;
6558 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6559 }
6560 }
6561 if (obj7) {
6562 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6563 if (arg8 == NULL) {
6564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6565 }
6566 }
6567 if (obj8) {
6568 {
6569 arg9 = wxString_in_helper(obj8);
6570 if (arg9 == NULL) SWIG_fail;
6571 temp9 = True;
6572 }
6573 }
6574 {
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 resultobj = PyInt_FromLong((long)result);
6582 {
6583 if (temp4)
6584 delete arg4;
6585 }
6586 {
6587 if (temp9)
6588 delete arg9;
6589 }
6590 return resultobj;
6591 fail:
6592 {
6593 if (temp4)
6594 delete arg4;
6595 }
6596 {
6597 if (temp9)
6598 delete arg9;
6599 }
6600 return NULL;
6601 }
6602
6603
6604 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6607 wxString result;
6608 PyObject * obj0 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 result = ((wxTextCtrl const *)arg1)->GetValue();
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 #if wxUSE_UNICODE
6624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6625 #else
6626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6627 #endif
6628 }
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6638 wxString *arg2 = 0 ;
6639 bool temp2 = False ;
6640 PyObject * obj0 = 0 ;
6641 PyObject * obj1 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self",(char *) "value", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6648 {
6649 arg2 = wxString_in_helper(obj1);
6650 if (arg2 == NULL) SWIG_fail;
6651 temp2 = True;
6652 }
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 (arg1)->SetValue((wxString const &)*arg2);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 Py_INCREF(Py_None); resultobj = Py_None;
6661 {
6662 if (temp2)
6663 delete arg2;
6664 }
6665 return resultobj;
6666 fail:
6667 {
6668 if (temp2)
6669 delete arg2;
6670 }
6671 return NULL;
6672 }
6673
6674
6675 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6678 long arg2 ;
6679 long arg3 ;
6680 wxString result;
6681 PyObject * obj0 = 0 ;
6682 char *kwnames[] = {
6683 (char *) "self",(char *) "from",(char *) "to", NULL
6684 };
6685
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6691
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 {
6696 #if wxUSE_UNICODE
6697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6698 #else
6699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6700 #endif
6701 }
6702 return resultobj;
6703 fail:
6704 return NULL;
6705 }
6706
6707
6708 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6711 long arg2 ;
6712 int result;
6713 PyObject * obj0 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "self",(char *) "lineNo", NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 resultobj = PyInt_FromLong((long)result);
6728 return resultobj;
6729 fail:
6730 return NULL;
6731 }
6732
6733
6734 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj;
6736 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6737 long arg2 ;
6738 wxString result;
6739 PyObject * obj0 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "lineNo", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 {
6754 #if wxUSE_UNICODE
6755 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6756 #else
6757 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6758 #endif
6759 }
6760 return resultobj;
6761 fail:
6762 return NULL;
6763 }
6764
6765
6766 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj;
6768 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6769 int result;
6770 PyObject * obj0 = 0 ;
6771 char *kwnames[] = {
6772 (char *) "self", NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = PyInt_FromLong((long)result);
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj;
6793 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6794 bool result;
6795 PyObject * obj0 = 0 ;
6796 char *kwnames[] = {
6797 (char *) "self", NULL
6798 };
6799
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) SWIG_fail;
6808 }
6809 resultobj = PyInt_FromLong((long)result);
6810 return resultobj;
6811 fail:
6812 return NULL;
6813 }
6814
6815
6816 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj;
6818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6819 bool result;
6820 PyObject * obj0 = 0 ;
6821 char *kwnames[] = {
6822 (char *) "self", NULL
6823 };
6824
6825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6827 {
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6830
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
6834 resultobj = PyInt_FromLong((long)result);
6835 return resultobj;
6836 fail:
6837 return NULL;
6838 }
6839
6840
6841 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj;
6843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6844 bool result;
6845 PyObject * obj0 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 resultobj = PyInt_FromLong((long)result);
6860 return resultobj;
6861 fail:
6862 return NULL;
6863 }
6864
6865
6866 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6869 bool result;
6870 PyObject * obj0 = 0 ;
6871 char *kwnames[] = {
6872 (char *) "self", NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 resultobj = PyInt_FromLong((long)result);
6885 return resultobj;
6886 fail:
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6894 long *arg2 = (long *) 0 ;
6895 long *arg3 = (long *) 0 ;
6896 long temp2 ;
6897 long temp3 ;
6898 PyObject * obj0 = 0 ;
6899 char *kwnames[] = {
6900 (char *) "self", NULL
6901 };
6902
6903 arg2 = &temp2;
6904 arg3 = &temp3;
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 Py_INCREF(Py_None); resultobj = Py_None;
6915 {
6916 PyObject *o = PyInt_FromLong((long) (*arg2));
6917 resultobj = t_output_helper(resultobj,o);
6918 }
6919 {
6920 PyObject *o = PyInt_FromLong((long) (*arg3));
6921 resultobj = t_output_helper(resultobj,o);
6922 }
6923 return resultobj;
6924 fail:
6925 return NULL;
6926 }
6927
6928
6929 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj;
6931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6932 wxString result;
6933 PyObject * obj0 = 0 ;
6934 char *kwnames[] = {
6935 (char *) "self", NULL
6936 };
6937
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 {
6948 #if wxUSE_UNICODE
6949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6950 #else
6951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6952 #endif
6953 }
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6963 PyObject * obj0 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 (arg1)->Clear();
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 Py_INCREF(Py_None); resultobj = Py_None;
6978 return resultobj;
6979 fail:
6980 return NULL;
6981 }
6982
6983
6984 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj;
6986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6987 long arg2 ;
6988 long arg3 ;
6989 wxString *arg4 = 0 ;
6990 bool temp4 = False ;
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj3 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 {
7000 arg4 = wxString_in_helper(obj3);
7001 if (arg4 == NULL) SWIG_fail;
7002 temp4 = True;
7003 }
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 Py_INCREF(Py_None); resultobj = Py_None;
7012 {
7013 if (temp4)
7014 delete arg4;
7015 }
7016 return resultobj;
7017 fail:
7018 {
7019 if (temp4)
7020 delete arg4;
7021 }
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7029 long arg2 ;
7030 long arg3 ;
7031 PyObject * obj0 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self",(char *) "from",(char *) "to", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 (arg1)->Remove(arg2,arg3);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 Py_INCREF(Py_None); resultobj = Py_None;
7046 return resultobj;
7047 fail:
7048 return NULL;
7049 }
7050
7051
7052 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7055 wxString *arg2 = 0 ;
7056 bool result;
7057 bool temp2 = False ;
7058 PyObject * obj0 = 0 ;
7059 PyObject * obj1 = 0 ;
7060 char *kwnames[] = {
7061 (char *) "self",(char *) "file", NULL
7062 };
7063
7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7066 {
7067 arg2 = wxString_in_helper(obj1);
7068 if (arg2 == NULL) SWIG_fail;
7069 temp2 = True;
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 resultobj = PyInt_FromLong((long)result);
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return resultobj;
7084 fail:
7085 {
7086 if (temp2)
7087 delete arg2;
7088 }
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7096 wxString const &arg2_defvalue = wxPyEmptyString ;
7097 wxString *arg2 = (wxString *) &arg2_defvalue ;
7098 bool result;
7099 bool temp2 = False ;
7100 PyObject * obj0 = 0 ;
7101 PyObject * obj1 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self",(char *) "file", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7108 if (obj1) {
7109 {
7110 arg2 = wxString_in_helper(obj1);
7111 if (arg2 == NULL) SWIG_fail;
7112 temp2 = True;
7113 }
7114 }
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = PyInt_FromLong((long)result);
7123 {
7124 if (temp2)
7125 delete arg2;
7126 }
7127 return resultobj;
7128 fail:
7129 {
7130 if (temp2)
7131 delete arg2;
7132 }
7133 return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7140 PyObject * obj0 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "self", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 (arg1)->MarkDirty();
7150
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 }
7154 Py_INCREF(Py_None); resultobj = Py_None;
7155 return resultobj;
7156 fail:
7157 return NULL;
7158 }
7159
7160
7161 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj;
7163 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7164 PyObject * obj0 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 (arg1)->DiscardEdits();
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 Py_INCREF(Py_None); resultobj = Py_None;
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj;
7187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7188 unsigned long arg2 ;
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "self",(char *) "len", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7197 arg2 = (unsigned long) PyInt_AsLong(obj1);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 (arg1)->SetMaxLength(arg2);
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 Py_INCREF(Py_None); resultobj = Py_None;
7207 return resultobj;
7208 fail:
7209 return NULL;
7210 }
7211
7212
7213 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7216 wxString *arg2 = 0 ;
7217 bool temp2 = False ;
7218 PyObject * obj0 = 0 ;
7219 PyObject * obj1 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "self",(char *) "text", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7226 {
7227 arg2 = wxString_in_helper(obj1);
7228 if (arg2 == NULL) SWIG_fail;
7229 temp2 = True;
7230 }
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 (arg1)->WriteText((wxString const &)*arg2);
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 Py_INCREF(Py_None); resultobj = Py_None;
7239 {
7240 if (temp2)
7241 delete arg2;
7242 }
7243 return resultobj;
7244 fail:
7245 {
7246 if (temp2)
7247 delete arg2;
7248 }
7249 return NULL;
7250 }
7251
7252
7253 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7256 wxString *arg2 = 0 ;
7257 bool temp2 = False ;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self",(char *) "text", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7266 {
7267 arg2 = wxString_in_helper(obj1);
7268 if (arg2 == NULL) SWIG_fail;
7269 temp2 = True;
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 (arg1)->AppendText((wxString const &)*arg2);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 Py_INCREF(Py_None); resultobj = Py_None;
7279 {
7280 if (temp2)
7281 delete arg2;
7282 }
7283 return resultobj;
7284 fail:
7285 {
7286 if (temp2)
7287 delete arg2;
7288 }
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7296 wxKeyEvent *arg2 = 0 ;
7297 bool result;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "event", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7307 if (arg2 == NULL) {
7308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 resultobj = PyInt_FromLong((long)result);
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7327 long arg2 ;
7328 long arg3 ;
7329 wxTextAttr *arg4 = 0 ;
7330 bool result;
7331 PyObject * obj0 = 0 ;
7332 PyObject * obj3 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7339 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7340 if (arg4 == NULL) {
7341 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7342 }
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = PyInt_FromLong((long)result);
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7360 long arg2 ;
7361 wxTextAttr *arg3 = 0 ;
7362 bool result;
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj2 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "position",(char *) "style", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7371 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 if (arg3 == NULL) {
7373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7374 }
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7378
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) SWIG_fail;
7381 }
7382 resultobj = PyInt_FromLong((long)result);
7383 return resultobj;
7384 fail:
7385 return NULL;
7386 }
7387
7388
7389 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
7391 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7392 wxTextAttr *arg2 = 0 ;
7393 bool result;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self",(char *) "style", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7403 if (arg2 == NULL) {
7404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7405 }
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = PyInt_FromLong((long)result);
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7423 wxTextAttr *result;
7424 PyObject * obj0 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 {
7434 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7435 result = (wxTextAttr *) &_result_ref;
7436 }
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 }
7441 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7442 return resultobj;
7443 fail:
7444 return NULL;
7445 }
7446
7447
7448 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj;
7450 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7451 long arg2 ;
7452 long arg3 ;
7453 long result;
7454 PyObject * obj0 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "x",(char *) "y", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 resultobj = PyInt_FromLong((long)result);
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7478 long arg2 ;
7479 long *arg3 = (long *) 0 ;
7480 long *arg4 = (long *) 0 ;
7481 long temp3 ;
7482 long temp4 ;
7483 PyObject * obj0 = 0 ;
7484 char *kwnames[] = {
7485 (char *) "self",(char *) "pos", NULL
7486 };
7487
7488 arg3 = &temp3;
7489 arg4 = &temp4;
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 Py_INCREF(Py_None); resultobj = Py_None;
7500 {
7501 PyObject *o = PyInt_FromLong((long) (*arg3));
7502 resultobj = t_output_helper(resultobj,o);
7503 }
7504 {
7505 PyObject *o = PyInt_FromLong((long) (*arg4));
7506 resultobj = t_output_helper(resultobj,o);
7507 }
7508 return resultobj;
7509 fail:
7510 return NULL;
7511 }
7512
7513
7514 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7517 long arg2 ;
7518 PyObject * obj0 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "self",(char *) "pos", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 (arg1)->ShowPosition(arg2);
7528
7529 wxPyEndAllowThreads(__tstate);
7530 if (PyErr_Occurred()) SWIG_fail;
7531 }
7532 Py_INCREF(Py_None); resultobj = Py_None;
7533 return resultobj;
7534 fail:
7535 return NULL;
7536 }
7537
7538
7539 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7542 PyObject * obj0 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 (arg1)->Copy();
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 Py_INCREF(Py_None); resultobj = Py_None;
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7566 PyObject * obj0 = 0 ;
7567 char *kwnames[] = {
7568 (char *) "self", NULL
7569 };
7570
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 (arg1)->Cut();
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 Py_INCREF(Py_None); resultobj = Py_None;
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7590 PyObject * obj0 = 0 ;
7591 char *kwnames[] = {
7592 (char *) "self", NULL
7593 };
7594
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 (arg1)->Paste();
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 Py_INCREF(Py_None); resultobj = Py_None;
7605 return resultobj;
7606 fail:
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7614 bool result;
7615 PyObject * obj0 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 resultobj = PyInt_FromLong((long)result);
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7639 bool result;
7640 PyObject * obj0 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 resultobj = PyInt_FromLong((long)result);
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7664 bool result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = PyInt_FromLong((long)result);
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7689 PyObject * obj0 = 0 ;
7690 char *kwnames[] = {
7691 (char *) "self", NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 (arg1)->Undo();
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 Py_INCREF(Py_None); resultobj = Py_None;
7704 return resultobj;
7705 fail:
7706 return NULL;
7707 }
7708
7709
7710 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7713 PyObject * obj0 = 0 ;
7714 char *kwnames[] = {
7715 (char *) "self", NULL
7716 };
7717
7718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 (arg1)->Redo();
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 Py_INCREF(Py_None); resultobj = Py_None;
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7737 bool result;
7738 PyObject * obj0 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self", NULL
7741 };
7742
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = PyInt_FromLong((long)result);
7753 return resultobj;
7754 fail:
7755 return NULL;
7756 }
7757
7758
7759 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj;
7761 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7762 bool result;
7763 PyObject * obj0 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = PyInt_FromLong((long)result);
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7787 long arg2 ;
7788 PyObject * obj0 = 0 ;
7789 char *kwnames[] = {
7790 (char *) "self",(char *) "pos", NULL
7791 };
7792
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 (arg1)->SetInsertionPoint(arg2);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 Py_INCREF(Py_None); resultobj = Py_None;
7803 return resultobj;
7804 fail:
7805 return NULL;
7806 }
7807
7808
7809 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj;
7811 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7812 PyObject * obj0 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 (arg1)->SetInsertionPointEnd();
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 Py_INCREF(Py_None); resultobj = Py_None;
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7836 long result;
7837 PyObject * obj0 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "self", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 resultobj = PyInt_FromLong((long)result);
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7861 long result;
7862 PyObject * obj0 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = PyInt_FromLong((long)result);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7886 long arg2 ;
7887 long arg3 ;
7888 PyObject * obj0 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self",(char *) "from",(char *) "to", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetSelection(arg2,arg3);
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 Py_INCREF(Py_None); resultobj = Py_None;
7903 return resultobj;
7904 fail:
7905 return NULL;
7906 }
7907
7908
7909 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj;
7911 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 (arg1)->SelectAll();
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 Py_INCREF(Py_None); resultobj = Py_None;
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7936 bool arg2 ;
7937 PyObject * obj0 = 0 ;
7938 PyObject * obj1 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self",(char *) "editable", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 arg2 = PyInt_AsLong(obj1) ? true : false;
7946 if (PyErr_Occurred()) SWIG_fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 (arg1)->SetEditable(arg2);
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 Py_INCREF(Py_None); resultobj = Py_None;
7955 return resultobj;
7956 fail:
7957 return NULL;
7958 }
7959
7960
7961 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7964 wxString *arg2 = 0 ;
7965 bool temp2 = False ;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self",(char *) "text", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7974 {
7975 arg2 = wxString_in_helper(obj1);
7976 if (arg2 == NULL) SWIG_fail;
7977 temp2 = True;
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 Py_INCREF(Py_None); resultobj = Py_None;
7987 {
7988 if (temp2)
7989 delete arg2;
7990 }
7991 return resultobj;
7992 fail:
7993 {
7994 if (temp2)
7995 delete arg2;
7996 }
7997 return NULL;
7998 }
7999
8000
8001 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8004 long arg2 ;
8005 long arg3 ;
8006 wxString result;
8007 PyObject * obj0 = 0 ;
8008 char *kwnames[] = {
8009 (char *) "self",(char *) "from",(char *) "to", NULL
8010 };
8011
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 {
8022 #if wxUSE_UNICODE
8023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8024 #else
8025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8026 #endif
8027 }
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8035 PyObject *obj;
8036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8037 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8038 Py_INCREF(obj);
8039 return Py_BuildValue((char *)"");
8040 }
8041 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 int arg1 ;
8044 wxMouseEvent *arg2 = 0 ;
8045 long arg3 ;
8046 long arg4 ;
8047 wxTextUrlEvent *result;
8048 PyObject * obj1 = 0 ;
8049 char *kwnames[] = {
8050 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8051 };
8052
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8055 if (arg2 == NULL) {
8056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8075 wxMouseEvent *result;
8076 PyObject * obj0 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 {
8086 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8087 result = (wxMouseEvent *) &_result_ref;
8088 }
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8103 long result;
8104 PyObject * obj0 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 resultobj = PyInt_FromLong((long)result);
8119 return resultobj;
8120 fail:
8121 return NULL;
8122 }
8123
8124
8125 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj;
8127 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8128 long result;
8129 PyObject * obj0 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 resultobj = PyInt_FromLong((long)result);
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8151 PyObject *obj;
8152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8153 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8154 Py_INCREF(obj);
8155 return Py_BuildValue((char *)"");
8156 }
8157 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8158 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8159 return 1;
8160 }
8161
8162
8163 static PyObject *_wrap_ScrollBarNameStr_get() {
8164 PyObject *pyobj;
8165
8166 {
8167 #if wxUSE_UNICODE
8168 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8169 #else
8170 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8171 #endif
8172 }
8173 return pyobj;
8174 }
8175
8176
8177 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxWindow *arg1 = (wxWindow *) 0 ;
8180 int arg2 = (int) -1 ;
8181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8183 wxSize const &arg4_defvalue = wxDefaultSize ;
8184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8185 long arg5 = (long) wxSB_HORIZONTAL ;
8186 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8187 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8188 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8189 wxString *arg7 = (wxString *) &arg7_defvalue ;
8190 wxScrollBar *result;
8191 wxPoint temp3 ;
8192 wxSize temp4 ;
8193 bool temp7 = False ;
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj2 = 0 ;
8196 PyObject * obj3 = 0 ;
8197 PyObject * obj5 = 0 ;
8198 PyObject * obj6 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205 if (obj2) {
8206 {
8207 arg3 = &temp3;
8208 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8209 }
8210 }
8211 if (obj3) {
8212 {
8213 arg4 = &temp4;
8214 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8215 }
8216 }
8217 if (obj5) {
8218 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8219 if (arg6 == NULL) {
8220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8221 }
8222 }
8223 if (obj6) {
8224 {
8225 arg7 = wxString_in_helper(obj6);
8226 if (arg7 == NULL) SWIG_fail;
8227 temp7 = True;
8228 }
8229 }
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8238 {
8239 if (temp7)
8240 delete arg7;
8241 }
8242 return resultobj;
8243 fail:
8244 {
8245 if (temp7)
8246 delete arg7;
8247 }
8248 return NULL;
8249 }
8250
8251
8252 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxScrollBar *result;
8255 char *kwnames[] = {
8256 NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 result = (wxScrollBar *)new wxScrollBar();
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj;
8276 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8277 wxWindow *arg2 = (wxWindow *) 0 ;
8278 int arg3 = (int) -1 ;
8279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8281 wxSize const &arg5_defvalue = wxDefaultSize ;
8282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8283 long arg6 = (long) wxSB_HORIZONTAL ;
8284 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8285 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8286 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8287 wxString *arg8 = (wxString *) &arg8_defvalue ;
8288 bool result;
8289 wxPoint temp4 ;
8290 wxSize temp5 ;
8291 bool temp8 = False ;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 PyObject * obj3 = 0 ;
8295 PyObject * obj4 = 0 ;
8296 PyObject * obj6 = 0 ;
8297 PyObject * obj7 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8305 if (obj3) {
8306 {
8307 arg4 = &temp4;
8308 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8309 }
8310 }
8311 if (obj4) {
8312 {
8313 arg5 = &temp5;
8314 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8315 }
8316 }
8317 if (obj6) {
8318 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8319 if (arg7 == NULL) {
8320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8321 }
8322 }
8323 if (obj7) {
8324 {
8325 arg8 = wxString_in_helper(obj7);
8326 if (arg8 == NULL) SWIG_fail;
8327 temp8 = True;
8328 }
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 resultobj = PyInt_FromLong((long)result);
8338 {
8339 if (temp8)
8340 delete arg8;
8341 }
8342 return resultobj;
8343 fail:
8344 {
8345 if (temp8)
8346 delete arg8;
8347 }
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8355 int result;
8356 PyObject * obj0 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 resultobj = PyInt_FromLong((long)result);
8371 return resultobj;
8372 fail:
8373 return NULL;
8374 }
8375
8376
8377 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject *resultobj;
8379 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8380 int result;
8381 PyObject * obj0 = 0 ;
8382 char *kwnames[] = {
8383 (char *) "self", NULL
8384 };
8385
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 resultobj = PyInt_FromLong((long)result);
8396 return resultobj;
8397 fail:
8398 return NULL;
8399 }
8400
8401
8402 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj;
8404 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8405 int result;
8406 PyObject * obj0 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = PyInt_FromLong((long)result);
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj;
8429 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8430 int result;
8431 PyObject * obj0 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8438 {
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 result = (int)((wxScrollBar const *)arg1)->GetRange();
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 }
8445 resultobj = PyInt_FromLong((long)result);
8446 return resultobj;
8447 fail:
8448 return NULL;
8449 }
8450
8451
8452 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8453 PyObject *resultobj;
8454 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8455 bool result;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8463 {
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8466
8467 wxPyEndAllowThreads(__tstate);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
8470 resultobj = PyInt_FromLong((long)result);
8471 return resultobj;
8472 fail:
8473 return NULL;
8474 }
8475
8476
8477 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj;
8479 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8480 int arg2 ;
8481 PyObject * obj0 = 0 ;
8482 char *kwnames[] = {
8483 (char *) "self",(char *) "viewStart", NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 (arg1)->SetThumbPosition(arg2);
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 Py_INCREF(Py_None); resultobj = Py_None;
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj;
8504 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8505 int arg2 ;
8506 int arg3 ;
8507 int arg4 ;
8508 int arg5 ;
8509 bool arg6 = (bool) True ;
8510 PyObject * obj0 = 0 ;
8511 PyObject * obj5 = 0 ;
8512 char *kwnames[] = {
8513 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8514 };
8515
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8518 if (obj5) {
8519 arg6 = PyInt_AsLong(obj5) ? true : false;
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 Py_INCREF(Py_None); resultobj = Py_None;
8530 return resultobj;
8531 fail:
8532 return NULL;
8533 }
8534
8535
8536 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8537 PyObject *obj;
8538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8539 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8540 Py_INCREF(obj);
8541 return Py_BuildValue((char *)"");
8542 }
8543 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8544 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8545 return 1;
8546 }
8547
8548
8549 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8550 PyObject *pyobj;
8551
8552 {
8553 #if wxUSE_UNICODE
8554 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8555 #else
8556 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8557 #endif
8558 }
8559 return pyobj;
8560 }
8561
8562
8563 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8564 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8565 return 1;
8566 }
8567
8568
8569 static PyObject *_wrap_SpinCtrlNameStr_get() {
8570 PyObject *pyobj;
8571
8572 {
8573 #if wxUSE_UNICODE
8574 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8575 #else
8576 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8577 #endif
8578 }
8579 return pyobj;
8580 }
8581
8582
8583 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxWindow *arg1 = (wxWindow *) 0 ;
8586 int arg2 = (int) -1 ;
8587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8589 wxSize const &arg4_defvalue = wxDefaultSize ;
8590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8591 long arg5 = (long) wxSP_HORIZONTAL ;
8592 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8593 wxString *arg6 = (wxString *) &arg6_defvalue ;
8594 wxSpinButton *result;
8595 wxPoint temp3 ;
8596 wxSize temp4 ;
8597 bool temp6 = False ;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj2 = 0 ;
8600 PyObject * obj3 = 0 ;
8601 PyObject * obj5 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8608 if (obj2) {
8609 {
8610 arg3 = &temp3;
8611 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8612 }
8613 }
8614 if (obj3) {
8615 {
8616 arg4 = &temp4;
8617 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8618 }
8619 }
8620 if (obj5) {
8621 {
8622 arg6 = wxString_in_helper(obj5);
8623 if (arg6 == NULL) SWIG_fail;
8624 temp6 = True;
8625 }
8626 }
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8635 {
8636 if (temp6)
8637 delete arg6;
8638 }
8639 return resultobj;
8640 fail:
8641 {
8642 if (temp6)
8643 delete arg6;
8644 }
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxSpinButton *result;
8652 char *kwnames[] = {
8653 NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (wxSpinButton *)new wxSpinButton();
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8665 return resultobj;
8666 fail:
8667 return NULL;
8668 }
8669
8670
8671 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8674 wxWindow *arg2 = (wxWindow *) 0 ;
8675 int arg3 = (int) -1 ;
8676 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8677 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8678 wxSize const &arg5_defvalue = wxDefaultSize ;
8679 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8680 long arg6 = (long) wxSP_HORIZONTAL ;
8681 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8682 wxString *arg7 = (wxString *) &arg7_defvalue ;
8683 bool result;
8684 wxPoint temp4 ;
8685 wxSize temp5 ;
8686 bool temp7 = False ;
8687 PyObject * obj0 = 0 ;
8688 PyObject * obj1 = 0 ;
8689 PyObject * obj3 = 0 ;
8690 PyObject * obj4 = 0 ;
8691 PyObject * obj6 = 0 ;
8692 char *kwnames[] = {
8693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8694 };
8695
8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8699 if (obj3) {
8700 {
8701 arg4 = &temp4;
8702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8703 }
8704 }
8705 if (obj4) {
8706 {
8707 arg5 = &temp5;
8708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8709 }
8710 }
8711 if (obj6) {
8712 {
8713 arg7 = wxString_in_helper(obj6);
8714 if (arg7 == NULL) SWIG_fail;
8715 temp7 = True;
8716 }
8717 }
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = PyInt_FromLong((long)result);
8726 {
8727 if (temp7)
8728 delete arg7;
8729 }
8730 return resultobj;
8731 fail:
8732 {
8733 if (temp7)
8734 delete arg7;
8735 }
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj;
8742 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8743 int result;
8744 PyObject * obj0 = 0 ;
8745 char *kwnames[] = {
8746 (char *) "self", NULL
8747 };
8748
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (int)((wxSpinButton const *)arg1)->GetValue();
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = PyInt_FromLong((long)result);
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8768 int result;
8769 PyObject * obj0 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 result = (int)((wxSpinButton const *)arg1)->GetMin();
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 resultobj = PyInt_FromLong((long)result);
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8793 int result;
8794 PyObject * obj0 = 0 ;
8795 char *kwnames[] = {
8796 (char *) "self", NULL
8797 };
8798
8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 result = (int)((wxSpinButton const *)arg1)->GetMax();
8804
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 resultobj = PyInt_FromLong((long)result);
8809 return resultobj;
8810 fail:
8811 return NULL;
8812 }
8813
8814
8815 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj;
8817 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8818 int arg2 ;
8819 PyObject * obj0 = 0 ;
8820 char *kwnames[] = {
8821 (char *) "self",(char *) "val", NULL
8822 };
8823
8824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->SetValue(arg2);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837 }
8838
8839
8840 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj;
8842 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8843 int arg2 ;
8844 PyObject * obj0 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "minVal", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->SetMin(arg2);
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
8859 return resultobj;
8860 fail:
8861 return NULL;
8862 }
8863
8864
8865 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8868 int arg2 ;
8869 PyObject * obj0 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "maxVal", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->SetMax(arg2);
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 Py_INCREF(Py_None); resultobj = Py_None;
8884 return resultobj;
8885 fail:
8886 return NULL;
8887 }
8888
8889
8890 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj;
8892 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8893 int arg2 ;
8894 int arg3 ;
8895 PyObject * obj0 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 (arg1)->SetRange(arg2,arg3);
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 Py_INCREF(Py_None); resultobj = Py_None;
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8919 bool result;
8920 PyObject * obj0 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 resultobj = PyInt_FromLong((long)result);
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8942 PyObject *obj;
8943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8944 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8945 Py_INCREF(obj);
8946 return Py_BuildValue((char *)"");
8947 }
8948 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxWindow *arg1 = (wxWindow *) 0 ;
8951 int arg2 = (int) -1 ;
8952 wxString const &arg3_defvalue = wxPyEmptyString ;
8953 wxString *arg3 = (wxString *) &arg3_defvalue ;
8954 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8955 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8956 wxSize const &arg5_defvalue = wxDefaultSize ;
8957 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8958 long arg6 = (long) wxSP_ARROW_KEYS ;
8959 int arg7 = (int) 0 ;
8960 int arg8 = (int) 100 ;
8961 int arg9 = (int) 0 ;
8962 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8963 wxString *arg10 = (wxString *) &arg10_defvalue ;
8964 wxSpinCtrl *result;
8965 bool temp3 = False ;
8966 wxPoint temp4 ;
8967 wxSize temp5 ;
8968 bool temp10 = False ;
8969 PyObject * obj0 = 0 ;
8970 PyObject * obj2 = 0 ;
8971 PyObject * obj3 = 0 ;
8972 PyObject * obj4 = 0 ;
8973 PyObject * obj9 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8980 if (obj2) {
8981 {
8982 arg3 = wxString_in_helper(obj2);
8983 if (arg3 == NULL) SWIG_fail;
8984 temp3 = True;
8985 }
8986 }
8987 if (obj3) {
8988 {
8989 arg4 = &temp4;
8990 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8991 }
8992 }
8993 if (obj4) {
8994 {
8995 arg5 = &temp5;
8996 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8997 }
8998 }
8999 if (obj9) {
9000 {
9001 arg10 = wxString_in_helper(obj9);
9002 if (arg10 == NULL) SWIG_fail;
9003 temp10 = True;
9004 }
9005 }
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9014 {
9015 if (temp3)
9016 delete arg3;
9017 }
9018 {
9019 if (temp10)
9020 delete arg10;
9021 }
9022 return resultobj;
9023 fail:
9024 {
9025 if (temp3)
9026 delete arg3;
9027 }
9028 {
9029 if (temp10)
9030 delete arg10;
9031 }
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxSpinCtrl *result;
9039 char *kwnames[] = {
9040 NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
9046 result = (wxSpinCtrl *)new wxSpinCtrl();
9047
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9052 return resultobj;
9053 fail:
9054 return NULL;
9055 }
9056
9057
9058 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9059 PyObject *resultobj;
9060 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9061 wxWindow *arg2 = (wxWindow *) 0 ;
9062 int arg3 = (int) -1 ;
9063 wxString const &arg4_defvalue = wxPyEmptyString ;
9064 wxString *arg4 = (wxString *) &arg4_defvalue ;
9065 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9066 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9067 wxSize const &arg6_defvalue = wxDefaultSize ;
9068 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9069 long arg7 = (long) wxSP_ARROW_KEYS ;
9070 int arg8 = (int) 0 ;
9071 int arg9 = (int) 100 ;
9072 int arg10 = (int) 0 ;
9073 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9074 wxString *arg11 = (wxString *) &arg11_defvalue ;
9075 bool result;
9076 bool temp4 = False ;
9077 wxPoint temp5 ;
9078 wxSize temp6 ;
9079 bool temp11 = False ;
9080 PyObject * obj0 = 0 ;
9081 PyObject * obj1 = 0 ;
9082 PyObject * obj3 = 0 ;
9083 PyObject * obj4 = 0 ;
9084 PyObject * obj5 = 0 ;
9085 PyObject * obj10 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9093 if (obj3) {
9094 {
9095 arg4 = wxString_in_helper(obj3);
9096 if (arg4 == NULL) SWIG_fail;
9097 temp4 = True;
9098 }
9099 }
9100 if (obj4) {
9101 {
9102 arg5 = &temp5;
9103 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9104 }
9105 }
9106 if (obj5) {
9107 {
9108 arg6 = &temp6;
9109 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9110 }
9111 }
9112 if (obj10) {
9113 {
9114 arg11 = wxString_in_helper(obj10);
9115 if (arg11 == NULL) SWIG_fail;
9116 temp11 = True;
9117 }
9118 }
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9122
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = PyInt_FromLong((long)result);
9127 {
9128 if (temp4)
9129 delete arg4;
9130 }
9131 {
9132 if (temp11)
9133 delete arg11;
9134 }
9135 return resultobj;
9136 fail:
9137 {
9138 if (temp4)
9139 delete arg4;
9140 }
9141 {
9142 if (temp11)
9143 delete arg11;
9144 }
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9152 int result;
9153 PyObject * obj0 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self", NULL
9156 };
9157
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 resultobj = PyInt_FromLong((long)result);
9168 return resultobj;
9169 fail:
9170 return NULL;
9171 }
9172
9173
9174 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj;
9176 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9177 int arg2 ;
9178 PyObject * obj0 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self",(char *) "value", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 (arg1)->SetValue(arg2);
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 Py_INCREF(Py_None); resultobj = Py_None;
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9202 wxString *arg2 = 0 ;
9203 bool temp2 = False ;
9204 PyObject * obj0 = 0 ;
9205 PyObject * obj1 = 0 ;
9206 char *kwnames[] = {
9207 (char *) "self",(char *) "text", NULL
9208 };
9209
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9212 {
9213 arg2 = wxString_in_helper(obj1);
9214 if (arg2 == NULL) SWIG_fail;
9215 temp2 = True;
9216 }
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->SetValue((wxString const &)*arg2);
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 Py_INCREF(Py_None); resultobj = Py_None;
9225 {
9226 if (temp2)
9227 delete arg2;
9228 }
9229 return resultobj;
9230 fail:
9231 {
9232 if (temp2)
9233 delete arg2;
9234 }
9235 return NULL;
9236 }
9237
9238
9239 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj;
9241 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9242 int arg2 ;
9243 int arg3 ;
9244 PyObject * obj0 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->SetRange(arg2,arg3);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9268 int result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = PyInt_FromLong((long)result);
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9293 int result;
9294 PyObject * obj0 = 0 ;
9295 char *kwnames[] = {
9296 (char *) "self", NULL
9297 };
9298
9299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = PyInt_FromLong((long)result);
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9318 long arg2 ;
9319 long arg3 ;
9320 PyObject * obj0 = 0 ;
9321 char *kwnames[] = {
9322 (char *) "self",(char *) "from",(char *) "to", NULL
9323 };
9324
9325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 Py_INCREF(Py_None); resultobj = Py_None;
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9342 PyObject *obj;
9343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9344 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9345 Py_INCREF(obj);
9346 return Py_BuildValue((char *)"");
9347 }
9348 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9351 int arg2 = (int) 0 ;
9352 wxSpinEvent *result;
9353 char *kwnames[] = {
9354 (char *) "commandType",(char *) "winid", NULL
9355 };
9356
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SpinEvent",kwnames,&arg1,&arg2)) goto fail;
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxSpinEvent *arg1 = (wxSpinEvent *) 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:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
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_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj;
9399 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9400 int arg2 ;
9401 PyObject * obj0 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "self",(char *) "pos", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 (arg1)->SetPosition(arg2);
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 Py_INCREF(Py_None); resultobj = Py_None;
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
9423 PyObject *obj;
9424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9425 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
9426 Py_INCREF(obj);
9427 return Py_BuildValue((char *)"");
9428 }
9429 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9430 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9431 return 1;
9432 }
9433
9434
9435 static PyObject *_wrap_RadioBoxNameStr_get() {
9436 PyObject *pyobj;
9437
9438 {
9439 #if wxUSE_UNICODE
9440 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9441 #else
9442 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9443 #endif
9444 }
9445 return pyobj;
9446 }
9447
9448
9449 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9450 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9451 return 1;
9452 }
9453
9454
9455 static PyObject *_wrap_RadioButtonNameStr_get() {
9456 PyObject *pyobj;
9457
9458 {
9459 #if wxUSE_UNICODE
9460 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9461 #else
9462 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9463 #endif
9464 }
9465 return pyobj;
9466 }
9467
9468
9469 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject *resultobj;
9471 wxWindow *arg1 = (wxWindow *) 0 ;
9472 int arg2 ;
9473 wxString *arg3 = 0 ;
9474 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9475 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9476 wxSize const &arg5_defvalue = wxDefaultSize ;
9477 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9478 int arg6 = (int) 0 ;
9479 wxString *arg7 = (wxString *) NULL ;
9480 int arg8 = (int) 0 ;
9481 long arg9 = (long) wxRA_HORIZONTAL ;
9482 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9483 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9484 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9485 wxString *arg11 = (wxString *) &arg11_defvalue ;
9486 wxRadioBox *result;
9487 bool temp3 = False ;
9488 wxPoint temp4 ;
9489 wxSize temp5 ;
9490 bool temp10 = False ;
9491 PyObject * obj0 = 0 ;
9492 PyObject * obj2 = 0 ;
9493 PyObject * obj3 = 0 ;
9494 PyObject * obj4 = 0 ;
9495 PyObject * obj5 = 0 ;
9496 PyObject * obj8 = 0 ;
9497 PyObject * obj9 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 {
9505 arg3 = wxString_in_helper(obj2);
9506 if (arg3 == NULL) SWIG_fail;
9507 temp3 = True;
9508 }
9509 if (obj3) {
9510 {
9511 arg4 = &temp4;
9512 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9513 }
9514 }
9515 if (obj4) {
9516 {
9517 arg5 = &temp5;
9518 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9519 }
9520 }
9521 if (obj5) {
9522 {
9523 arg6 = PyList_Size(obj5);
9524 arg7 = wxString_LIST_helper(obj5);
9525 if (arg7 == NULL) SWIG_fail;
9526 }
9527 }
9528 if (obj8) {
9529 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9530 if (arg10 == NULL) {
9531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9532 }
9533 }
9534 if (obj9) {
9535 {
9536 arg11 = wxString_in_helper(obj9);
9537 if (arg11 == NULL) SWIG_fail;
9538 temp10 = True;
9539 }
9540 }
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 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);
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9549 {
9550 if (temp3)
9551 delete arg3;
9552 }
9553 {
9554 if (arg7) delete [] arg7;
9555 }
9556 {
9557 if (temp10)
9558 delete arg11;
9559 }
9560 return resultobj;
9561 fail:
9562 {
9563 if (temp3)
9564 delete arg3;
9565 }
9566 {
9567 if (arg7) delete [] arg7;
9568 }
9569 {
9570 if (temp10)
9571 delete arg11;
9572 }
9573 return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj;
9579 wxRadioBox *result;
9580 char *kwnames[] = {
9581 NULL
9582 };
9583
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9585 {
9586 PyThreadState* __tstate = wxPyBeginAllowThreads();
9587 result = (wxRadioBox *)new wxRadioBox();
9588
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9593 return resultobj;
9594 fail:
9595 return NULL;
9596 }
9597
9598
9599 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj;
9601 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9602 wxWindow *arg2 = (wxWindow *) 0 ;
9603 int arg3 ;
9604 wxString *arg4 = 0 ;
9605 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9606 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9607 wxSize const &arg6_defvalue = wxDefaultSize ;
9608 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9609 int arg7 = (int) 0 ;
9610 wxString *arg8 = (wxString *) NULL ;
9611 int arg9 = (int) 0 ;
9612 long arg10 = (long) wxRA_HORIZONTAL ;
9613 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9614 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9615 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9616 wxString *arg12 = (wxString *) &arg12_defvalue ;
9617 bool result;
9618 bool temp4 = False ;
9619 wxPoint temp5 ;
9620 wxSize temp6 ;
9621 bool temp11 = False ;
9622 PyObject * obj0 = 0 ;
9623 PyObject * obj1 = 0 ;
9624 PyObject * obj3 = 0 ;
9625 PyObject * obj4 = 0 ;
9626 PyObject * obj5 = 0 ;
9627 PyObject * obj6 = 0 ;
9628 PyObject * obj9 = 0 ;
9629 PyObject * obj10 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 {
9638 arg4 = wxString_in_helper(obj3);
9639 if (arg4 == NULL) SWIG_fail;
9640 temp4 = True;
9641 }
9642 if (obj4) {
9643 {
9644 arg5 = &temp5;
9645 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9646 }
9647 }
9648 if (obj5) {
9649 {
9650 arg6 = &temp6;
9651 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9652 }
9653 }
9654 if (obj6) {
9655 {
9656 arg7 = PyList_Size(obj6);
9657 arg8 = wxString_LIST_helper(obj6);
9658 if (arg8 == NULL) SWIG_fail;
9659 }
9660 }
9661 if (obj9) {
9662 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9663 if (arg11 == NULL) {
9664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9665 }
9666 }
9667 if (obj10) {
9668 {
9669 arg12 = wxString_in_helper(obj10);
9670 if (arg12 == NULL) SWIG_fail;
9671 temp11 = True;
9672 }
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 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);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = PyInt_FromLong((long)result);
9682 {
9683 if (temp4)
9684 delete arg4;
9685 }
9686 {
9687 if (arg8) delete [] arg8;
9688 }
9689 {
9690 if (temp11)
9691 delete arg12;
9692 }
9693 return resultobj;
9694 fail:
9695 {
9696 if (temp4)
9697 delete arg4;
9698 }
9699 {
9700 if (arg8) delete [] arg8;
9701 }
9702 {
9703 if (temp11)
9704 delete arg12;
9705 }
9706 return NULL;
9707 }
9708
9709
9710 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject *resultobj;
9712 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9713 int arg2 ;
9714 PyObject * obj0 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "n", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 (arg1)->SetSelection(arg2);
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 Py_INCREF(Py_None); resultobj = Py_None;
9729 return resultobj;
9730 fail:
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9738 int result;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 resultobj = PyInt_FromLong((long)result);
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9763 wxString result;
9764 PyObject * obj0 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 {
9779 #if wxUSE_UNICODE
9780 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9781 #else
9782 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9783 #endif
9784 }
9785 return resultobj;
9786 fail:
9787 return NULL;
9788 }
9789
9790
9791 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9794 wxString *arg2 = 0 ;
9795 bool result;
9796 bool temp2 = False ;
9797 PyObject * obj0 = 0 ;
9798 PyObject * obj1 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "self",(char *) "s", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9805 {
9806 arg2 = wxString_in_helper(obj1);
9807 if (arg2 == NULL) SWIG_fail;
9808 temp2 = True;
9809 }
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 resultobj = PyInt_FromLong((long)result);
9818 {
9819 if (temp2)
9820 delete arg2;
9821 }
9822 return resultobj;
9823 fail:
9824 {
9825 if (temp2)
9826 delete arg2;
9827 }
9828 return NULL;
9829 }
9830
9831
9832 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject *resultobj;
9834 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9835 int result;
9836 PyObject * obj0 = 0 ;
9837 char *kwnames[] = {
9838 (char *) "self", NULL
9839 };
9840
9841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 result = (int)((wxRadioBox const *)arg1)->GetCount();
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 resultobj = PyInt_FromLong((long)result);
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9860 wxString *arg2 = 0 ;
9861 int result;
9862 bool temp2 = False ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self",(char *) "s", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9871 {
9872 arg2 = wxString_in_helper(obj1);
9873 if (arg2 == NULL) SWIG_fail;
9874 temp2 = True;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9879
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) SWIG_fail;
9882 }
9883 resultobj = PyInt_FromLong((long)result);
9884 {
9885 if (temp2)
9886 delete arg2;
9887 }
9888 return resultobj;
9889 fail:
9890 {
9891 if (temp2)
9892 delete arg2;
9893 }
9894 return NULL;
9895 }
9896
9897
9898 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9901 int arg2 ;
9902 wxString result;
9903 PyObject * obj0 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "n", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9910 {
9911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9912 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9913
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 {
9918 #if wxUSE_UNICODE
9919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9920 #else
9921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9922 #endif
9923 }
9924 return resultobj;
9925 fail:
9926 return NULL;
9927 }
9928
9929
9930 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9933 int arg2 ;
9934 wxString *arg3 = 0 ;
9935 bool temp3 = False ;
9936 PyObject * obj0 = 0 ;
9937 PyObject * obj2 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "self",(char *) "n",(char *) "label", NULL
9940 };
9941
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9944 {
9945 arg3 = wxString_in_helper(obj2);
9946 if (arg3 == NULL) SWIG_fail;
9947 temp3 = True;
9948 }
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 (arg1)->SetString(arg2,(wxString const &)*arg3);
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 Py_INCREF(Py_None); resultobj = Py_None;
9957 {
9958 if (temp3)
9959 delete arg3;
9960 }
9961 return resultobj;
9962 fail:
9963 {
9964 if (temp3)
9965 delete arg3;
9966 }
9967 return NULL;
9968 }
9969
9970
9971 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9972 PyObject *resultobj;
9973 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9974 int arg2 ;
9975 bool arg3 = (bool) True ;
9976 PyObject * obj0 = 0 ;
9977 PyObject * obj2 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self",(char *) "n",(char *) "enable", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9984 if (obj2) {
9985 arg3 = PyInt_AsLong(obj2) ? true : false;
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 (arg1)->Enable(arg2,arg3);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 Py_INCREF(Py_None); resultobj = Py_None;
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10005 int arg2 ;
10006 bool arg3 = (bool) True ;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj2 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "n",(char *) "show", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 if (obj2) {
10016 arg3 = PyInt_AsLong(obj2) ? true : false;
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 (arg1)->Show(arg2,arg3);
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 Py_INCREF(Py_None); resultobj = Py_None;
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10036 int result;
10037 PyObject * obj0 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 resultobj = PyInt_FromLong((long)result);
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10061 int result;
10062 PyObject * obj0 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 resultobj = PyInt_FromLong((long)result);
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10086 int arg2 ;
10087 int arg3 ;
10088 long arg4 ;
10089 int result;
10090 PyObject * obj0 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = PyInt_FromLong((long)result);
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10112 PyObject *obj;
10113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10114 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10115 Py_INCREF(obj);
10116 return Py_BuildValue((char *)"");
10117 }
10118 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxWindow *arg1 = (wxWindow *) 0 ;
10121 int arg2 ;
10122 wxString *arg3 = 0 ;
10123 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10124 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10125 wxSize const &arg5_defvalue = wxDefaultSize ;
10126 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10127 long arg6 = (long) 0 ;
10128 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10129 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10130 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10131 wxString *arg8 = (wxString *) &arg8_defvalue ;
10132 wxRadioButton *result;
10133 bool temp3 = False ;
10134 wxPoint temp4 ;
10135 wxSize temp5 ;
10136 bool temp8 = False ;
10137 PyObject * obj0 = 0 ;
10138 PyObject * obj2 = 0 ;
10139 PyObject * obj3 = 0 ;
10140 PyObject * obj4 = 0 ;
10141 PyObject * obj6 = 0 ;
10142 PyObject * obj7 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10149 {
10150 arg3 = wxString_in_helper(obj2);
10151 if (arg3 == NULL) SWIG_fail;
10152 temp3 = True;
10153 }
10154 if (obj3) {
10155 {
10156 arg4 = &temp4;
10157 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10158 }
10159 }
10160 if (obj4) {
10161 {
10162 arg5 = &temp5;
10163 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10164 }
10165 }
10166 if (obj6) {
10167 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10168 if (arg7 == NULL) {
10169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10170 }
10171 }
10172 if (obj7) {
10173 {
10174 arg8 = wxString_in_helper(obj7);
10175 if (arg8 == NULL) SWIG_fail;
10176 temp8 = True;
10177 }
10178 }
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10182
10183 wxPyEndAllowThreads(__tstate);
10184 if (PyErr_Occurred()) SWIG_fail;
10185 }
10186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10187 {
10188 if (temp3)
10189 delete arg3;
10190 }
10191 {
10192 if (temp8)
10193 delete arg8;
10194 }
10195 return resultobj;
10196 fail:
10197 {
10198 if (temp3)
10199 delete arg3;
10200 }
10201 {
10202 if (temp8)
10203 delete arg8;
10204 }
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxRadioButton *result;
10212 char *kwnames[] = {
10213 NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 result = (wxRadioButton *)new wxRadioButton();
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10225 return resultobj;
10226 fail:
10227 return NULL;
10228 }
10229
10230
10231 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10232 PyObject *resultobj;
10233 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10234 wxWindow *arg2 = (wxWindow *) 0 ;
10235 int arg3 ;
10236 wxString *arg4 = 0 ;
10237 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10238 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10239 wxSize const &arg6_defvalue = wxDefaultSize ;
10240 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10241 long arg7 = (long) 0 ;
10242 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10243 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10244 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10245 wxString *arg9 = (wxString *) &arg9_defvalue ;
10246 bool result;
10247 bool temp4 = False ;
10248 wxPoint temp5 ;
10249 wxSize temp6 ;
10250 bool temp9 = False ;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 PyObject * obj3 = 0 ;
10254 PyObject * obj4 = 0 ;
10255 PyObject * obj5 = 0 ;
10256 PyObject * obj7 = 0 ;
10257 PyObject * obj8 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10265 {
10266 arg4 = wxString_in_helper(obj3);
10267 if (arg4 == NULL) SWIG_fail;
10268 temp4 = True;
10269 }
10270 if (obj4) {
10271 {
10272 arg5 = &temp5;
10273 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10274 }
10275 }
10276 if (obj5) {
10277 {
10278 arg6 = &temp6;
10279 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10280 }
10281 }
10282 if (obj7) {
10283 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10284 if (arg8 == NULL) {
10285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10286 }
10287 }
10288 if (obj8) {
10289 {
10290 arg9 = wxString_in_helper(obj8);
10291 if (arg9 == NULL) SWIG_fail;
10292 temp9 = True;
10293 }
10294 }
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 resultobj = PyInt_FromLong((long)result);
10303 {
10304 if (temp4)
10305 delete arg4;
10306 }
10307 {
10308 if (temp9)
10309 delete arg9;
10310 }
10311 return resultobj;
10312 fail:
10313 {
10314 if (temp4)
10315 delete arg4;
10316 }
10317 {
10318 if (temp9)
10319 delete arg9;
10320 }
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10328 bool result;
10329 PyObject * obj0 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 result = (bool)(arg1)->GetValue();
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 resultobj = PyInt_FromLong((long)result);
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10353 bool arg2 ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self",(char *) "value", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10362 arg2 = PyInt_AsLong(obj1) ? true : false;
10363 if (PyErr_Occurred()) SWIG_fail;
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 (arg1)->SetValue(arg2);
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 Py_INCREF(Py_None); resultobj = Py_None;
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10379 PyObject *obj;
10380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10381 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10382 Py_INCREF(obj);
10383 return Py_BuildValue((char *)"");
10384 }
10385 static int _wrap_SliderNameStr_set(PyObject *_val) {
10386 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10387 return 1;
10388 }
10389
10390
10391 static PyObject *_wrap_SliderNameStr_get() {
10392 PyObject *pyobj;
10393
10394 {
10395 #if wxUSE_UNICODE
10396 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10397 #else
10398 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10399 #endif
10400 }
10401 return pyobj;
10402 }
10403
10404
10405 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj;
10407 wxWindow *arg1 = (wxWindow *) 0 ;
10408 int arg2 ;
10409 int arg3 ;
10410 int arg4 ;
10411 int arg5 ;
10412 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10413 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10414 wxSize const &arg7_defvalue = wxDefaultSize ;
10415 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10416 long arg8 = (long) wxSL_HORIZONTAL ;
10417 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10418 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10419 wxString const &arg10_defvalue = wxPySliderNameStr ;
10420 wxString *arg10 = (wxString *) &arg10_defvalue ;
10421 wxSlider *result;
10422 wxPoint temp6 ;
10423 wxSize temp7 ;
10424 bool temp10 = False ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj5 = 0 ;
10427 PyObject * obj6 = 0 ;
10428 PyObject * obj8 = 0 ;
10429 PyObject * obj9 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 if (obj5) {
10437 {
10438 arg6 = &temp6;
10439 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10440 }
10441 }
10442 if (obj6) {
10443 {
10444 arg7 = &temp7;
10445 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10446 }
10447 }
10448 if (obj8) {
10449 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10450 if (arg9 == NULL) {
10451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10452 }
10453 }
10454 if (obj9) {
10455 {
10456 arg10 = wxString_in_helper(obj9);
10457 if (arg10 == NULL) SWIG_fail;
10458 temp10 = True;
10459 }
10460 }
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10469 {
10470 if (temp10)
10471 delete arg10;
10472 }
10473 return resultobj;
10474 fail:
10475 {
10476 if (temp10)
10477 delete arg10;
10478 }
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxSlider *result;
10486 char *kwnames[] = {
10487 NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 result = (wxSlider *)new wxSlider();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxSlider *arg1 = (wxSlider *) 0 ;
10508 wxWindow *arg2 = (wxWindow *) 0 ;
10509 int arg3 ;
10510 int arg4 ;
10511 int arg5 ;
10512 int arg6 ;
10513 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10514 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10515 wxSize const &arg8_defvalue = wxDefaultSize ;
10516 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10517 long arg9 = (long) wxSL_HORIZONTAL ;
10518 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10519 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10520 wxString const &arg11_defvalue = wxPySliderNameStr ;
10521 wxString *arg11 = (wxString *) &arg11_defvalue ;
10522 bool result;
10523 wxPoint temp7 ;
10524 wxSize temp8 ;
10525 bool temp11 = False ;
10526 PyObject * obj0 = 0 ;
10527 PyObject * obj1 = 0 ;
10528 PyObject * obj6 = 0 ;
10529 PyObject * obj7 = 0 ;
10530 PyObject * obj9 = 0 ;
10531 PyObject * obj10 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10539 if (obj6) {
10540 {
10541 arg7 = &temp7;
10542 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10543 }
10544 }
10545 if (obj7) {
10546 {
10547 arg8 = &temp8;
10548 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10549 }
10550 }
10551 if (obj9) {
10552 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10553 if (arg10 == NULL) {
10554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10555 }
10556 }
10557 if (obj10) {
10558 {
10559 arg11 = wxString_in_helper(obj10);
10560 if (arg11 == NULL) SWIG_fail;
10561 temp11 = True;
10562 }
10563 }
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 resultobj = PyInt_FromLong((long)result);
10572 {
10573 if (temp11)
10574 delete arg11;
10575 }
10576 return resultobj;
10577 fail:
10578 {
10579 if (temp11)
10580 delete arg11;
10581 }
10582 return NULL;
10583 }
10584
10585
10586 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10587 PyObject *resultobj;
10588 wxSlider *arg1 = (wxSlider *) 0 ;
10589 int result;
10590 PyObject * obj0 = 0 ;
10591 char *kwnames[] = {
10592 (char *) "self", NULL
10593 };
10594
10595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = (int)((wxSlider const *)arg1)->GetValue();
10600
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 resultobj = PyInt_FromLong((long)result);
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxSlider *arg1 = (wxSlider *) 0 ;
10614 int arg2 ;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self",(char *) "value", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 (arg1)->SetValue(arg2);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 Py_INCREF(Py_None); resultobj = Py_None;
10630 return resultobj;
10631 fail:
10632 return NULL;
10633 }
10634
10635
10636 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxSlider *arg1 = (wxSlider *) 0 ;
10639 int arg2 ;
10640 int arg3 ;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 (arg1)->SetRange(arg2,arg3);
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 Py_INCREF(Py_None); resultobj = Py_None;
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxSlider *arg1 = (wxSlider *) 0 ;
10665 int result;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (int)((wxSlider const *)arg1)->GetMin();
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 resultobj = PyInt_FromLong((long)result);
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxSlider *arg1 = (wxSlider *) 0 ;
10690 int result;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 result = (int)((wxSlider const *)arg1)->GetMax();
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 resultobj = PyInt_FromLong((long)result);
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxSlider *arg1 = (wxSlider *) 0 ;
10715 int arg2 ;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "minValue", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 (arg1)->SetMin(arg2);
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 Py_INCREF(Py_None); resultobj = Py_None;
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxSlider *arg1 = (wxSlider *) 0 ;
10740 int arg2 ;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self",(char *) "maxValue", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 (arg1)->SetMax(arg2);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 Py_INCREF(Py_None); resultobj = Py_None;
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxSlider *arg1 = (wxSlider *) 0 ;
10765 int arg2 ;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "lineSize", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetLineSize(arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxSlider *arg1 = (wxSlider *) 0 ;
10790 int arg2 ;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "pageSize", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 (arg1)->SetPageSize(arg2);
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 Py_INCREF(Py_None); resultobj = Py_None;
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxSlider *arg1 = (wxSlider *) 0 ;
10815 int result;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = (int)((wxSlider const *)arg1)->GetLineSize();
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 resultobj = PyInt_FromLong((long)result);
10831 return resultobj;
10832 fail:
10833 return NULL;
10834 }
10835
10836
10837 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10838 PyObject *resultobj;
10839 wxSlider *arg1 = (wxSlider *) 0 ;
10840 int result;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 result = (int)((wxSlider const *)arg1)->GetPageSize();
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 resultobj = PyInt_FromLong((long)result);
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxSlider *arg1 = (wxSlider *) 0 ;
10865 int arg2 ;
10866 PyObject * obj0 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self",(char *) "lenPixels", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->SetThumbLength(arg2);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxSlider *arg1 = (wxSlider *) 0 ;
10890 int result;
10891 PyObject * obj0 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 resultobj = PyInt_FromLong((long)result);
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj;
10914 wxSlider *arg1 = (wxSlider *) 0 ;
10915 int arg2 ;
10916 int arg3 ;
10917 PyObject * obj0 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "n",(char *) "pos", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10924 {
10925 PyThreadState* __tstate = wxPyBeginAllowThreads();
10926 (arg1)->SetTickFreq(arg2,arg3);
10927
10928 wxPyEndAllowThreads(__tstate);
10929 if (PyErr_Occurred()) SWIG_fail;
10930 }
10931 Py_INCREF(Py_None); resultobj = Py_None;
10932 return resultobj;
10933 fail:
10934 return NULL;
10935 }
10936
10937
10938 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10939 PyObject *resultobj;
10940 wxSlider *arg1 = (wxSlider *) 0 ;
10941 int result;
10942 PyObject * obj0 = 0 ;
10943 char *kwnames[] = {
10944 (char *) "self", NULL
10945 };
10946
10947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 resultobj = PyInt_FromLong((long)result);
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxSlider *arg1 = (wxSlider *) 0 ;
10966 PyObject * obj0 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 (arg1)->ClearTicks();
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 Py_INCREF(Py_None); resultobj = Py_None;
10981 return resultobj;
10982 fail:
10983 return NULL;
10984 }
10985
10986
10987 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxSlider *arg1 = (wxSlider *) 0 ;
10990 int arg2 ;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self",(char *) "tickPos", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 (arg1)->SetTick(arg2);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 Py_INCREF(Py_None); resultobj = Py_None;
11006 return resultobj;
11007 fail:
11008 return NULL;
11009 }
11010
11011
11012 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxSlider *arg1 = (wxSlider *) 0 ;
11015 PyObject * obj0 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self", NULL
11018 };
11019
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 (arg1)->ClearSel();
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 Py_INCREF(Py_None); resultobj = Py_None;
11030 return resultobj;
11031 fail:
11032 return NULL;
11033 }
11034
11035
11036 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11037 PyObject *resultobj;
11038 wxSlider *arg1 = (wxSlider *) 0 ;
11039 int result;
11040 PyObject * obj0 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "self", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 resultobj = PyInt_FromLong((long)result);
11055 return resultobj;
11056 fail:
11057 return NULL;
11058 }
11059
11060
11061 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxSlider *arg1 = (wxSlider *) 0 ;
11064 int result;
11065 PyObject * obj0 = 0 ;
11066 char *kwnames[] = {
11067 (char *) "self", NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (int)((wxSlider const *)arg1)->GetSelStart();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 resultobj = PyInt_FromLong((long)result);
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxSlider *arg1 = (wxSlider *) 0 ;
11089 int arg2 ;
11090 int arg3 ;
11091 PyObject * obj0 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self",(char *) "min",(char *) "max", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 (arg1)->SetSelection(arg2,arg3);
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 Py_INCREF(Py_None); resultobj = Py_None;
11106 return resultobj;
11107 fail:
11108 return NULL;
11109 }
11110
11111
11112 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11113 PyObject *obj;
11114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11115 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11116 Py_INCREF(obj);
11117 return Py_BuildValue((char *)"");
11118 }
11119 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11120 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11121 return 1;
11122 }
11123
11124
11125 static PyObject *_wrap_ToggleButtonNameStr_get() {
11126 PyObject *pyobj;
11127
11128 {
11129 #if wxUSE_UNICODE
11130 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11131 #else
11132 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11133 #endif
11134 }
11135 return pyobj;
11136 }
11137
11138
11139 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxWindow *arg1 = (wxWindow *) 0 ;
11142 int arg2 ;
11143 wxString *arg3 = 0 ;
11144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11146 wxSize const &arg5_defvalue = wxDefaultSize ;
11147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11148 long arg6 = (long) 0 ;
11149 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11150 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11151 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11152 wxString *arg8 = (wxString *) &arg8_defvalue ;
11153 wxToggleButton *result;
11154 bool temp3 = False ;
11155 wxPoint temp4 ;
11156 wxSize temp5 ;
11157 bool temp8 = False ;
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj2 = 0 ;
11160 PyObject * obj3 = 0 ;
11161 PyObject * obj4 = 0 ;
11162 PyObject * obj6 = 0 ;
11163 PyObject * obj7 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11170 {
11171 arg3 = wxString_in_helper(obj2);
11172 if (arg3 == NULL) SWIG_fail;
11173 temp3 = True;
11174 }
11175 if (obj3) {
11176 {
11177 arg4 = &temp4;
11178 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11179 }
11180 }
11181 if (obj4) {
11182 {
11183 arg5 = &temp5;
11184 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11185 }
11186 }
11187 if (obj6) {
11188 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11189 if (arg7 == NULL) {
11190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11191 }
11192 }
11193 if (obj7) {
11194 {
11195 arg8 = wxString_in_helper(obj7);
11196 if (arg8 == NULL) SWIG_fail;
11197 temp8 = True;
11198 }
11199 }
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11208 {
11209 if (temp3)
11210 delete arg3;
11211 }
11212 {
11213 if (temp8)
11214 delete arg8;
11215 }
11216 return resultobj;
11217 fail:
11218 {
11219 if (temp3)
11220 delete arg3;
11221 }
11222 {
11223 if (temp8)
11224 delete arg8;
11225 }
11226 return NULL;
11227 }
11228
11229
11230 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11231 PyObject *resultobj;
11232 wxToggleButton *result;
11233 char *kwnames[] = {
11234 NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (wxToggleButton *)new wxToggleButton();
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11255 wxWindow *arg2 = (wxWindow *) 0 ;
11256 int arg3 ;
11257 wxString *arg4 = 0 ;
11258 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11259 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11260 wxSize const &arg6_defvalue = wxDefaultSize ;
11261 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11262 long arg7 = (long) 0 ;
11263 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11264 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11265 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11266 wxString *arg9 = (wxString *) &arg9_defvalue ;
11267 bool result;
11268 bool temp4 = False ;
11269 wxPoint temp5 ;
11270 wxSize temp6 ;
11271 bool temp9 = False ;
11272 PyObject * obj0 = 0 ;
11273 PyObject * obj1 = 0 ;
11274 PyObject * obj3 = 0 ;
11275 PyObject * obj4 = 0 ;
11276 PyObject * obj5 = 0 ;
11277 PyObject * obj7 = 0 ;
11278 PyObject * obj8 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11286 {
11287 arg4 = wxString_in_helper(obj3);
11288 if (arg4 == NULL) SWIG_fail;
11289 temp4 = True;
11290 }
11291 if (obj4) {
11292 {
11293 arg5 = &temp5;
11294 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11295 }
11296 }
11297 if (obj5) {
11298 {
11299 arg6 = &temp6;
11300 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11301 }
11302 }
11303 if (obj7) {
11304 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11305 if (arg8 == NULL) {
11306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11307 }
11308 }
11309 if (obj8) {
11310 {
11311 arg9 = wxString_in_helper(obj8);
11312 if (arg9 == NULL) SWIG_fail;
11313 temp9 = True;
11314 }
11315 }
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 resultobj = PyInt_FromLong((long)result);
11324 {
11325 if (temp4)
11326 delete arg4;
11327 }
11328 {
11329 if (temp9)
11330 delete arg9;
11331 }
11332 return resultobj;
11333 fail:
11334 {
11335 if (temp4)
11336 delete arg4;
11337 }
11338 {
11339 if (temp9)
11340 delete arg9;
11341 }
11342 return NULL;
11343 }
11344
11345
11346 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11349 bool arg2 ;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
11352 char *kwnames[] = {
11353 (char *) "self",(char *) "value", NULL
11354 };
11355
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11358 arg2 = PyInt_AsLong(obj1) ? true : false;
11359 if (PyErr_Occurred()) SWIG_fail;
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 (arg1)->SetValue(arg2);
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
11367 Py_INCREF(Py_None); resultobj = Py_None;
11368 return resultobj;
11369 fail:
11370 return NULL;
11371 }
11372
11373
11374 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11377 bool result;
11378 PyObject * obj0 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 resultobj = PyInt_FromLong((long)result);
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11402 wxString *arg2 = 0 ;
11403 bool temp2 = False ;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "label", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11412 {
11413 arg2 = wxString_in_helper(obj1);
11414 if (arg2 == NULL) SWIG_fail;
11415 temp2 = True;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 (arg1)->SetLabel((wxString const &)*arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 Py_INCREF(Py_None); resultobj = Py_None;
11425 {
11426 if (temp2)
11427 delete arg2;
11428 }
11429 return resultobj;
11430 fail:
11431 {
11432 if (temp2)
11433 delete arg2;
11434 }
11435 return NULL;
11436 }
11437
11438
11439 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11440 PyObject *obj;
11441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11442 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11443 Py_INCREF(obj);
11444 return Py_BuildValue((char *)"");
11445 }
11446 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11447 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11448 return 1;
11449 }
11450
11451
11452 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11453 PyObject *pyobj;
11454
11455 {
11456 #if wxUSE_UNICODE
11457 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11458 #else
11459 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11460 #endif
11461 }
11462 return pyobj;
11463 }
11464
11465
11466 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11469 size_t result;
11470 PyObject * obj0 = 0 ;
11471 char *kwnames[] = {
11472 (char *) "self", NULL
11473 };
11474
11475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = PyInt_FromLong((long)result);
11485 return resultobj;
11486 fail:
11487 return NULL;
11488 }
11489
11490
11491 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj;
11493 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11494 size_t arg2 ;
11495 wxWindow *result;
11496 PyObject * obj0 = 0 ;
11497 PyObject * obj1 = 0 ;
11498 char *kwnames[] = {
11499 (char *) "self",(char *) "n", NULL
11500 };
11501
11502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11504 arg2 = (size_t) PyInt_AsLong(obj1);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 result = (wxWindow *)(arg1)->GetPage(arg2);
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
11513 {
11514 resultobj = wxPyMake_wxObject(result);
11515 }
11516 return resultobj;
11517 fail:
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11525 int result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 resultobj = PyInt_FromLong((long)result);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11550 size_t arg2 ;
11551 wxString *arg3 = 0 ;
11552 bool result;
11553 bool temp3 = False ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 PyObject * obj2 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "self",(char *) "n",(char *) "strText", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11563 arg2 = (size_t) PyInt_AsLong(obj1);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 {
11566 arg3 = wxString_in_helper(obj2);
11567 if (arg3 == NULL) SWIG_fail;
11568 temp3 = True;
11569 }
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11573
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 resultobj = PyInt_FromLong((long)result);
11578 {
11579 if (temp3)
11580 delete arg3;
11581 }
11582 return resultobj;
11583 fail:
11584 {
11585 if (temp3)
11586 delete arg3;
11587 }
11588 return NULL;
11589 }
11590
11591
11592 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11595 size_t arg2 ;
11596 wxString result;
11597 PyObject * obj0 = 0 ;
11598 PyObject * obj1 = 0 ;
11599 char *kwnames[] = {
11600 (char *) "self",(char *) "n", NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11605 arg2 = (size_t) PyInt_AsLong(obj1);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 {
11615 #if wxUSE_UNICODE
11616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11617 #else
11618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11619 #endif
11620 }
11621 return resultobj;
11622 fail:
11623 return NULL;
11624 }
11625
11626
11627 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11628 PyObject *resultobj;
11629 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11630 wxImageList *arg2 = (wxImageList *) 0 ;
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self",(char *) "imageList", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->SetImageList(arg2);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 Py_INCREF(Py_None); resultobj = Py_None;
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11657 wxImageList *arg2 = (wxImageList *) 0 ;
11658 PyObject * obj0 = 0 ;
11659 PyObject * obj1 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "self",(char *) "imageList", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11667 {
11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
11669 (arg1)->AssignImageList(arg2);
11670
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 Py_INCREF(Py_None); resultobj = Py_None;
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11684 wxImageList *result;
11685 PyObject * obj0 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 {
11700 resultobj = wxPyMake_wxObject(result);
11701 }
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11711 size_t arg2 ;
11712 int result;
11713 PyObject * obj0 = 0 ;
11714 PyObject * obj1 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self",(char *) "n", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11721 arg2 = (size_t) PyInt_AsLong(obj1);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 {
11724 PyThreadState* __tstate = wxPyBeginAllowThreads();
11725 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11726
11727 wxPyEndAllowThreads(__tstate);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 resultobj = PyInt_FromLong((long)result);
11731 return resultobj;
11732 fail:
11733 return NULL;
11734 }
11735
11736
11737 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11738 PyObject *resultobj;
11739 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11740 size_t arg2 ;
11741 int arg3 ;
11742 bool result;
11743 PyObject * obj0 = 0 ;
11744 PyObject * obj1 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self",(char *) "n",(char *) "imageId", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11751 arg2 = (size_t) PyInt_AsLong(obj1);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 }
11760 resultobj = PyInt_FromLong((long)result);
11761 return resultobj;
11762 fail:
11763 return NULL;
11764 }
11765
11766
11767 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11770 wxSize *arg2 = 0 ;
11771 wxSize temp2 ;
11772 PyObject * obj0 = 0 ;
11773 PyObject * obj1 = 0 ;
11774 char *kwnames[] = {
11775 (char *) "self",(char *) "size", NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11780 {
11781 arg2 = &temp2;
11782 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11783 }
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 (arg1)->SetPageSize((wxSize const &)*arg2);
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 Py_INCREF(Py_None); resultobj = Py_None;
11792 return resultobj;
11793 fail:
11794 return NULL;
11795 }
11796
11797
11798 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11799 PyObject *resultobj;
11800 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11801 wxSize *arg2 = 0 ;
11802 wxSize result;
11803 wxSize temp2 ;
11804 PyObject * obj0 = 0 ;
11805 PyObject * obj1 = 0 ;
11806 char *kwnames[] = {
11807 (char *) "self",(char *) "sizePage", NULL
11808 };
11809
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11812 {
11813 arg2 = &temp2;
11814 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11815 }
11816 {
11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
11818 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11819
11820 wxPyEndAllowThreads(__tstate);
11821 if (PyErr_Occurred()) SWIG_fail;
11822 }
11823 {
11824 wxSize * resultptr;
11825 resultptr = new wxSize((wxSize &) result);
11826 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11827 }
11828 return resultobj;
11829 fail:
11830 return NULL;
11831 }
11832
11833
11834 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj;
11836 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11837 size_t arg2 ;
11838 bool result;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
11841 char *kwnames[] = {
11842 (char *) "self",(char *) "n", NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11847 arg2 = (size_t) PyInt_AsLong(obj1);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 result = (bool)(arg1)->DeletePage(arg2);
11852
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = PyInt_FromLong((long)result);
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11866 size_t arg2 ;
11867 bool result;
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self",(char *) "n", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11876 arg2 = (size_t) PyInt_AsLong(obj1);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 {
11879 PyThreadState* __tstate = wxPyBeginAllowThreads();
11880 result = (bool)(arg1)->RemovePage(arg2);
11881
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 resultobj = PyInt_FromLong((long)result);
11886 return resultobj;
11887 fail:
11888 return NULL;
11889 }
11890
11891
11892 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj;
11894 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11895 bool result;
11896 PyObject * obj0 = 0 ;
11897 char *kwnames[] = {
11898 (char *) "self", NULL
11899 };
11900
11901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 result = (bool)(arg1)->DeleteAllPages();
11906
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 resultobj = PyInt_FromLong((long)result);
11911 return resultobj;
11912 fail:
11913 return NULL;
11914 }
11915
11916
11917 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj;
11919 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11920 wxWindow *arg2 = (wxWindow *) 0 ;
11921 wxString *arg3 = 0 ;
11922 bool arg4 = (bool) False ;
11923 int arg5 = (int) -1 ;
11924 bool result;
11925 bool temp3 = False ;
11926 PyObject * obj0 = 0 ;
11927 PyObject * obj1 = 0 ;
11928 PyObject * obj2 = 0 ;
11929 PyObject * obj3 = 0 ;
11930 char *kwnames[] = {
11931 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11932 };
11933
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11937 {
11938 arg3 = wxString_in_helper(obj2);
11939 if (arg3 == NULL) SWIG_fail;
11940 temp3 = True;
11941 }
11942 if (obj3) {
11943 arg4 = PyInt_AsLong(obj3) ? true : false;
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = PyInt_FromLong((long)result);
11954 {
11955 if (temp3)
11956 delete arg3;
11957 }
11958 return resultobj;
11959 fail:
11960 {
11961 if (temp3)
11962 delete arg3;
11963 }
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11971 size_t arg2 ;
11972 wxWindow *arg3 = (wxWindow *) 0 ;
11973 wxString *arg4 = 0 ;
11974 bool arg5 = (bool) False ;
11975 int arg6 = (int) -1 ;
11976 bool result;
11977 bool temp4 = False ;
11978 PyObject * obj0 = 0 ;
11979 PyObject * obj1 = 0 ;
11980 PyObject * obj2 = 0 ;
11981 PyObject * obj3 = 0 ;
11982 PyObject * obj4 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11989 arg2 = (size_t) PyInt_AsLong(obj1);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11992 {
11993 arg4 = wxString_in_helper(obj3);
11994 if (arg4 == NULL) SWIG_fail;
11995 temp4 = True;
11996 }
11997 if (obj4) {
11998 arg5 = PyInt_AsLong(obj4) ? true : false;
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 resultobj = PyInt_FromLong((long)result);
12009 {
12010 if (temp4)
12011 delete arg4;
12012 }
12013 return resultobj;
12014 fail:
12015 {
12016 if (temp4)
12017 delete arg4;
12018 }
12019 return NULL;
12020 }
12021
12022
12023 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12026 size_t arg2 ;
12027 int result;
12028 PyObject * obj0 = 0 ;
12029 PyObject * obj1 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self",(char *) "n", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12036 arg2 = (size_t) PyInt_AsLong(obj1);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 result = (int)(arg1)->SetSelection(arg2);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = PyInt_FromLong((long)result);
12046 return resultobj;
12047 fail:
12048 return NULL;
12049 }
12050
12051
12052 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12055 bool arg2 = (bool) True ;
12056 PyObject * obj0 = 0 ;
12057 PyObject * obj1 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self",(char *) "forward", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12064 if (obj1) {
12065 arg2 = PyInt_AsLong(obj1) ? true : false;
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 {
12069 PyThreadState* __tstate = wxPyBeginAllowThreads();
12070 (arg1)->AdvanceSelection(arg2);
12071
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 Py_INCREF(Py_None); resultobj = Py_None;
12076 return resultobj;
12077 fail:
12078 return NULL;
12079 }
12080
12081
12082 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12083 PyObject *obj;
12084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12085 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12086 Py_INCREF(obj);
12087 return Py_BuildValue((char *)"");
12088 }
12089 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12092 int arg2 = (int) 0 ;
12093 int arg3 = (int) -1 ;
12094 int arg4 = (int) -1 ;
12095 wxBookCtrlEvent *result;
12096 char *kwnames[] = {
12097 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12118 int result;
12119 PyObject * obj0 = 0 ;
12120 char *kwnames[] = {
12121 (char *) "self", NULL
12122 };
12123
12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = PyInt_FromLong((long)result);
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12143 int arg2 ;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self",(char *) "nSel", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->SetSelection(arg2);
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 Py_INCREF(Py_None); resultobj = Py_None;
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12168 int result;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 resultobj = PyInt_FromLong((long)result);
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12193 int arg2 ;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self",(char *) "nOldSel", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 (arg1)->SetOldSelection(arg2);
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 Py_INCREF(Py_None); resultobj = Py_None;
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12216 PyObject *obj;
12217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12218 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12219 Py_INCREF(obj);
12220 return Py_BuildValue((char *)"");
12221 }
12222 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxWindow *arg1 = (wxWindow *) 0 ;
12225 int arg2 ;
12226 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12227 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12228 wxSize const &arg4_defvalue = wxDefaultSize ;
12229 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12230 long arg5 = (long) 0 ;
12231 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12232 wxString *arg6 = (wxString *) &arg6_defvalue ;
12233 wxNotebook *result;
12234 wxPoint temp3 ;
12235 wxSize temp4 ;
12236 bool temp6 = False ;
12237 PyObject * obj0 = 0 ;
12238 PyObject * obj2 = 0 ;
12239 PyObject * obj3 = 0 ;
12240 PyObject * obj5 = 0 ;
12241 char *kwnames[] = {
12242 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12243 };
12244
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12247 if (obj2) {
12248 {
12249 arg3 = &temp3;
12250 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12251 }
12252 }
12253 if (obj3) {
12254 {
12255 arg4 = &temp4;
12256 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12257 }
12258 }
12259 if (obj5) {
12260 {
12261 arg6 = wxString_in_helper(obj5);
12262 if (arg6 == NULL) SWIG_fail;
12263 temp6 = True;
12264 }
12265 }
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274 resultobj = wxPyMake_wxObject(result);
12275 }
12276 {
12277 if (temp6)
12278 delete arg6;
12279 }
12280 return resultobj;
12281 fail:
12282 {
12283 if (temp6)
12284 delete arg6;
12285 }
12286 return NULL;
12287 }
12288
12289
12290 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj;
12292 wxNotebook *result;
12293 char *kwnames[] = {
12294 NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (wxNotebook *)new wxNotebook();
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 {
12306 resultobj = wxPyMake_wxObject(result);
12307 }
12308 return resultobj;
12309 fail:
12310 return NULL;
12311 }
12312
12313
12314 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12315 PyObject *resultobj;
12316 wxNotebook *arg1 = (wxNotebook *) 0 ;
12317 wxWindow *arg2 = (wxWindow *) 0 ;
12318 int arg3 ;
12319 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12320 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12321 wxSize const &arg5_defvalue = wxDefaultSize ;
12322 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12323 long arg6 = (long) 0 ;
12324 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12325 wxString *arg7 = (wxString *) &arg7_defvalue ;
12326 bool result;
12327 wxPoint temp4 ;
12328 wxSize temp5 ;
12329 bool temp7 = False ;
12330 PyObject * obj0 = 0 ;
12331 PyObject * obj1 = 0 ;
12332 PyObject * obj3 = 0 ;
12333 PyObject * obj4 = 0 ;
12334 PyObject * obj6 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12342 if (obj3) {
12343 {
12344 arg4 = &temp4;
12345 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12346 }
12347 }
12348 if (obj4) {
12349 {
12350 arg5 = &temp5;
12351 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12352 }
12353 }
12354 if (obj6) {
12355 {
12356 arg7 = wxString_in_helper(obj6);
12357 if (arg7 == NULL) SWIG_fail;
12358 temp7 = True;
12359 }
12360 }
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 resultobj = PyInt_FromLong((long)result);
12369 {
12370 if (temp7)
12371 delete arg7;
12372 }
12373 return resultobj;
12374 fail:
12375 {
12376 if (temp7)
12377 delete arg7;
12378 }
12379 return NULL;
12380 }
12381
12382
12383 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxNotebook *arg1 = (wxNotebook *) 0 ;
12386 int result;
12387 PyObject * obj0 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "self", NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 resultobj = PyInt_FromLong((long)result);
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxNotebook *arg1 = (wxNotebook *) 0 ;
12411 wxSize *arg2 = 0 ;
12412 wxSize temp2 ;
12413 PyObject * obj0 = 0 ;
12414 PyObject * obj1 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self",(char *) "padding", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12421 {
12422 arg2 = &temp2;
12423 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12424 }
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 (arg1)->SetPadding((wxSize const &)*arg2);
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 Py_INCREF(Py_None); resultobj = Py_None;
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxNotebook *arg1 = (wxNotebook *) 0 ;
12442 wxSize *arg2 = 0 ;
12443 wxSize temp2 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 char *kwnames[] = {
12447 (char *) "self",(char *) "sz", NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12452 {
12453 arg2 = &temp2;
12454 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12455 }
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 (arg1)->SetTabSize((wxSize const &)*arg2);
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) SWIG_fail;
12462 }
12463 Py_INCREF(Py_None); resultobj = Py_None;
12464 return resultobj;
12465 fail:
12466 return NULL;
12467 }
12468
12469
12470 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj;
12472 wxNotebook *arg1 = (wxNotebook *) 0 ;
12473 wxPoint *arg2 = 0 ;
12474 long *arg3 = (long *) 0 ;
12475 int result;
12476 wxPoint temp2 ;
12477 long temp3 ;
12478 PyObject * obj0 = 0 ;
12479 PyObject * obj1 = 0 ;
12480 char *kwnames[] = {
12481 (char *) "self",(char *) "pt", NULL
12482 };
12483
12484 arg3 = &temp3;
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12487 {
12488 arg2 = &temp2;
12489 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12490 }
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12494
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 resultobj = PyInt_FromLong((long)result);
12499 {
12500 PyObject *o = PyInt_FromLong((long) (*arg3));
12501 resultobj = t_output_helper(resultobj,o);
12502 }
12503 return resultobj;
12504 fail:
12505 return NULL;
12506 }
12507
12508
12509 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj;
12511 wxNotebook *arg1 = (wxNotebook *) 0 ;
12512 wxSize *arg2 = 0 ;
12513 wxSize result;
12514 wxSize temp2 ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self",(char *) "sizePage", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12523 {
12524 arg2 = &temp2;
12525 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12526 }
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12530
12531 wxPyEndAllowThreads(__tstate);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 }
12534 {
12535 wxSize * resultptr;
12536 resultptr = new wxSize((wxSize &) result);
12537 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12538 }
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12546 PyObject *obj;
12547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12548 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12549 Py_INCREF(obj);
12550 return Py_BuildValue((char *)"");
12551 }
12552 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12553 PyObject *resultobj;
12554 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12555 int arg2 = (int) 0 ;
12556 int arg3 = (int) -1 ;
12557 int arg4 = (int) -1 ;
12558 wxNotebookEvent *result;
12559 char *kwnames[] = {
12560 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12579 PyObject *obj;
12580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12581 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12582 Py_INCREF(obj);
12583 return Py_BuildValue((char *)"");
12584 }
12585 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxWindow *arg1 = (wxWindow *) 0 ;
12588 int arg2 ;
12589 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12590 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12591 wxSize const &arg4_defvalue = wxDefaultSize ;
12592 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12593 long arg5 = (long) 0 ;
12594 wxString const &arg6_defvalue = wxPyEmptyString ;
12595 wxString *arg6 = (wxString *) &arg6_defvalue ;
12596 wxListbook *result;
12597 wxPoint temp3 ;
12598 wxSize temp4 ;
12599 bool temp6 = False ;
12600 PyObject * obj0 = 0 ;
12601 PyObject * obj2 = 0 ;
12602 PyObject * obj3 = 0 ;
12603 PyObject * obj5 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12610 if (obj2) {
12611 {
12612 arg3 = &temp3;
12613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12614 }
12615 }
12616 if (obj3) {
12617 {
12618 arg4 = &temp4;
12619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12620 }
12621 }
12622 if (obj5) {
12623 {
12624 arg6 = wxString_in_helper(obj5);
12625 if (arg6 == NULL) SWIG_fail;
12626 temp6 = True;
12627 }
12628 }
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 }
12636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12637 {
12638 if (temp6)
12639 delete arg6;
12640 }
12641 return resultobj;
12642 fail:
12643 {
12644 if (temp6)
12645 delete arg6;
12646 }
12647 return NULL;
12648 }
12649
12650
12651 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12652 PyObject *resultobj;
12653 wxListbook *result;
12654 char *kwnames[] = {
12655 NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (wxListbook *)new wxListbook();
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj;
12675 wxListbook *arg1 = (wxListbook *) 0 ;
12676 wxWindow *arg2 = (wxWindow *) 0 ;
12677 int arg3 ;
12678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12680 wxSize const &arg5_defvalue = wxDefaultSize ;
12681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12682 long arg6 = (long) 0 ;
12683 wxString const &arg7_defvalue = wxPyEmptyString ;
12684 wxString *arg7 = (wxString *) &arg7_defvalue ;
12685 bool result;
12686 wxPoint temp4 ;
12687 wxSize temp5 ;
12688 bool temp7 = False ;
12689 PyObject * obj0 = 0 ;
12690 PyObject * obj1 = 0 ;
12691 PyObject * obj3 = 0 ;
12692 PyObject * obj4 = 0 ;
12693 PyObject * obj6 = 0 ;
12694 char *kwnames[] = {
12695 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12696 };
12697
12698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12701 if (obj3) {
12702 {
12703 arg4 = &temp4;
12704 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12705 }
12706 }
12707 if (obj4) {
12708 {
12709 arg5 = &temp5;
12710 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12711 }
12712 }
12713 if (obj6) {
12714 {
12715 arg7 = wxString_in_helper(obj6);
12716 if (arg7 == NULL) SWIG_fail;
12717 temp7 = True;
12718 }
12719 }
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 resultobj = PyInt_FromLong((long)result);
12728 {
12729 if (temp7)
12730 delete arg7;
12731 }
12732 return resultobj;
12733 fail:
12734 {
12735 if (temp7)
12736 delete arg7;
12737 }
12738 return NULL;
12739 }
12740
12741
12742 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12743 PyObject *resultobj;
12744 wxListbook *arg1 = (wxListbook *) 0 ;
12745 bool result;
12746 PyObject * obj0 = 0 ;
12747 char *kwnames[] = {
12748 (char *) "self", NULL
12749 };
12750
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (bool)((wxListbook const *)arg1)->IsVertical();
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 resultobj = PyInt_FromLong((long)result);
12761 return resultobj;
12762 fail:
12763 return NULL;
12764 }
12765
12766
12767 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12768 PyObject *obj;
12769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12770 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12771 Py_INCREF(obj);
12772 return Py_BuildValue((char *)"");
12773 }
12774 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12777 int arg2 = (int) 0 ;
12778 int arg3 = (int) -1 ;
12779 int arg4 = (int) -1 ;
12780 wxListbookEvent *result;
12781 char *kwnames[] = {
12782 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12783 };
12784
12785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12794 return resultobj;
12795 fail:
12796 return NULL;
12797 }
12798
12799
12800 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12801 PyObject *obj;
12802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12804 Py_INCREF(obj);
12805 return Py_BuildValue((char *)"");
12806 }
12807 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12810 wxBookCtrlSizer *result;
12811 PyObject * obj0 = 0 ;
12812 char *kwnames[] = {
12813 (char *) "nb", NULL
12814 };
12815
12816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12821
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12826 return resultobj;
12827 fail:
12828 return NULL;
12829 }
12830
12831
12832 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12833 PyObject *resultobj;
12834 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12835 PyObject * obj0 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 (arg1)->RecalcSizes();
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 Py_INCREF(Py_None); resultobj = Py_None;
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj;
12858 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12859 wxSize result;
12860 PyObject * obj0 = 0 ;
12861 char *kwnames[] = {
12862 (char *) "self", NULL
12863 };
12864
12865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 result = (arg1)->CalcMin();
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 {
12875 wxSize * resultptr;
12876 resultptr = new wxSize((wxSize &) result);
12877 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12878 }
12879 return resultobj;
12880 fail:
12881 return NULL;
12882 }
12883
12884
12885 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12888 wxBookCtrl *result;
12889 PyObject * obj0 = 0 ;
12890 char *kwnames[] = {
12891 (char *) "self", NULL
12892 };
12893
12894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12896 {
12897 PyThreadState* __tstate = wxPyBeginAllowThreads();
12898 result = (wxBookCtrl *)(arg1)->GetControl();
12899
12900 wxPyEndAllowThreads(__tstate);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12904 return resultobj;
12905 fail:
12906 return NULL;
12907 }
12908
12909
12910 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12911 PyObject *obj;
12912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12913 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12914 Py_INCREF(obj);
12915 return Py_BuildValue((char *)"");
12916 }
12917 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj;
12919 wxNotebook *arg1 = (wxNotebook *) 0 ;
12920 wxNotebookSizer *result;
12921 PyObject * obj0 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "nb", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12928 {
12929 PyThreadState* __tstate = wxPyBeginAllowThreads();
12930 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12931
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12936 return resultobj;
12937 fail:
12938 return NULL;
12939 }
12940
12941
12942 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12945 PyObject * obj0 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 (arg1)->RecalcSizes();
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 Py_INCREF(Py_None); resultobj = Py_None;
12960 return resultobj;
12961 fail:
12962 return NULL;
12963 }
12964
12965
12966 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12969 wxSize result;
12970 PyObject * obj0 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (arg1)->CalcMin();
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 {
12985 wxSize * resultptr;
12986 resultptr = new wxSize((wxSize &) result);
12987 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12988 }
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj;
12997 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12998 wxNotebook *result;
12999 PyObject * obj0 = 0 ;
13000 char *kwnames[] = {
13001 (char *) "self", NULL
13002 };
13003
13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
13005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (wxNotebook *)(arg1)->GetNotebook();
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 {
13014 resultobj = wxPyMake_wxObject(result);
13015 }
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13023 PyObject *obj;
13024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13025 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13026 Py_INCREF(obj);
13027 return Py_BuildValue((char *)"");
13028 }
13029 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13032 int result;
13033 PyObject * obj0 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 result = (int)(arg1)->GetId();
13043
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 resultobj = PyInt_FromLong((long)result);
13048 return resultobj;
13049 fail:
13050 return NULL;
13051 }
13052
13053
13054 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13057 wxControl *result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (wxControl *)(arg1)->GetControl();
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 {
13073 resultobj = wxPyMake_wxObject(result);
13074 }
13075 return resultobj;
13076 fail:
13077 return NULL;
13078 }
13079
13080
13081 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13082 PyObject *resultobj;
13083 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13084 wxToolBarBase *result;
13085 PyObject * obj0 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (wxToolBarBase *)(arg1)->GetToolBar();
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 {
13100 resultobj = wxPyMake_wxObject(result);
13101 }
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13111 int result;
13112 PyObject * obj0 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 result = (int)(arg1)->IsButton();
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 resultobj = PyInt_FromLong((long)result);
13127 return resultobj;
13128 fail:
13129 return NULL;
13130 }
13131
13132
13133 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject *resultobj;
13135 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13136 int result;
13137 PyObject * obj0 = 0 ;
13138 char *kwnames[] = {
13139 (char *) "self", NULL
13140 };
13141
13142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 result = (int)(arg1)->IsControl();
13147
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 resultobj = PyInt_FromLong((long)result);
13152 return resultobj;
13153 fail:
13154 return NULL;
13155 }
13156
13157
13158 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13159 PyObject *resultobj;
13160 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13161 int result;
13162 PyObject * obj0 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = (int)(arg1)->IsSeparator();
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 resultobj = PyInt_FromLong((long)result);
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13186 int result;
13187 PyObject * obj0 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (int)(arg1)->GetStyle();
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 resultobj = PyInt_FromLong((long)result);
13202 return resultobj;
13203 fail:
13204 return NULL;
13205 }
13206
13207
13208 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13209 PyObject *resultobj;
13210 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13211 int result;
13212 PyObject * obj0 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "self", NULL
13215 };
13216
13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 result = (int)(arg1)->GetKind();
13222
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 resultobj = PyInt_FromLong((long)result);
13227 return resultobj;
13228 fail:
13229 return NULL;
13230 }
13231
13232
13233 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13236 bool result;
13237 PyObject * obj0 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 result = (bool)(arg1)->IsEnabled();
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 resultobj = PyInt_FromLong((long)result);
13252 return resultobj;
13253 fail:
13254 return NULL;
13255 }
13256
13257
13258 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj;
13260 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13261 bool result;
13262 PyObject * obj0 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = (bool)(arg1)->IsToggled();
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = PyInt_FromLong((long)result);
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13286 bool result;
13287 PyObject * obj0 = 0 ;
13288 char *kwnames[] = {
13289 (char *) "self", NULL
13290 };
13291
13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 result = (bool)(arg1)->CanBeToggled();
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 resultobj = PyInt_FromLong((long)result);
13302 return resultobj;
13303 fail:
13304 return NULL;
13305 }
13306
13307
13308 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13311 wxBitmap *result;
13312 PyObject * obj0 = 0 ;
13313 char *kwnames[] = {
13314 (char *) "self", NULL
13315 };
13316
13317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 {
13322 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13323 result = (wxBitmap *) &_result_ref;
13324 }
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13337 PyObject *resultobj;
13338 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13339 wxBitmap *result;
13340 PyObject * obj0 = 0 ;
13341 char *kwnames[] = {
13342 (char *) "self", NULL
13343 };
13344
13345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 {
13350 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13351 result = (wxBitmap *) &_result_ref;
13352 }
13353
13354 wxPyEndAllowThreads(__tstate);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 }
13357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13358 return resultobj;
13359 fail:
13360 return NULL;
13361 }
13362
13363
13364 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj;
13366 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13367 wxBitmap result;
13368 PyObject * obj0 = 0 ;
13369 char *kwnames[] = {
13370 (char *) "self", NULL
13371 };
13372
13373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 result = (arg1)->GetBitmap();
13378
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 {
13383 wxBitmap * resultptr;
13384 resultptr = new wxBitmap((wxBitmap &) result);
13385 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13386 }
13387 return resultobj;
13388 fail:
13389 return NULL;
13390 }
13391
13392
13393 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13394 PyObject *resultobj;
13395 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13396 wxString result;
13397 PyObject * obj0 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (arg1)->GetLabel();
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 {
13412 #if wxUSE_UNICODE
13413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13414 #else
13415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13416 #endif
13417 }
13418 return resultobj;
13419 fail:
13420 return NULL;
13421 }
13422
13423
13424 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13425 PyObject *resultobj;
13426 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13427 wxString result;
13428 PyObject * obj0 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",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 = (arg1)->GetShortHelp();
13438
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 {
13443 #if wxUSE_UNICODE
13444 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13445 #else
13446 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13447 #endif
13448 }
13449 return resultobj;
13450 fail:
13451 return NULL;
13452 }
13453
13454
13455 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13456 PyObject *resultobj;
13457 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13458 wxString result;
13459 PyObject * obj0 = 0 ;
13460 char *kwnames[] = {
13461 (char *) "self", NULL
13462 };
13463
13464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (arg1)->GetLongHelp();
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 {
13474 #if wxUSE_UNICODE
13475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13476 #else
13477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13478 #endif
13479 }
13480 return resultobj;
13481 fail:
13482 return NULL;
13483 }
13484
13485
13486 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13489 bool arg2 ;
13490 bool result;
13491 PyObject * obj0 = 0 ;
13492 PyObject * obj1 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self",(char *) "enable", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13499 arg2 = PyInt_AsLong(obj1) ? true : false;
13500 if (PyErr_Occurred()) SWIG_fail;
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 result = (bool)(arg1)->Enable(arg2);
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 resultobj = PyInt_FromLong((long)result);
13509 return resultobj;
13510 fail:
13511 return NULL;
13512 }
13513
13514
13515 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13518 PyObject * obj0 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->Toggle();
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 Py_INCREF(Py_None); resultobj = Py_None;
13533 return resultobj;
13534 fail:
13535 return NULL;
13536 }
13537
13538
13539 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj;
13541 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13542 bool arg2 ;
13543 bool result;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self",(char *) "toggle", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13552 arg2 = PyInt_AsLong(obj1) ? true : false;
13553 if (PyErr_Occurred()) SWIG_fail;
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 result = (bool)(arg1)->SetToggle(arg2);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 resultobj = PyInt_FromLong((long)result);
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13571 wxString *arg2 = 0 ;
13572 bool result;
13573 bool temp2 = False ;
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "help", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13582 {
13583 arg2 = wxString_in_helper(obj1);
13584 if (arg2 == NULL) SWIG_fail;
13585 temp2 = True;
13586 }
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 resultobj = PyInt_FromLong((long)result);
13595 {
13596 if (temp2)
13597 delete arg2;
13598 }
13599 return resultobj;
13600 fail:
13601 {
13602 if (temp2)
13603 delete arg2;
13604 }
13605 return NULL;
13606 }
13607
13608
13609 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13610 PyObject *resultobj;
13611 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13612 wxString *arg2 = 0 ;
13613 bool result;
13614 bool temp2 = False ;
13615 PyObject * obj0 = 0 ;
13616 PyObject * obj1 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "help", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13623 {
13624 arg2 = wxString_in_helper(obj1);
13625 if (arg2 == NULL) SWIG_fail;
13626 temp2 = True;
13627 }
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 resultobj = PyInt_FromLong((long)result);
13636 {
13637 if (temp2)
13638 delete arg2;
13639 }
13640 return resultobj;
13641 fail:
13642 {
13643 if (temp2)
13644 delete arg2;
13645 }
13646 return NULL;
13647 }
13648
13649
13650 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13653 wxBitmap *arg2 = 0 ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "bmp", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13663 if (arg2 == NULL) {
13664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13665 }
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
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_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13683 wxBitmap *arg2 = 0 ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "bmp", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13693 if (arg2 == NULL) {
13694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13695 }
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13699
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 Py_INCREF(Py_None); resultobj = Py_None;
13704 return resultobj;
13705 fail:
13706 return NULL;
13707 }
13708
13709
13710 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13711 PyObject *resultobj;
13712 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13713 wxString *arg2 = 0 ;
13714 bool temp2 = False ;
13715 PyObject * obj0 = 0 ;
13716 PyObject * obj1 = 0 ;
13717 char *kwnames[] = {
13718 (char *) "self",(char *) "label", NULL
13719 };
13720
13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",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 (arg1)->SetLabel((wxString const &)*arg2);
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 Py_INCREF(Py_None); resultobj = Py_None;
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_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13753 PyObject * obj0 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 (arg1)->Detach();
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 Py_INCREF(Py_None); resultobj = Py_None;
13768 return resultobj;
13769 fail:
13770 return NULL;
13771 }
13772
13773
13774 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13775 PyObject *resultobj;
13776 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13777 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13778 PyObject * obj0 = 0 ;
13779 PyObject * obj1 = 0 ;
13780 char *kwnames[] = {
13781 (char *) "self",(char *) "tbar", NULL
13782 };
13783
13784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 (arg1)->Attach(arg2);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 Py_INCREF(Py_None); resultobj = Py_None;
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13804 PyObject *result;
13805 PyObject * obj0 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13812 {
13813 PyThreadState* __tstate = wxPyBeginAllowThreads();
13814 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13815
13816 wxPyEndAllowThreads(__tstate);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 }
13819 resultobj = result;
13820 return resultobj;
13821 fail:
13822 return NULL;
13823 }
13824
13825
13826 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13827 PyObject *resultobj;
13828 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13829 PyObject *arg2 = (PyObject *) 0 ;
13830 PyObject * obj0 = 0 ;
13831 PyObject * obj1 = 0 ;
13832 char *kwnames[] = {
13833 (char *) "self",(char *) "clientData", NULL
13834 };
13835
13836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13838 arg2 = obj1;
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 wxToolBarToolBase_SetClientData(arg1,arg2);
13842
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 Py_INCREF(Py_None); resultobj = Py_None;
13847 return resultobj;
13848 fail:
13849 return NULL;
13850 }
13851
13852
13853 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13854 PyObject *obj;
13855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13856 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13857 Py_INCREF(obj);
13858 return Py_BuildValue((char *)"");
13859 }
13860 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13863 int arg2 ;
13864 wxString *arg3 = 0 ;
13865 wxBitmap *arg4 = 0 ;
13866 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13867 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13868 int arg6 = (int) wxITEM_NORMAL ;
13869 wxString const &arg7_defvalue = wxPyEmptyString ;
13870 wxString *arg7 = (wxString *) &arg7_defvalue ;
13871 wxString const &arg8_defvalue = wxPyEmptyString ;
13872 wxString *arg8 = (wxString *) &arg8_defvalue ;
13873 PyObject *arg9 = (PyObject *) NULL ;
13874 wxToolBarToolBase *result;
13875 bool temp3 = False ;
13876 bool temp7 = False ;
13877 bool temp8 = False ;
13878 PyObject * obj0 = 0 ;
13879 PyObject * obj2 = 0 ;
13880 PyObject * obj3 = 0 ;
13881 PyObject * obj4 = 0 ;
13882 PyObject * obj6 = 0 ;
13883 PyObject * obj7 = 0 ;
13884 PyObject * obj8 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13891 {
13892 arg3 = wxString_in_helper(obj2);
13893 if (arg3 == NULL) SWIG_fail;
13894 temp3 = True;
13895 }
13896 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13897 if (arg4 == NULL) {
13898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13899 }
13900 if (obj4) {
13901 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13902 if (arg5 == NULL) {
13903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13904 }
13905 }
13906 if (obj6) {
13907 {
13908 arg7 = wxString_in_helper(obj6);
13909 if (arg7 == NULL) SWIG_fail;
13910 temp7 = True;
13911 }
13912 }
13913 if (obj7) {
13914 {
13915 arg8 = wxString_in_helper(obj7);
13916 if (arg8 == NULL) SWIG_fail;
13917 temp8 = True;
13918 }
13919 }
13920 if (obj8) {
13921 arg9 = obj8;
13922 }
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 {
13931 resultobj = wxPyMake_wxObject(result);
13932 }
13933 {
13934 if (temp3)
13935 delete arg3;
13936 }
13937 {
13938 if (temp7)
13939 delete arg7;
13940 }
13941 {
13942 if (temp8)
13943 delete arg8;
13944 }
13945 return resultobj;
13946 fail:
13947 {
13948 if (temp3)
13949 delete arg3;
13950 }
13951 {
13952 if (temp7)
13953 delete arg7;
13954 }
13955 {
13956 if (temp8)
13957 delete arg8;
13958 }
13959 return NULL;
13960 }
13961
13962
13963 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj;
13965 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13966 size_t arg2 ;
13967 int arg3 ;
13968 wxString *arg4 = 0 ;
13969 wxBitmap *arg5 = 0 ;
13970 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13971 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13972 int arg7 = (int) wxITEM_NORMAL ;
13973 wxString const &arg8_defvalue = wxPyEmptyString ;
13974 wxString *arg8 = (wxString *) &arg8_defvalue ;
13975 wxString const &arg9_defvalue = wxPyEmptyString ;
13976 wxString *arg9 = (wxString *) &arg9_defvalue ;
13977 PyObject *arg10 = (PyObject *) NULL ;
13978 wxToolBarToolBase *result;
13979 bool temp4 = False ;
13980 bool temp8 = False ;
13981 bool temp9 = False ;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 PyObject * obj3 = 0 ;
13985 PyObject * obj4 = 0 ;
13986 PyObject * obj5 = 0 ;
13987 PyObject * obj7 = 0 ;
13988 PyObject * obj8 = 0 ;
13989 PyObject * obj9 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13996 arg2 = (size_t) PyInt_AsLong(obj1);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 {
13999 arg4 = wxString_in_helper(obj3);
14000 if (arg4 == NULL) SWIG_fail;
14001 temp4 = True;
14002 }
14003 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14004 if (arg5 == NULL) {
14005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14006 }
14007 if (obj5) {
14008 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14009 if (arg6 == NULL) {
14010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14011 }
14012 }
14013 if (obj7) {
14014 {
14015 arg8 = wxString_in_helper(obj7);
14016 if (arg8 == NULL) SWIG_fail;
14017 temp8 = True;
14018 }
14019 }
14020 if (obj8) {
14021 {
14022 arg9 = wxString_in_helper(obj8);
14023 if (arg9 == NULL) SWIG_fail;
14024 temp9 = True;
14025 }
14026 }
14027 if (obj9) {
14028 arg10 = obj9;
14029 }
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 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);
14033
14034 wxPyEndAllowThreads(__tstate);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 {
14038 resultobj = wxPyMake_wxObject(result);
14039 }
14040 {
14041 if (temp4)
14042 delete arg4;
14043 }
14044 {
14045 if (temp8)
14046 delete arg8;
14047 }
14048 {
14049 if (temp9)
14050 delete arg9;
14051 }
14052 return resultobj;
14053 fail:
14054 {
14055 if (temp4)
14056 delete arg4;
14057 }
14058 {
14059 if (temp8)
14060 delete arg8;
14061 }
14062 {
14063 if (temp9)
14064 delete arg9;
14065 }
14066 return NULL;
14067 }
14068
14069
14070 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj;
14072 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14073 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14074 wxToolBarToolBase *result;
14075 PyObject * obj0 = 0 ;
14076 PyObject * obj1 = 0 ;
14077 char *kwnames[] = {
14078 (char *) "self",(char *) "tool", NULL
14079 };
14080
14081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14087
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 {
14092 resultobj = wxPyMake_wxObject(result);
14093 }
14094 return resultobj;
14095 fail:
14096 return NULL;
14097 }
14098
14099
14100 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj;
14102 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14103 size_t arg2 ;
14104 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14105 wxToolBarToolBase *result;
14106 PyObject * obj0 = 0 ;
14107 PyObject * obj1 = 0 ;
14108 PyObject * obj2 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "self",(char *) "pos",(char *) "tool", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 arg2 = (size_t) PyInt_AsLong(obj1);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 {
14126 resultobj = wxPyMake_wxObject(result);
14127 }
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14137 wxControl *arg2 = (wxControl *) 0 ;
14138 wxToolBarToolBase *result;
14139 PyObject * obj0 = 0 ;
14140 PyObject * obj1 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "self",(char *) "control", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 {
14156 resultobj = wxPyMake_wxObject(result);
14157 }
14158 return resultobj;
14159 fail:
14160 return NULL;
14161 }
14162
14163
14164 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj;
14166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14167 size_t arg2 ;
14168 wxControl *arg3 = (wxControl *) 0 ;
14169 wxToolBarToolBase *result;
14170 PyObject * obj0 = 0 ;
14171 PyObject * obj1 = 0 ;
14172 PyObject * obj2 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self",(char *) "pos",(char *) "control", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14179 arg2 = (size_t) PyInt_AsLong(obj1);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 {
14190 resultobj = wxPyMake_wxObject(result);
14191 }
14192 return resultobj;
14193 fail:
14194 return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14201 int arg2 ;
14202 wxControl *result;
14203 PyObject * obj0 = 0 ;
14204 char *kwnames[] = {
14205 (char *) "self",(char *) "id", NULL
14206 };
14207
14208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (wxControl *)(arg1)->FindControl(arg2);
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 {
14218 resultobj = wxPyMake_wxObject(result);
14219 }
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj;
14228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14229 wxToolBarToolBase *result;
14230 PyObject * obj0 = 0 ;
14231 char *kwnames[] = {
14232 (char *) "self", NULL
14233 };
14234
14235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 {
14245 resultobj = wxPyMake_wxObject(result);
14246 }
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14256 size_t arg2 ;
14257 wxToolBarToolBase *result;
14258 PyObject * obj0 = 0 ;
14259 PyObject * obj1 = 0 ;
14260 char *kwnames[] = {
14261 (char *) "self",(char *) "pos", NULL
14262 };
14263
14264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14266 arg2 = (size_t) PyInt_AsLong(obj1);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 {
14276 resultobj = wxPyMake_wxObject(result);
14277 }
14278 return resultobj;
14279 fail:
14280 return NULL;
14281 }
14282
14283
14284 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14287 int arg2 ;
14288 wxToolBarToolBase *result;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self",(char *) "id", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 {
14304 resultobj = wxPyMake_wxObject(result);
14305 }
14306 return resultobj;
14307 fail:
14308 return NULL;
14309 }
14310
14311
14312 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14315 size_t arg2 ;
14316 bool result;
14317 PyObject * obj0 = 0 ;
14318 PyObject * obj1 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self",(char *) "pos", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325 arg2 = (size_t) PyInt_AsLong(obj1);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 result = (bool)(arg1)->DeleteToolByPos(arg2);
14330
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 resultobj = PyInt_FromLong((long)result);
14335 return resultobj;
14336 fail:
14337 return NULL;
14338 }
14339
14340
14341 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj;
14343 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14344 int arg2 ;
14345 bool result;
14346 PyObject * obj0 = 0 ;
14347 char *kwnames[] = {
14348 (char *) "self",(char *) "id", NULL
14349 };
14350
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 result = (bool)(arg1)->DeleteTool(arg2);
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 resultobj = PyInt_FromLong((long)result);
14361 return resultobj;
14362 fail:
14363 return NULL;
14364 }
14365
14366
14367 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14368 PyObject *resultobj;
14369 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14370 PyObject * obj0 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 (arg1)->ClearTools();
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 Py_INCREF(Py_None); resultobj = Py_None;
14385 return resultobj;
14386 fail:
14387 return NULL;
14388 }
14389
14390
14391 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14392 PyObject *resultobj;
14393 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14394 bool result;
14395 PyObject * obj0 = 0 ;
14396 char *kwnames[] = {
14397 (char *) "self", NULL
14398 };
14399
14400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14402 {
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 result = (bool)(arg1)->Realize();
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 resultobj = PyInt_FromLong((long)result);
14410 return resultobj;
14411 fail:
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14419 int arg2 ;
14420 bool arg3 ;
14421 PyObject * obj0 = 0 ;
14422 PyObject * obj2 = 0 ;
14423 char *kwnames[] = {
14424 (char *) "self",(char *) "id",(char *) "enable", NULL
14425 };
14426
14427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14429 arg3 = PyInt_AsLong(obj2) ? true : false;
14430 if (PyErr_Occurred()) SWIG_fail;
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 (arg1)->EnableTool(arg2,arg3);
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 Py_INCREF(Py_None); resultobj = Py_None;
14439 return resultobj;
14440 fail:
14441 return NULL;
14442 }
14443
14444
14445 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14446 PyObject *resultobj;
14447 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14448 int arg2 ;
14449 bool arg3 ;
14450 PyObject * obj0 = 0 ;
14451 PyObject * obj2 = 0 ;
14452 char *kwnames[] = {
14453 (char *) "self",(char *) "id",(char *) "toggle", NULL
14454 };
14455
14456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14458 arg3 = PyInt_AsLong(obj2) ? true : false;
14459 if (PyErr_Occurred()) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 (arg1)->ToggleTool(arg2,arg3);
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 Py_INCREF(Py_None); resultobj = Py_None;
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14477 int arg2 ;
14478 bool arg3 ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj2 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "id",(char *) "toggle", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14487 arg3 = PyInt_AsLong(obj2) ? true : false;
14488 if (PyErr_Occurred()) SWIG_fail;
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 (arg1)->SetToggle(arg2,arg3);
14492
14493 wxPyEndAllowThreads(__tstate);
14494 if (PyErr_Occurred()) SWIG_fail;
14495 }
14496 Py_INCREF(Py_None); resultobj = Py_None;
14497 return resultobj;
14498 fail:
14499 return NULL;
14500 }
14501
14502
14503 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj;
14505 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14506 int arg2 ;
14507 PyObject *result;
14508 PyObject * obj0 = 0 ;
14509 char *kwnames[] = {
14510 (char *) "self",(char *) "id", NULL
14511 };
14512
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14518
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 resultobj = result;
14523 return resultobj;
14524 fail:
14525 return NULL;
14526 }
14527
14528
14529 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14530 PyObject *resultobj;
14531 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14532 int arg2 ;
14533 PyObject *arg3 = (PyObject *) 0 ;
14534 PyObject * obj0 = 0 ;
14535 PyObject * obj2 = 0 ;
14536 char *kwnames[] = {
14537 (char *) "self",(char *) "id",(char *) "clientData", NULL
14538 };
14539
14540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14542 arg3 = obj2;
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 Py_INCREF(Py_None); resultobj = Py_None;
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj;
14559 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14560 int arg2 ;
14561 int result;
14562 PyObject * obj0 = 0 ;
14563 char *kwnames[] = {
14564 (char *) "self",(char *) "id", NULL
14565 };
14566
14567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14569 {
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14572
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 resultobj = PyInt_FromLong((long)result);
14577 return resultobj;
14578 fail:
14579 return NULL;
14580 }
14581
14582
14583 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14584 PyObject *resultobj;
14585 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14586 int arg2 ;
14587 bool result;
14588 PyObject * obj0 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "self",(char *) "id", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = (bool)(arg1)->GetToolState(arg2);
14598
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 resultobj = PyInt_FromLong((long)result);
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14612 int arg2 ;
14613 bool result;
14614 PyObject * obj0 = 0 ;
14615 char *kwnames[] = {
14616 (char *) "self",(char *) "id", NULL
14617 };
14618
14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = (bool)(arg1)->GetToolEnabled(arg2);
14624
14625 wxPyEndAllowThreads(__tstate);
14626 if (PyErr_Occurred()) SWIG_fail;
14627 }
14628 resultobj = PyInt_FromLong((long)result);
14629 return resultobj;
14630 fail:
14631 return NULL;
14632 }
14633
14634
14635 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14636 PyObject *resultobj;
14637 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14638 int arg2 ;
14639 wxString *arg3 = 0 ;
14640 bool temp3 = False ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj2 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self",(char *) "id",(char *) "helpString", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14649 {
14650 arg3 = wxString_in_helper(obj2);
14651 if (arg3 == NULL) SWIG_fail;
14652 temp3 = True;
14653 }
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 Py_INCREF(Py_None); resultobj = Py_None;
14662 {
14663 if (temp3)
14664 delete arg3;
14665 }
14666 return resultobj;
14667 fail:
14668 {
14669 if (temp3)
14670 delete arg3;
14671 }
14672 return NULL;
14673 }
14674
14675
14676 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14677 PyObject *resultobj;
14678 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14679 int arg2 ;
14680 wxString result;
14681 PyObject * obj0 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self",(char *) "id", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 result = (arg1)->GetToolShortHelp(arg2);
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 {
14696 #if wxUSE_UNICODE
14697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14698 #else
14699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14700 #endif
14701 }
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14711 int arg2 ;
14712 wxString *arg3 = 0 ;
14713 bool temp3 = False ;
14714 PyObject * obj0 = 0 ;
14715 PyObject * obj2 = 0 ;
14716 char *kwnames[] = {
14717 (char *) "self",(char *) "id",(char *) "helpString", NULL
14718 };
14719
14720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14722 {
14723 arg3 = wxString_in_helper(obj2);
14724 if (arg3 == NULL) SWIG_fail;
14725 temp3 = True;
14726 }
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 Py_INCREF(Py_None); resultobj = Py_None;
14735 {
14736 if (temp3)
14737 delete arg3;
14738 }
14739 return resultobj;
14740 fail:
14741 {
14742 if (temp3)
14743 delete arg3;
14744 }
14745 return NULL;
14746 }
14747
14748
14749 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14750 PyObject *resultobj;
14751 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14752 int arg2 ;
14753 wxString result;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self",(char *) "id", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 result = (arg1)->GetToolLongHelp(arg2);
14764
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 {
14769 #if wxUSE_UNICODE
14770 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14771 #else
14772 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14773 #endif
14774 }
14775 return resultobj;
14776 fail:
14777 return NULL;
14778 }
14779
14780
14781 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14782 PyObject *resultobj;
14783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14784 int arg2 ;
14785 int arg3 ;
14786 PyObject * obj0 = 0 ;
14787 char *kwnames[] = {
14788 (char *) "self",(char *) "x",(char *) "y", NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 (arg1)->SetMargins(arg2,arg3);
14796
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 Py_INCREF(Py_None); resultobj = Py_None;
14801 return resultobj;
14802 fail:
14803 return NULL;
14804 }
14805
14806
14807 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14808 PyObject *resultobj;
14809 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14810 wxSize *arg2 = 0 ;
14811 wxSize temp2 ;
14812 PyObject * obj0 = 0 ;
14813 PyObject * obj1 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self",(char *) "size", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 arg2 = &temp2;
14822 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14823 }
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 (arg1)->SetMargins((wxSize const &)*arg2);
14827
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 Py_INCREF(Py_None); resultobj = Py_None;
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14841 int arg2 ;
14842 PyObject * obj0 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "self",(char *) "packing", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 (arg1)->SetToolPacking(arg2);
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860 }
14861
14862
14863 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14864 PyObject *resultobj;
14865 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14866 int arg2 ;
14867 PyObject * obj0 = 0 ;
14868 char *kwnames[] = {
14869 (char *) "self",(char *) "separation", NULL
14870 };
14871
14872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 (arg1)->SetToolSeparation(arg2);
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 Py_INCREF(Py_None); resultobj = Py_None;
14882 return resultobj;
14883 fail:
14884 return NULL;
14885 }
14886
14887
14888 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj;
14890 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14891 wxSize result;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (arg1)->GetToolMargins();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 wxSize * resultptr;
14908 resultptr = new wxSize((wxSize &) result);
14909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14910 }
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14920 wxSize result;
14921 PyObject * obj0 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (arg1)->GetMargins();
14931
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 {
14936 wxSize * resultptr;
14937 resultptr = new wxSize((wxSize &) result);
14938 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14939 }
14940 return resultobj;
14941 fail:
14942 return NULL;
14943 }
14944
14945
14946 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14947 PyObject *resultobj;
14948 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14949 int result;
14950 PyObject * obj0 = 0 ;
14951 char *kwnames[] = {
14952 (char *) "self", NULL
14953 };
14954
14955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 result = (int)(arg1)->GetToolPacking();
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 resultobj = PyInt_FromLong((long)result);
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj;
14973 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14974 int result;
14975 PyObject * obj0 = 0 ;
14976 char *kwnames[] = {
14977 (char *) "self", NULL
14978 };
14979
14980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = (int)(arg1)->GetToolSeparation();
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 resultobj = PyInt_FromLong((long)result);
14990 return resultobj;
14991 fail:
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14999 int arg2 ;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self",(char *) "nRows", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 (arg1)->SetRows(arg2);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 Py_INCREF(Py_None); resultobj = Py_None;
15015 return resultobj;
15016 fail:
15017 return NULL;
15018 }
15019
15020
15021 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj;
15023 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15024 int arg2 ;
15025 int arg3 ;
15026 PyObject * obj0 = 0 ;
15027 char *kwnames[] = {
15028 (char *) "self",(char *) "rows",(char *) "cols", NULL
15029 };
15030
15031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->SetMaxRowsCols(arg2,arg3);
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 Py_INCREF(Py_None); resultobj = Py_None;
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15050 int result;
15051 PyObject * obj0 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (int)(arg1)->GetMaxRows();
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 resultobj = PyInt_FromLong((long)result);
15066 return resultobj;
15067 fail:
15068 return NULL;
15069 }
15070
15071
15072 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15075 int result;
15076 PyObject * obj0 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "self", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (int)(arg1)->GetMaxCols();
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 resultobj = PyInt_FromLong((long)result);
15091 return resultobj;
15092 fail:
15093 return NULL;
15094 }
15095
15096
15097 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj;
15099 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15100 wxSize *arg2 = 0 ;
15101 wxSize temp2 ;
15102 PyObject * obj0 = 0 ;
15103 PyObject * obj1 = 0 ;
15104 char *kwnames[] = {
15105 (char *) "self",(char *) "size", NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15110 {
15111 arg2 = &temp2;
15112 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15113 }
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 Py_INCREF(Py_None); resultobj = Py_None;
15122 return resultobj;
15123 fail:
15124 return NULL;
15125 }
15126
15127
15128 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj;
15130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15131 wxSize result;
15132 PyObject * obj0 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (arg1)->GetToolBitmapSize();
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 {
15147 wxSize * resultptr;
15148 resultptr = new wxSize((wxSize &) result);
15149 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15150 }
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15160 wxSize result;
15161 PyObject * obj0 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self", NULL
15164 };
15165
15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 result = (arg1)->GetToolSize();
15171
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 {
15176 wxSize * resultptr;
15177 resultptr = new wxSize((wxSize &) result);
15178 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15179 }
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj;
15188 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15189 int arg2 ;
15190 int arg3 ;
15191 wxToolBarToolBase *result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self",(char *) "x",(char *) "y", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) 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 = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 {
15207 resultobj = wxPyMake_wxObject(result);
15208 }
15209 return resultobj;
15210 fail:
15211 return NULL;
15212 }
15213
15214
15215 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15218 int arg2 ;
15219 wxToolBarToolBase *result;
15220 PyObject * obj0 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "self",(char *) "toolid", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 {
15235 resultobj = wxPyMake_wxObject(result);
15236 }
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15246 bool result;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (bool)(arg1)->IsVertical();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 resultobj = PyInt_FromLong((long)result);
15262 return resultobj;
15263 fail:
15264 return NULL;
15265 }
15266
15267
15268 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15269 PyObject *obj;
15270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15271 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15272 Py_INCREF(obj);
15273 return Py_BuildValue((char *)"");
15274 }
15275 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxWindow *arg1 = (wxWindow *) 0 ;
15278 int arg2 ;
15279 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15280 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15281 wxSize const &arg4_defvalue = wxDefaultSize ;
15282 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15283 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15284 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15285 wxString *arg6 = (wxString *) &arg6_defvalue ;
15286 wxToolBar *result;
15287 wxPoint temp3 ;
15288 wxSize temp4 ;
15289 bool temp6 = False ;
15290 PyObject * obj0 = 0 ;
15291 PyObject * obj2 = 0 ;
15292 PyObject * obj3 = 0 ;
15293 PyObject * obj5 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15300 if (obj2) {
15301 {
15302 arg3 = &temp3;
15303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15304 }
15305 }
15306 if (obj3) {
15307 {
15308 arg4 = &temp4;
15309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15310 }
15311 }
15312 if (obj5) {
15313 {
15314 arg6 = wxString_in_helper(obj5);
15315 if (arg6 == NULL) SWIG_fail;
15316 temp6 = True;
15317 }
15318 }
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 {
15327 resultobj = wxPyMake_wxObject(result);
15328 }
15329 {
15330 if (temp6)
15331 delete arg6;
15332 }
15333 return resultobj;
15334 fail:
15335 {
15336 if (temp6)
15337 delete arg6;
15338 }
15339 return NULL;
15340 }
15341
15342
15343 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj;
15345 wxToolBar *result;
15346 char *kwnames[] = {
15347 NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = (wxToolBar *)new wxToolBar();
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 {
15359 resultobj = wxPyMake_wxObject(result);
15360 }
15361 return resultobj;
15362 fail:
15363 return NULL;
15364 }
15365
15366
15367 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15368 PyObject *resultobj;
15369 wxToolBar *arg1 = (wxToolBar *) 0 ;
15370 wxWindow *arg2 = (wxWindow *) 0 ;
15371 int arg3 ;
15372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15374 wxSize const &arg5_defvalue = wxDefaultSize ;
15375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15376 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15377 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15378 wxString *arg7 = (wxString *) &arg7_defvalue ;
15379 bool result;
15380 wxPoint temp4 ;
15381 wxSize temp5 ;
15382 bool temp7 = False ;
15383 PyObject * obj0 = 0 ;
15384 PyObject * obj1 = 0 ;
15385 PyObject * obj3 = 0 ;
15386 PyObject * obj4 = 0 ;
15387 PyObject * obj6 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15395 if (obj3) {
15396 {
15397 arg4 = &temp4;
15398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15399 }
15400 }
15401 if (obj4) {
15402 {
15403 arg5 = &temp5;
15404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15405 }
15406 }
15407 if (obj6) {
15408 {
15409 arg7 = wxString_in_helper(obj6);
15410 if (arg7 == NULL) SWIG_fail;
15411 temp7 = True;
15412 }
15413 }
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15417
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 resultobj = PyInt_FromLong((long)result);
15422 {
15423 if (temp7)
15424 delete arg7;
15425 }
15426 return resultobj;
15427 fail:
15428 {
15429 if (temp7)
15430 delete arg7;
15431 }
15432 return NULL;
15433 }
15434
15435
15436 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15437 PyObject *resultobj;
15438 wxToolBar *arg1 = (wxToolBar *) 0 ;
15439 int arg2 ;
15440 int arg3 ;
15441 wxToolBarToolBase *result;
15442 PyObject * obj0 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self",(char *) "x",(char *) "y", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15449 {
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15452
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 {
15457 resultobj = wxPyMake_wxObject(result);
15458 }
15459 return resultobj;
15460 fail:
15461 return NULL;
15462 }
15463
15464
15465 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15466 PyObject *obj;
15467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15469 Py_INCREF(obj);
15470 return Py_BuildValue((char *)"");
15471 }
15472 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15473 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15474 return 1;
15475 }
15476
15477
15478 static PyObject *_wrap_ListCtrlNameStr_get() {
15479 PyObject *pyobj;
15480
15481 {
15482 #if wxUSE_UNICODE
15483 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15484 #else
15485 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15486 #endif
15487 }
15488 return pyobj;
15489 }
15490
15491
15492 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxColour const &arg1_defvalue = wxNullColour ;
15495 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15496 wxColour const &arg2_defvalue = wxNullColour ;
15497 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15498 wxFont const &arg3_defvalue = wxNullFont ;
15499 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15500 wxListItemAttr *result;
15501 wxColour temp1 ;
15502 wxColour temp2 ;
15503 PyObject * obj0 = 0 ;
15504 PyObject * obj1 = 0 ;
15505 PyObject * obj2 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15511 if (obj0) {
15512 {
15513 arg1 = &temp1;
15514 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15515 }
15516 }
15517 if (obj1) {
15518 {
15519 arg2 = &temp2;
15520 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15521 }
15522 }
15523 if (obj2) {
15524 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15525 if (arg3 == NULL) {
15526 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15527 }
15528 }
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15537 return resultobj;
15538 fail:
15539 return NULL;
15540 }
15541
15542
15543 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15546 wxColour *arg2 = 0 ;
15547 wxColour temp2 ;
15548 PyObject * obj0 = 0 ;
15549 PyObject * obj1 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self",(char *) "colText", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 {
15557 arg2 = &temp2;
15558 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15559 }
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->SetTextColour((wxColour const &)*arg2);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 return resultobj;
15569 fail:
15570 return NULL;
15571 }
15572
15573
15574 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj;
15576 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15577 wxColour *arg2 = 0 ;
15578 wxColour temp2 ;
15579 PyObject * obj0 = 0 ;
15580 PyObject * obj1 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self",(char *) "colBack", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15587 {
15588 arg2 = &temp2;
15589 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15590 }
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15608 wxFont *arg2 = 0 ;
15609 PyObject * obj0 = 0 ;
15610 PyObject * obj1 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self",(char *) "font", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15618 if (arg2 == NULL) {
15619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15620 }
15621 {
15622 PyThreadState* __tstate = wxPyBeginAllowThreads();
15623 (arg1)->SetFont((wxFont const &)*arg2);
15624
15625 wxPyEndAllowThreads(__tstate);
15626 if (PyErr_Occurred()) SWIG_fail;
15627 }
15628 Py_INCREF(Py_None); resultobj = Py_None;
15629 return resultobj;
15630 fail:
15631 return NULL;
15632 }
15633
15634
15635 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15636 PyObject *resultobj;
15637 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15638 bool result;
15639 PyObject * obj0 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15646 {
15647 PyThreadState* __tstate = wxPyBeginAllowThreads();
15648 result = (bool)(arg1)->HasTextColour();
15649
15650 wxPyEndAllowThreads(__tstate);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 resultobj = PyInt_FromLong((long)result);
15654 return resultobj;
15655 fail:
15656 return NULL;
15657 }
15658
15659
15660 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15661 PyObject *resultobj;
15662 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15663 bool result;
15664 PyObject * obj0 = 0 ;
15665 char *kwnames[] = {
15666 (char *) "self", NULL
15667 };
15668
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 result = (bool)(arg1)->HasBackgroundColour();
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 resultobj = PyInt_FromLong((long)result);
15679 return resultobj;
15680 fail:
15681 return NULL;
15682 }
15683
15684
15685 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15686 PyObject *resultobj;
15687 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15688 bool result;
15689 PyObject * obj0 = 0 ;
15690 char *kwnames[] = {
15691 (char *) "self", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 result = (bool)(arg1)->HasFont();
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 resultobj = PyInt_FromLong((long)result);
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj;
15712 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15713 wxColour result;
15714 PyObject * obj0 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 result = (arg1)->GetTextColour();
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 {
15729 wxColour * resultptr;
15730 resultptr = new wxColour((wxColour &) result);
15731 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15732 }
15733 return resultobj;
15734 fail:
15735 return NULL;
15736 }
15737
15738
15739 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15740 PyObject *resultobj;
15741 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15742 wxColour result;
15743 PyObject * obj0 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 result = (arg1)->GetBackgroundColour();
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 {
15758 wxColour * resultptr;
15759 resultptr = new wxColour((wxColour &) result);
15760 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15761 }
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15771 wxFont result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (arg1)->GetFont();
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 {
15787 wxFont * resultptr;
15788 resultptr = new wxFont((wxFont &) result);
15789 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15790 }
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15800 PyObject * obj0 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "self", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 wxListItemAttr_Destroy(arg1);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15822 PyObject *obj;
15823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15824 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15825 Py_INCREF(obj);
15826 return Py_BuildValue((char *)"");
15827 }
15828 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj;
15830 wxListItem *result;
15831 char *kwnames[] = {
15832 NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15836 {
15837 PyThreadState* __tstate = wxPyBeginAllowThreads();
15838 result = (wxListItem *)new wxListItem();
15839
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 {
15844 resultobj = wxPyMake_wxObject(result);
15845 }
15846 return resultobj;
15847 fail:
15848 return NULL;
15849 }
15850
15851
15852 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15853 PyObject *resultobj;
15854 wxListItem *arg1 = (wxListItem *) 0 ;
15855 PyObject * obj0 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 delete arg1;
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 Py_INCREF(Py_None); resultobj = Py_None;
15870 return resultobj;
15871 fail:
15872 return NULL;
15873 }
15874
15875
15876 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15877 PyObject *resultobj;
15878 wxListItem *arg1 = (wxListItem *) 0 ;
15879 PyObject * obj0 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 (arg1)->Clear();
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 Py_INCREF(Py_None); resultobj = Py_None;
15894 return resultobj;
15895 fail:
15896 return NULL;
15897 }
15898
15899
15900 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15901 PyObject *resultobj;
15902 wxListItem *arg1 = (wxListItem *) 0 ;
15903 PyObject * obj0 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 (arg1)->ClearAttributes();
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 Py_INCREF(Py_None); resultobj = Py_None;
15918 return resultobj;
15919 fail:
15920 return NULL;
15921 }
15922
15923
15924 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15925 PyObject *resultobj;
15926 wxListItem *arg1 = (wxListItem *) 0 ;
15927 long arg2 ;
15928 PyObject * obj0 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self",(char *) "mask", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 (arg1)->SetMask(arg2);
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 Py_INCREF(Py_None); resultobj = Py_None;
15943 return resultobj;
15944 fail:
15945 return NULL;
15946 }
15947
15948
15949 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj;
15951 wxListItem *arg1 = (wxListItem *) 0 ;
15952 long arg2 ;
15953 PyObject * obj0 = 0 ;
15954 char *kwnames[] = {
15955 (char *) "self",(char *) "id", NULL
15956 };
15957
15958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15960 {
15961 PyThreadState* __tstate = wxPyBeginAllowThreads();
15962 (arg1)->SetId(arg2);
15963
15964 wxPyEndAllowThreads(__tstate);
15965 if (PyErr_Occurred()) SWIG_fail;
15966 }
15967 Py_INCREF(Py_None); resultobj = Py_None;
15968 return resultobj;
15969 fail:
15970 return NULL;
15971 }
15972
15973
15974 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15975 PyObject *resultobj;
15976 wxListItem *arg1 = (wxListItem *) 0 ;
15977 int arg2 ;
15978 PyObject * obj0 = 0 ;
15979 char *kwnames[] = {
15980 (char *) "self",(char *) "col", NULL
15981 };
15982
15983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 (arg1)->SetColumn(arg2);
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 Py_INCREF(Py_None); resultobj = Py_None;
15993 return resultobj;
15994 fail:
15995 return NULL;
15996 }
15997
15998
15999 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxListItem *arg1 = (wxListItem *) 0 ;
16002 long arg2 ;
16003 PyObject * obj0 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self",(char *) "state", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16010 {
16011 PyThreadState* __tstate = wxPyBeginAllowThreads();
16012 (arg1)->SetState(arg2);
16013
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 Py_INCREF(Py_None); resultobj = Py_None;
16018 return resultobj;
16019 fail:
16020 return NULL;
16021 }
16022
16023
16024 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj;
16026 wxListItem *arg1 = (wxListItem *) 0 ;
16027 long arg2 ;
16028 PyObject * obj0 = 0 ;
16029 char *kwnames[] = {
16030 (char *) "self",(char *) "stateMask", NULL
16031 };
16032
16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16035 {
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 (arg1)->SetStateMask(arg2);
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 Py_INCREF(Py_None); resultobj = Py_None;
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxListItem *arg1 = (wxListItem *) 0 ;
16052 wxString *arg2 = 0 ;
16053 bool temp2 = False ;
16054 PyObject * obj0 = 0 ;
16055 PyObject * obj1 = 0 ;
16056 char *kwnames[] = {
16057 (char *) "self",(char *) "text", NULL
16058 };
16059
16060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16062 {
16063 arg2 = wxString_in_helper(obj1);
16064 if (arg2 == NULL) SWIG_fail;
16065 temp2 = True;
16066 }
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 (arg1)->SetText((wxString const &)*arg2);
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 Py_INCREF(Py_None); resultobj = Py_None;
16075 {
16076 if (temp2)
16077 delete arg2;
16078 }
16079 return resultobj;
16080 fail:
16081 {
16082 if (temp2)
16083 delete arg2;
16084 }
16085 return NULL;
16086 }
16087
16088
16089 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16090 PyObject *resultobj;
16091 wxListItem *arg1 = (wxListItem *) 0 ;
16092 int arg2 ;
16093 PyObject * obj0 = 0 ;
16094 char *kwnames[] = {
16095 (char *) "self",(char *) "image", NULL
16096 };
16097
16098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 (arg1)->SetImage(arg2);
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 Py_INCREF(Py_None); resultobj = Py_None;
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxListItem *arg1 = (wxListItem *) 0 ;
16117 long arg2 ;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self",(char *) "data", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 (arg1)->SetData(arg2);
16128
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 Py_INCREF(Py_None); resultobj = Py_None;
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxListItem *arg1 = (wxListItem *) 0 ;
16142 int arg2 ;
16143 PyObject * obj0 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self",(char *) "width", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 (arg1)->SetWidth(arg2);
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 Py_INCREF(Py_None); resultobj = Py_None;
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxListItem *arg1 = (wxListItem *) 0 ;
16167 int arg2 ;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self",(char *) "align", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16175 {
16176 PyThreadState* __tstate = wxPyBeginAllowThreads();
16177 (arg1)->SetAlign((wxListColumnFormat )arg2);
16178
16179 wxPyEndAllowThreads(__tstate);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 Py_INCREF(Py_None); resultobj = Py_None;
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxListItem *arg1 = (wxListItem *) 0 ;
16192 wxColour *arg2 = 0 ;
16193 wxColour temp2 ;
16194 PyObject * obj0 = 0 ;
16195 PyObject * obj1 = 0 ;
16196 char *kwnames[] = {
16197 (char *) "self",(char *) "colText", NULL
16198 };
16199
16200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16202 {
16203 arg2 = &temp2;
16204 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16205 }
16206 {
16207 PyThreadState* __tstate = wxPyBeginAllowThreads();
16208 (arg1)->SetTextColour((wxColour const &)*arg2);
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 Py_INCREF(Py_None); resultobj = Py_None;
16214 return resultobj;
16215 fail:
16216 return NULL;
16217 }
16218
16219
16220 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxListItem *arg1 = (wxListItem *) 0 ;
16223 wxColour *arg2 = 0 ;
16224 wxColour temp2 ;
16225 PyObject * obj0 = 0 ;
16226 PyObject * obj1 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self",(char *) "colBack", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16233 {
16234 arg2 = &temp2;
16235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16236 }
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 Py_INCREF(Py_None); resultobj = Py_None;
16245 return resultobj;
16246 fail:
16247 return NULL;
16248 }
16249
16250
16251 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxListItem *arg1 = (wxListItem *) 0 ;
16254 wxFont *arg2 = 0 ;
16255 PyObject * obj0 = 0 ;
16256 PyObject * obj1 = 0 ;
16257 char *kwnames[] = {
16258 (char *) "self",(char *) "font", NULL
16259 };
16260
16261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16264 if (arg2 == NULL) {
16265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16266 }
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 (arg1)->SetFont((wxFont const &)*arg2);
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 Py_INCREF(Py_None); resultobj = Py_None;
16275 return resultobj;
16276 fail:
16277 return NULL;
16278 }
16279
16280
16281 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxListItem *arg1 = (wxListItem *) 0 ;
16284 long result;
16285 PyObject * obj0 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 result = (long)(arg1)->GetMask();
16295
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 resultobj = PyInt_FromLong((long)result);
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16307 PyObject *resultobj;
16308 wxListItem *arg1 = (wxListItem *) 0 ;
16309 long result;
16310 PyObject * obj0 = 0 ;
16311 char *kwnames[] = {
16312 (char *) "self", NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = (long)(arg1)->GetId();
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 resultobj = PyInt_FromLong((long)result);
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16332 PyObject *resultobj;
16333 wxListItem *arg1 = (wxListItem *) 0 ;
16334 int result;
16335 PyObject * obj0 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 result = (int)(arg1)->GetColumn();
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 resultobj = PyInt_FromLong((long)result);
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxListItem *arg1 = (wxListItem *) 0 ;
16359 long result;
16360 PyObject * obj0 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 result = (long)(arg1)->GetState();
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 resultobj = PyInt_FromLong((long)result);
16375 return resultobj;
16376 fail:
16377 return NULL;
16378 }
16379
16380
16381 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj;
16383 wxListItem *arg1 = (wxListItem *) 0 ;
16384 wxString *result;
16385 PyObject * obj0 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16392 {
16393 PyThreadState* __tstate = wxPyBeginAllowThreads();
16394 {
16395 wxString const &_result_ref = (arg1)->GetText();
16396 result = (wxString *) &_result_ref;
16397 }
16398
16399 wxPyEndAllowThreads(__tstate);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 {
16403 #if wxUSE_UNICODE
16404 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16405 #else
16406 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16407 #endif
16408 }
16409 return resultobj;
16410 fail:
16411 return NULL;
16412 }
16413
16414
16415 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj;
16417 wxListItem *arg1 = (wxListItem *) 0 ;
16418 int result;
16419 PyObject * obj0 = 0 ;
16420 char *kwnames[] = {
16421 (char *) "self", NULL
16422 };
16423
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 result = (int)(arg1)->GetImage();
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 resultobj = PyInt_FromLong((long)result);
16434 return resultobj;
16435 fail:
16436 return NULL;
16437 }
16438
16439
16440 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxListItem *arg1 = (wxListItem *) 0 ;
16443 long result;
16444 PyObject * obj0 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 result = (long)(arg1)->GetData();
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 resultobj = PyInt_FromLong((long)result);
16459 return resultobj;
16460 fail:
16461 return NULL;
16462 }
16463
16464
16465 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16466 PyObject *resultobj;
16467 wxListItem *arg1 = (wxListItem *) 0 ;
16468 int result;
16469 PyObject * obj0 = 0 ;
16470 char *kwnames[] = {
16471 (char *) "self", NULL
16472 };
16473
16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = (int)(arg1)->GetWidth();
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 resultobj = PyInt_FromLong((long)result);
16484 return resultobj;
16485 fail:
16486 return NULL;
16487 }
16488
16489
16490 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxListItem *arg1 = (wxListItem *) 0 ;
16493 int result;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self", NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (int)(arg1)->GetAlign();
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 resultobj = PyInt_FromLong((long)result);
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxListItem *arg1 = (wxListItem *) 0 ;
16518 wxListItemAttr *result;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (wxListItemAttr *)(arg1)->GetAttributes();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxListItem *arg1 = (wxListItem *) 0 ;
16543 bool result;
16544 PyObject * obj0 = 0 ;
16545 char *kwnames[] = {
16546 (char *) "self", NULL
16547 };
16548
16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)(arg1)->HasAttributes();
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 resultobj = PyInt_FromLong((long)result);
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxListItem *arg1 = (wxListItem *) 0 ;
16568 wxColour result;
16569 PyObject * obj0 = 0 ;
16570 char *kwnames[] = {
16571 (char *) "self", NULL
16572 };
16573
16574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = ((wxListItem const *)arg1)->GetTextColour();
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 {
16584 wxColour * resultptr;
16585 resultptr = new wxColour((wxColour &) result);
16586 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16587 }
16588 return resultobj;
16589 fail:
16590 return NULL;
16591 }
16592
16593
16594 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16595 PyObject *resultobj;
16596 wxListItem *arg1 = (wxListItem *) 0 ;
16597 wxColour result;
16598 PyObject * obj0 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 {
16613 wxColour * resultptr;
16614 resultptr = new wxColour((wxColour &) result);
16615 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16616 }
16617 return resultobj;
16618 fail:
16619 return NULL;
16620 }
16621
16622
16623 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj;
16625 wxListItem *arg1 = (wxListItem *) 0 ;
16626 wxFont result;
16627 PyObject * obj0 = 0 ;
16628 char *kwnames[] = {
16629 (char *) "self", NULL
16630 };
16631
16632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 result = ((wxListItem const *)arg1)->GetFont();
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 {
16642 wxFont * resultptr;
16643 resultptr = new wxFont((wxFont &) result);
16644 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16645 }
16646 return resultobj;
16647 fail:
16648 return NULL;
16649 }
16650
16651
16652 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj;
16654 wxListItem *arg1 = (wxListItem *) 0 ;
16655 long arg2 ;
16656 PyObject * obj0 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self",(char *) "m_mask", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16663 if (arg1) (arg1)->m_mask = arg2;
16664
16665 Py_INCREF(Py_None); resultobj = Py_None;
16666 return resultobj;
16667 fail:
16668 return NULL;
16669 }
16670
16671
16672 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj;
16674 wxListItem *arg1 = (wxListItem *) 0 ;
16675 long result;
16676 PyObject * obj0 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16683 result = (long) ((arg1)->m_mask);
16684
16685 resultobj = PyInt_FromLong((long)result);
16686 return resultobj;
16687 fail:
16688 return NULL;
16689 }
16690
16691
16692 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16693 PyObject *resultobj;
16694 wxListItem *arg1 = (wxListItem *) 0 ;
16695 long arg2 ;
16696 PyObject * obj0 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "self",(char *) "m_itemId", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16703 if (arg1) (arg1)->m_itemId = arg2;
16704
16705 Py_INCREF(Py_None); resultobj = Py_None;
16706 return resultobj;
16707 fail:
16708 return NULL;
16709 }
16710
16711
16712 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16713 PyObject *resultobj;
16714 wxListItem *arg1 = (wxListItem *) 0 ;
16715 long result;
16716 PyObject * obj0 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "self", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16723 result = (long) ((arg1)->m_itemId);
16724
16725 resultobj = PyInt_FromLong((long)result);
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxListItem *arg1 = (wxListItem *) 0 ;
16735 int arg2 ;
16736 PyObject * obj0 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self",(char *) "m_col", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16743 if (arg1) (arg1)->m_col = arg2;
16744
16745 Py_INCREF(Py_None); resultobj = Py_None;
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj;
16754 wxListItem *arg1 = (wxListItem *) 0 ;
16755 int result;
16756 PyObject * obj0 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "self", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16763 result = (int) ((arg1)->m_col);
16764
16765 resultobj = PyInt_FromLong((long)result);
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxListItem *arg1 = (wxListItem *) 0 ;
16775 long arg2 ;
16776 PyObject * obj0 = 0 ;
16777 char *kwnames[] = {
16778 (char *) "self",(char *) "m_state", NULL
16779 };
16780
16781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16783 if (arg1) (arg1)->m_state = arg2;
16784
16785 Py_INCREF(Py_None); resultobj = Py_None;
16786 return resultobj;
16787 fail:
16788 return NULL;
16789 }
16790
16791
16792 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj;
16794 wxListItem *arg1 = (wxListItem *) 0 ;
16795 long result;
16796 PyObject * obj0 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16803 result = (long) ((arg1)->m_state);
16804
16805 resultobj = PyInt_FromLong((long)result);
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxListItem *arg1 = (wxListItem *) 0 ;
16815 long arg2 ;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self",(char *) "m_stateMask", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16823 if (arg1) (arg1)->m_stateMask = arg2;
16824
16825 Py_INCREF(Py_None); resultobj = Py_None;
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxListItem *arg1 = (wxListItem *) 0 ;
16835 long result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16843 result = (long) ((arg1)->m_stateMask);
16844
16845 resultobj = PyInt_FromLong((long)result);
16846 return resultobj;
16847 fail:
16848 return NULL;
16849 }
16850
16851
16852 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxListItem *arg1 = (wxListItem *) 0 ;
16855 wxString *arg2 = (wxString *) 0 ;
16856 bool temp2 = False ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 char *kwnames[] = {
16860 (char *) "self",(char *) "m_text", NULL
16861 };
16862
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16865 {
16866 arg2 = wxString_in_helper(obj1);
16867 if (arg2 == NULL) SWIG_fail;
16868 temp2 = True;
16869 }
16870 if (arg1) (arg1)->m_text = *arg2;
16871
16872 Py_INCREF(Py_None); resultobj = Py_None;
16873 {
16874 if (temp2)
16875 delete arg2;
16876 }
16877 return resultobj;
16878 fail:
16879 {
16880 if (temp2)
16881 delete arg2;
16882 }
16883 return NULL;
16884 }
16885
16886
16887 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxListItem *arg1 = (wxListItem *) 0 ;
16890 wxString *result;
16891 PyObject * obj0 = 0 ;
16892 char *kwnames[] = {
16893 (char *) "self", NULL
16894 };
16895
16896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16898 result = (wxString *)& ((arg1)->m_text);
16899
16900 {
16901 #if wxUSE_UNICODE
16902 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16903 #else
16904 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16905 #endif
16906 }
16907 return resultobj;
16908 fail:
16909 return NULL;
16910 }
16911
16912
16913 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj;
16915 wxListItem *arg1 = (wxListItem *) 0 ;
16916 int arg2 ;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "m_image", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_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_image = 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_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16934 PyObject *resultobj;
16935 wxListItem *arg1 = (wxListItem *) 0 ;
16936 int result;
16937 PyObject * obj0 = 0 ;
16938 char *kwnames[] = {
16939 (char *) "self", NULL
16940 };
16941
16942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16944 result = (int) ((arg1)->m_image);
16945
16946 resultobj = PyInt_FromLong((long)result);
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_ListItem_m_data_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_data", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_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_data = 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_data_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_data_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_data);
16985
16986 resultobj = PyInt_FromLong((long)result);
16987 return resultobj;
16988 fail:
16989 return NULL;
16990 }
16991
16992
16993 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj;
16995 wxListItem *arg1 = (wxListItem *) 0 ;
16996 int arg2 ;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self",(char *) "m_format", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17004 if (arg1) (arg1)->m_format = arg2;
17005
17006 Py_INCREF(Py_None); resultobj = Py_None;
17007 return resultobj;
17008 fail:
17009 return NULL;
17010 }
17011
17012
17013 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17014 PyObject *resultobj;
17015 wxListItem *arg1 = (wxListItem *) 0 ;
17016 int result;
17017 PyObject * obj0 = 0 ;
17018 char *kwnames[] = {
17019 (char *) "self", NULL
17020 };
17021
17022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17024 result = (int) ((arg1)->m_format);
17025
17026 resultobj = PyInt_FromLong((long)result);
17027 return resultobj;
17028 fail:
17029 return NULL;
17030 }
17031
17032
17033 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj;
17035 wxListItem *arg1 = (wxListItem *) 0 ;
17036 int arg2 ;
17037 PyObject * obj0 = 0 ;
17038 char *kwnames[] = {
17039 (char *) "self",(char *) "m_width", NULL
17040 };
17041
17042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17044 if (arg1) (arg1)->m_width = arg2;
17045
17046 Py_INCREF(Py_None); resultobj = Py_None;
17047 return resultobj;
17048 fail:
17049 return NULL;
17050 }
17051
17052
17053 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17054 PyObject *resultobj;
17055 wxListItem *arg1 = (wxListItem *) 0 ;
17056 int result;
17057 PyObject * obj0 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self", NULL
17060 };
17061
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17064 result = (int) ((arg1)->m_width);
17065
17066 resultobj = PyInt_FromLong((long)result);
17067 return resultobj;
17068 fail:
17069 return NULL;
17070 }
17071
17072
17073 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17074 PyObject *obj;
17075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17076 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17077 Py_INCREF(obj);
17078 return Py_BuildValue((char *)"");
17079 }
17080 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17081 PyObject *resultobj;
17082 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17083 int arg2 = (int) 0 ;
17084 wxListEvent *result;
17085 char *kwnames[] = {
17086 (char *) "commandType",(char *) "id", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17093
17094 wxPyEndAllowThreads(__tstate);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 }
17097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17098 return resultobj;
17099 fail:
17100 return NULL;
17101 }
17102
17103
17104 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17105 PyObject *resultobj;
17106 wxListEvent *arg1 = (wxListEvent *) 0 ;
17107 int arg2 ;
17108 PyObject * obj0 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "self",(char *) "m_code", NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17115 if (arg1) (arg1)->m_code = arg2;
17116
17117 Py_INCREF(Py_None); resultobj = Py_None;
17118 return resultobj;
17119 fail:
17120 return NULL;
17121 }
17122
17123
17124 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17125 PyObject *resultobj;
17126 wxListEvent *arg1 = (wxListEvent *) 0 ;
17127 int result;
17128 PyObject * obj0 = 0 ;
17129 char *kwnames[] = {
17130 (char *) "self", NULL
17131 };
17132
17133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17135 result = (int) ((arg1)->m_code);
17136
17137 resultobj = PyInt_FromLong((long)result);
17138 return resultobj;
17139 fail:
17140 return NULL;
17141 }
17142
17143
17144 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxListEvent *arg1 = (wxListEvent *) 0 ;
17147 long arg2 ;
17148 PyObject * obj0 = 0 ;
17149 char *kwnames[] = {
17150 (char *) "self",(char *) "m_oldItemIndex", NULL
17151 };
17152
17153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17155 if (arg1) (arg1)->m_oldItemIndex = arg2;
17156
17157 Py_INCREF(Py_None); resultobj = Py_None;
17158 return resultobj;
17159 fail:
17160 return NULL;
17161 }
17162
17163
17164 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 wxListEvent *arg1 = (wxListEvent *) 0 ;
17167 long result;
17168 PyObject * obj0 = 0 ;
17169 char *kwnames[] = {
17170 (char *) "self", NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17175 result = (long) ((arg1)->m_oldItemIndex);
17176
17177 resultobj = PyInt_FromLong((long)result);
17178 return resultobj;
17179 fail:
17180 return NULL;
17181 }
17182
17183
17184 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj;
17186 wxListEvent *arg1 = (wxListEvent *) 0 ;
17187 long arg2 ;
17188 PyObject * obj0 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self",(char *) "m_itemIndex", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17195 if (arg1) (arg1)->m_itemIndex = arg2;
17196
17197 Py_INCREF(Py_None); resultobj = Py_None;
17198 return resultobj;
17199 fail:
17200 return NULL;
17201 }
17202
17203
17204 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17205 PyObject *resultobj;
17206 wxListEvent *arg1 = (wxListEvent *) 0 ;
17207 long result;
17208 PyObject * obj0 = 0 ;
17209 char *kwnames[] = {
17210 (char *) "self", NULL
17211 };
17212
17213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17215 result = (long) ((arg1)->m_itemIndex);
17216
17217 resultobj = PyInt_FromLong((long)result);
17218 return resultobj;
17219 fail:
17220 return NULL;
17221 }
17222
17223
17224 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj;
17226 wxListEvent *arg1 = (wxListEvent *) 0 ;
17227 int arg2 ;
17228 PyObject * obj0 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self",(char *) "m_col", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17235 if (arg1) (arg1)->m_col = arg2;
17236
17237 Py_INCREF(Py_None); resultobj = Py_None;
17238 return resultobj;
17239 fail:
17240 return NULL;
17241 }
17242
17243
17244 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17245 PyObject *resultobj;
17246 wxListEvent *arg1 = (wxListEvent *) 0 ;
17247 int result;
17248 PyObject * obj0 = 0 ;
17249 char *kwnames[] = {
17250 (char *) "self", NULL
17251 };
17252
17253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17255 result = (int) ((arg1)->m_col);
17256
17257 resultobj = PyInt_FromLong((long)result);
17258 return resultobj;
17259 fail:
17260 return NULL;
17261 }
17262
17263
17264 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj;
17266 wxListEvent *arg1 = (wxListEvent *) 0 ;
17267 wxPoint *arg2 = (wxPoint *) 0 ;
17268 PyObject * obj0 = 0 ;
17269 PyObject * obj1 = 0 ;
17270 char *kwnames[] = {
17271 (char *) "self",(char *) "m_pointDrag", NULL
17272 };
17273
17274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17277 if (arg1) (arg1)->m_pointDrag = *arg2;
17278
17279 Py_INCREF(Py_None); resultobj = Py_None;
17280 return resultobj;
17281 fail:
17282 return NULL;
17283 }
17284
17285
17286 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj;
17288 wxListEvent *arg1 = (wxListEvent *) 0 ;
17289 wxPoint *result;
17290 PyObject * obj0 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 result = (wxPoint *)& ((arg1)->m_pointDrag);
17298
17299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17300 return resultobj;
17301 fail:
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxListEvent *arg1 = (wxListEvent *) 0 ;
17309 wxListItem *result;
17310 PyObject * obj0 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17317 result = (wxListItem *)& ((arg1)->m_item);
17318
17319 {
17320 resultobj = wxPyMake_wxObject(result);
17321 }
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxListEvent *arg1 = (wxListEvent *) 0 ;
17331 int result;
17332 PyObject * obj0 = 0 ;
17333 char *kwnames[] = {
17334 (char *) "self", NULL
17335 };
17336
17337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 result = (int)(arg1)->GetKeyCode();
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 resultobj = PyInt_FromLong((long)result);
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxListEvent *arg1 = (wxListEvent *) 0 ;
17356 long result;
17357 PyObject * obj0 = 0 ;
17358 char *kwnames[] = {
17359 (char *) "self", NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (long)(arg1)->GetIndex();
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 resultobj = PyInt_FromLong((long)result);
17372 return resultobj;
17373 fail:
17374 return NULL;
17375 }
17376
17377
17378 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj;
17380 wxListEvent *arg1 = (wxListEvent *) 0 ;
17381 int result;
17382 PyObject * obj0 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 result = (int)(arg1)->GetColumn();
17392
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 resultobj = PyInt_FromLong((long)result);
17397 return resultobj;
17398 fail:
17399 return NULL;
17400 }
17401
17402
17403 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxListEvent *arg1 = (wxListEvent *) 0 ;
17406 wxPoint result;
17407 PyObject * obj0 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self", NULL
17410 };
17411
17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 result = (arg1)->GetPoint();
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 {
17422 wxPoint * resultptr;
17423 resultptr = new wxPoint((wxPoint &) result);
17424 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17425 }
17426 return resultobj;
17427 fail:
17428 return NULL;
17429 }
17430
17431
17432 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17433 PyObject *resultobj;
17434 wxListEvent *arg1 = (wxListEvent *) 0 ;
17435 wxString *result;
17436 PyObject * obj0 = 0 ;
17437 char *kwnames[] = {
17438 (char *) "self", NULL
17439 };
17440
17441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 {
17446 wxString const &_result_ref = (arg1)->GetLabel();
17447 result = (wxString *) &_result_ref;
17448 }
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 {
17454 #if wxUSE_UNICODE
17455 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17456 #else
17457 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17458 #endif
17459 }
17460 return resultobj;
17461 fail:
17462 return NULL;
17463 }
17464
17465
17466 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17467 PyObject *resultobj;
17468 wxListEvent *arg1 = (wxListEvent *) 0 ;
17469 wxString *result;
17470 PyObject * obj0 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "self", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17477 {
17478 PyThreadState* __tstate = wxPyBeginAllowThreads();
17479 {
17480 wxString const &_result_ref = (arg1)->GetText();
17481 result = (wxString *) &_result_ref;
17482 }
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 {
17488 #if wxUSE_UNICODE
17489 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17490 #else
17491 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17492 #endif
17493 }
17494 return resultobj;
17495 fail:
17496 return NULL;
17497 }
17498
17499
17500 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17501 PyObject *resultobj;
17502 wxListEvent *arg1 = (wxListEvent *) 0 ;
17503 int result;
17504 PyObject * obj0 = 0 ;
17505 char *kwnames[] = {
17506 (char *) "self", NULL
17507 };
17508
17509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (int)(arg1)->GetImage();
17514
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 resultobj = PyInt_FromLong((long)result);
17519 return resultobj;
17520 fail:
17521 return NULL;
17522 }
17523
17524
17525 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17526 PyObject *resultobj;
17527 wxListEvent *arg1 = (wxListEvent *) 0 ;
17528 long result;
17529 PyObject * obj0 = 0 ;
17530 char *kwnames[] = {
17531 (char *) "self", NULL
17532 };
17533
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (long)(arg1)->GetData();
17539
17540 wxPyEndAllowThreads(__tstate);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 resultobj = PyInt_FromLong((long)result);
17544 return resultobj;
17545 fail:
17546 return NULL;
17547 }
17548
17549
17550 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17551 PyObject *resultobj;
17552 wxListEvent *arg1 = (wxListEvent *) 0 ;
17553 long result;
17554 PyObject * obj0 = 0 ;
17555 char *kwnames[] = {
17556 (char *) "self", NULL
17557 };
17558
17559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17561 {
17562 PyThreadState* __tstate = wxPyBeginAllowThreads();
17563 result = (long)(arg1)->GetMask();
17564
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
17568 resultobj = PyInt_FromLong((long)result);
17569 return resultobj;
17570 fail:
17571 return NULL;
17572 }
17573
17574
17575 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17576 PyObject *resultobj;
17577 wxListEvent *arg1 = (wxListEvent *) 0 ;
17578 wxListItem *result;
17579 PyObject * obj0 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17586 {
17587 PyThreadState* __tstate = wxPyBeginAllowThreads();
17588 {
17589 wxListItem const &_result_ref = (arg1)->GetItem();
17590 result = (wxListItem *) &_result_ref;
17591 }
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17597 return resultobj;
17598 fail:
17599 return NULL;
17600 }
17601
17602
17603 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxListEvent *arg1 = (wxListEvent *) 0 ;
17606 long result;
17607 PyObject * obj0 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "self", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 result = (long)(arg1)->GetCacheFrom();
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 resultobj = PyInt_FromLong((long)result);
17622 return resultobj;
17623 fail:
17624 return NULL;
17625 }
17626
17627
17628 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj;
17630 wxListEvent *arg1 = (wxListEvent *) 0 ;
17631 long result;
17632 PyObject * obj0 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (long)(arg1)->GetCacheTo();
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 resultobj = PyInt_FromLong((long)result);
17647 return resultobj;
17648 fail:
17649 return NULL;
17650 }
17651
17652
17653 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj;
17655 wxListEvent *arg1 = (wxListEvent *) 0 ;
17656 bool result;
17657 PyObject * obj0 = 0 ;
17658 char *kwnames[] = {
17659 (char *) "self", NULL
17660 };
17661
17662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 resultobj = PyInt_FromLong((long)result);
17672 return resultobj;
17673 fail:
17674 return NULL;
17675 }
17676
17677
17678 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxListEvent *arg1 = (wxListEvent *) 0 ;
17681 bool arg2 ;
17682 PyObject * obj0 = 0 ;
17683 PyObject * obj1 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "editCancelled", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17690 arg2 = PyInt_AsLong(obj1) ? true : false;
17691 if (PyErr_Occurred()) SWIG_fail;
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 (arg1)->SetEditCanceled(arg2);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 Py_INCREF(Py_None); resultobj = Py_None;
17700 return resultobj;
17701 fail:
17702 return NULL;
17703 }
17704
17705
17706 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17707 PyObject *obj;
17708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17709 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17710 Py_INCREF(obj);
17711 return Py_BuildValue((char *)"");
17712 }
17713 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17714 PyObject *resultobj;
17715 wxWindow *arg1 = (wxWindow *) 0 ;
17716 int arg2 = (int) -1 ;
17717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17719 wxSize const &arg4_defvalue = wxDefaultSize ;
17720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17721 long arg5 = (long) wxLC_ICON ;
17722 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17723 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17724 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17725 wxString *arg7 = (wxString *) &arg7_defvalue ;
17726 wxPyListCtrl *result;
17727 wxPoint temp3 ;
17728 wxSize temp4 ;
17729 bool temp7 = False ;
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj2 = 0 ;
17732 PyObject * obj3 = 0 ;
17733 PyObject * obj5 = 0 ;
17734 PyObject * obj6 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17741 if (obj2) {
17742 {
17743 arg3 = &temp3;
17744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17745 }
17746 }
17747 if (obj3) {
17748 {
17749 arg4 = &temp4;
17750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17751 }
17752 }
17753 if (obj5) {
17754 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17755 if (arg6 == NULL) {
17756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17757 }
17758 }
17759 if (obj6) {
17760 {
17761 arg7 = wxString_in_helper(obj6);
17762 if (arg7 == NULL) SWIG_fail;
17763 temp7 = True;
17764 }
17765 }
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17774 {
17775 if (temp7)
17776 delete arg7;
17777 }
17778 return resultobj;
17779 fail:
17780 {
17781 if (temp7)
17782 delete arg7;
17783 }
17784 return NULL;
17785 }
17786
17787
17788 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxPyListCtrl *result;
17791 char *kwnames[] = {
17792 NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = (wxPyListCtrl *)new wxPyListCtrl();
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17811 PyObject *resultobj;
17812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17813 wxWindow *arg2 = (wxWindow *) 0 ;
17814 int arg3 = (int) -1 ;
17815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17817 wxSize const &arg5_defvalue = wxDefaultSize ;
17818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17819 long arg6 = (long) wxLC_ICON ;
17820 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17821 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17822 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17823 wxString *arg8 = (wxString *) &arg8_defvalue ;
17824 bool result;
17825 wxPoint temp4 ;
17826 wxSize temp5 ;
17827 bool temp8 = False ;
17828 PyObject * obj0 = 0 ;
17829 PyObject * obj1 = 0 ;
17830 PyObject * obj3 = 0 ;
17831 PyObject * obj4 = 0 ;
17832 PyObject * obj6 = 0 ;
17833 PyObject * obj7 = 0 ;
17834 char *kwnames[] = {
17835 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17836 };
17837
17838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17841 if (obj3) {
17842 {
17843 arg4 = &temp4;
17844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17845 }
17846 }
17847 if (obj4) {
17848 {
17849 arg5 = &temp5;
17850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17851 }
17852 }
17853 if (obj6) {
17854 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 if (arg7 == NULL) {
17856 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17857 }
17858 }
17859 if (obj7) {
17860 {
17861 arg8 = wxString_in_helper(obj7);
17862 if (arg8 == NULL) SWIG_fail;
17863 temp8 = True;
17864 }
17865 }
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = PyInt_FromLong((long)result);
17874 {
17875 if (temp8)
17876 delete arg8;
17877 }
17878 return resultobj;
17879 fail:
17880 {
17881 if (temp8)
17882 delete arg8;
17883 }
17884 return NULL;
17885 }
17886
17887
17888 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj;
17890 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17891 PyObject *arg2 = (PyObject *) 0 ;
17892 PyObject *arg3 = (PyObject *) 0 ;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 PyObject * obj2 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self",(char *) "self",(char *) "_class", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17902 arg2 = obj1;
17903 arg3 = obj2;
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 (arg1)->_setCallbackInfo(arg2,arg3);
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 Py_INCREF(Py_None); resultobj = Py_None;
17912 return resultobj;
17913 fail:
17914 return NULL;
17915 }
17916
17917
17918 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj;
17920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17921 wxColour *arg2 = 0 ;
17922 bool result;
17923 wxColour temp2 ;
17924 PyObject * obj0 = 0 ;
17925 PyObject * obj1 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self",(char *) "col", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17932 {
17933 arg2 = &temp2;
17934 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17935 }
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 resultobj = PyInt_FromLong((long)result);
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17953 wxColour *arg2 = 0 ;
17954 bool result;
17955 wxColour temp2 ;
17956 PyObject * obj0 = 0 ;
17957 PyObject * obj1 = 0 ;
17958 char *kwnames[] = {
17959 (char *) "self",(char *) "col", NULL
17960 };
17961
17962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17964 {
17965 arg2 = &temp2;
17966 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17967 }
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 resultobj = PyInt_FromLong((long)result);
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17985 int arg2 ;
17986 wxListItem *result;
17987 PyObject * obj0 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self",(char *) "col", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 {
18002 resultobj = wxPyMake_wxObject(result);
18003 }
18004 return resultobj;
18005 fail:
18006 return NULL;
18007 }
18008
18009
18010 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18011 PyObject *resultobj;
18012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18013 int arg2 ;
18014 wxListItem *arg3 = 0 ;
18015 bool result;
18016 PyObject * obj0 = 0 ;
18017 PyObject * obj2 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self",(char *) "col",(char *) "item", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18024 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18025 if (arg3 == NULL) {
18026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18027 }
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
18030 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18031
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 resultobj = PyInt_FromLong((long)result);
18036 return resultobj;
18037 fail:
18038 return NULL;
18039 }
18040
18041
18042 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18043 PyObject *resultobj;
18044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18045 int arg2 ;
18046 int result;
18047 PyObject * obj0 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self",(char *) "col", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 resultobj = PyInt_FromLong((long)result);
18062 return resultobj;
18063 fail:
18064 return NULL;
18065 }
18066
18067
18068 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18069 PyObject *resultobj;
18070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18071 int arg2 ;
18072 int arg3 ;
18073 bool result;
18074 PyObject * obj0 = 0 ;
18075 char *kwnames[] = {
18076 (char *) "self",(char *) "col",(char *) "width", NULL
18077 };
18078
18079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 resultobj = PyInt_FromLong((long)result);
18089 return resultobj;
18090 fail:
18091 return NULL;
18092 }
18093
18094
18095 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18096 PyObject *resultobj;
18097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18098 int result;
18099 PyObject * obj0 = 0 ;
18100 char *kwnames[] = {
18101 (char *) "self", NULL
18102 };
18103
18104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18106 {
18107 PyThreadState* __tstate = wxPyBeginAllowThreads();
18108 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18109
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 resultobj = PyInt_FromLong((long)result);
18114 return resultobj;
18115 fail:
18116 return NULL;
18117 }
18118
18119
18120 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18121 PyObject *resultobj;
18122 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18123 wxRect result;
18124 PyObject * obj0 = 0 ;
18125 char *kwnames[] = {
18126 (char *) "self", NULL
18127 };
18128
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 {
18139 wxRect * resultptr;
18140 resultptr = new wxRect((wxRect &) result);
18141 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18142 }
18143 return resultobj;
18144 fail:
18145 return NULL;
18146 }
18147
18148
18149 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18152 long arg2 ;
18153 int arg3 = (int) 0 ;
18154 wxListItem *result;
18155 PyObject * obj0 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self",(char *) "itemId",(char *) "col", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 {
18170 resultobj = wxPyMake_wxObject(result);
18171 }
18172 return resultobj;
18173 fail:
18174 return NULL;
18175 }
18176
18177
18178 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18179 PyObject *resultobj;
18180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18181 wxListItem *arg2 = 0 ;
18182 bool result;
18183 PyObject * obj0 = 0 ;
18184 PyObject * obj1 = 0 ;
18185 char *kwnames[] = {
18186 (char *) "self",(char *) "info", NULL
18187 };
18188
18189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18192 if (arg2 == NULL) {
18193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18194 }
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (bool)(arg1)->SetItem(*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_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18212 long arg2 ;
18213 int arg3 ;
18214 wxString *arg4 = 0 ;
18215 int arg5 = (int) -1 ;
18216 long result;
18217 bool temp4 = False ;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj3 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18226 {
18227 arg4 = wxString_in_helper(obj3);
18228 if (arg4 == NULL) SWIG_fail;
18229 temp4 = True;
18230 }
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = PyInt_FromLong((long)result);
18239 {
18240 if (temp4)
18241 delete arg4;
18242 }
18243 return resultobj;
18244 fail:
18245 {
18246 if (temp4)
18247 delete arg4;
18248 }
18249 return NULL;
18250 }
18251
18252
18253 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18256 long arg2 ;
18257 long arg3 ;
18258 int result;
18259 PyObject * obj0 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 resultobj = PyInt_FromLong((long)result);
18274 return resultobj;
18275 fail:
18276 return NULL;
18277 }
18278
18279
18280 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18283 long arg2 ;
18284 long arg3 ;
18285 long arg4 ;
18286 bool result;
18287 PyObject * obj0 = 0 ;
18288 char *kwnames[] = {
18289 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18290 };
18291
18292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 resultobj = PyInt_FromLong((long)result);
18302 return resultobj;
18303 fail:
18304 return NULL;
18305 }
18306
18307
18308 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18311 long arg2 ;
18312 int arg3 ;
18313 int arg4 ;
18314 bool result;
18315 PyObject * obj0 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 resultobj = PyInt_FromLong((long)result);
18330 return resultobj;
18331 fail:
18332 return NULL;
18333 }
18334
18335
18336 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18337 PyObject *resultobj;
18338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18339 long arg2 ;
18340 wxString result;
18341 PyObject * obj0 = 0 ;
18342 char *kwnames[] = {
18343 (char *) "self",(char *) "item", NULL
18344 };
18345
18346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 {
18356 #if wxUSE_UNICODE
18357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18358 #else
18359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18360 #endif
18361 }
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18369 PyObject *resultobj;
18370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18371 long arg2 ;
18372 wxString *arg3 = 0 ;
18373 bool temp3 = False ;
18374 PyObject * obj0 = 0 ;
18375 PyObject * obj2 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self",(char *) "item",(char *) "str", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18382 {
18383 arg3 = wxString_in_helper(obj2);
18384 if (arg3 == NULL) SWIG_fail;
18385 temp3 = True;
18386 }
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 Py_INCREF(Py_None); resultobj = Py_None;
18395 {
18396 if (temp3)
18397 delete arg3;
18398 }
18399 return resultobj;
18400 fail:
18401 {
18402 if (temp3)
18403 delete arg3;
18404 }
18405 return NULL;
18406 }
18407
18408
18409 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18412 long arg2 ;
18413 long result;
18414 PyObject * obj0 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "item", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18424
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
18428 resultobj = PyInt_FromLong((long)result);
18429 return resultobj;
18430 fail:
18431 return NULL;
18432 }
18433
18434
18435 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18436 PyObject *resultobj;
18437 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18438 long arg2 ;
18439 long arg3 ;
18440 bool result;
18441 PyObject * obj0 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "self",(char *) "item",(char *) "data", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (bool)(arg1)->SetItemData(arg2,arg3);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = PyInt_FromLong((long)result);
18456 return resultobj;
18457 fail:
18458 return NULL;
18459 }
18460
18461
18462 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18463 PyObject *resultobj;
18464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18465 long arg2 ;
18466 wxPoint result;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self",(char *) "item", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 wxPoint * resultptr;
18483 resultptr = new wxPoint((wxPoint &) result);
18484 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18485 }
18486 return resultobj;
18487 fail:
18488 return NULL;
18489 }
18490
18491
18492 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18493 PyObject *resultobj;
18494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18495 long arg2 ;
18496 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18497 wxRect result;
18498 PyObject * obj0 = 0 ;
18499 char *kwnames[] = {
18500 (char *) "self",(char *) "item",(char *) "code", NULL
18501 };
18502
18503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 {
18513 wxRect * resultptr;
18514 resultptr = new wxRect((wxRect &) result);
18515 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18516 }
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18526 long arg2 ;
18527 wxPoint *arg3 = 0 ;
18528 bool result;
18529 wxPoint temp3 ;
18530 PyObject * obj0 = 0 ;
18531 PyObject * obj2 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "self",(char *) "item",(char *) "pos", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 {
18539 arg3 = &temp3;
18540 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = PyInt_FromLong((long)result);
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18559 int result;
18560 PyObject * obj0 = 0 ;
18561 char *kwnames[] = {
18562 (char *) "self", NULL
18563 };
18564
18565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 resultobj = PyInt_FromLong((long)result);
18575 return resultobj;
18576 fail:
18577 return NULL;
18578 }
18579
18580
18581 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18582 PyObject *resultobj;
18583 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18584 int result;
18585 PyObject * obj0 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = PyInt_FromLong((long)result);
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18609 wxSize result;
18610 PyObject * obj0 = 0 ;
18611 char *kwnames[] = {
18612 (char *) "self", NULL
18613 };
18614
18615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 {
18625 wxSize * resultptr;
18626 resultptr = new wxSize((wxSize &) result);
18627 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18628 }
18629 return resultobj;
18630 fail:
18631 return NULL;
18632 }
18633
18634
18635 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj;
18637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18638 int arg2 ;
18639 bool arg3 = (bool) False ;
18640 PyObject * obj0 = 0 ;
18641 PyObject * obj2 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18644 };
18645
18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18648 if (obj2) {
18649 arg3 = PyInt_AsLong(obj2) ? true : false;
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 (arg1)->SetItemSpacing(arg2,arg3);
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 Py_INCREF(Py_None); resultobj = Py_None;
18660 return resultobj;
18661 fail:
18662 return NULL;
18663 }
18664
18665
18666 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18667 PyObject *resultobj;
18668 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18669 int result;
18670 PyObject * obj0 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 resultobj = PyInt_FromLong((long)result);
18685 return resultobj;
18686 fail:
18687 return NULL;
18688 }
18689
18690
18691 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18692 PyObject *resultobj;
18693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18694 wxColour result;
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 {
18710 wxColour * resultptr;
18711 resultptr = new wxColour((wxColour &) result);
18712 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18713 }
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18723 wxColour *arg2 = 0 ;
18724 wxColour temp2 ;
18725 PyObject * obj0 = 0 ;
18726 PyObject * obj1 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self",(char *) "col", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18733 {
18734 arg2 = &temp2;
18735 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18736 }
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 (arg1)->SetTextColour((wxColour const &)*arg2);
18740
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 Py_INCREF(Py_None); resultobj = Py_None;
18745 return resultobj;
18746 fail:
18747 return NULL;
18748 }
18749
18750
18751 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18754 long result;
18755 PyObject * obj0 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18765
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
18769 resultobj = PyInt_FromLong((long)result);
18770 return resultobj;
18771 fail:
18772 return NULL;
18773 }
18774
18775
18776 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18777 PyObject *resultobj;
18778 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18779 long arg2 ;
18780 bool arg3 = (bool) True ;
18781 PyObject * obj0 = 0 ;
18782 PyObject * obj2 = 0 ;
18783 char *kwnames[] = {
18784 (char *) "self",(char *) "style",(char *) "add", NULL
18785 };
18786
18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18789 if (obj2) {
18790 arg3 = PyInt_AsLong(obj2) ? true : false;
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 (arg1)->SetSingleStyle(arg2,arg3);
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 Py_INCREF(Py_None); resultobj = Py_None;
18801 return resultobj;
18802 fail:
18803 return NULL;
18804 }
18805
18806
18807 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18810 long arg2 ;
18811 PyObject * obj0 = 0 ;
18812 char *kwnames[] = {
18813 (char *) "self",(char *) "style", NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 (arg1)->SetWindowStyleFlag(arg2);
18821
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 Py_INCREF(Py_None); resultobj = Py_None;
18826 return resultobj;
18827 fail:
18828 return NULL;
18829 }
18830
18831
18832 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18833 PyObject *resultobj;
18834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18835 long arg2 ;
18836 int arg3 = (int) wxLIST_NEXT_ALL ;
18837 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18838 long result;
18839 PyObject * obj0 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 resultobj = PyInt_FromLong((long)result);
18854 return resultobj;
18855 fail:
18856 return NULL;
18857 }
18858
18859
18860 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18863 int arg2 ;
18864 wxImageList *result;
18865 PyObject * obj0 = 0 ;
18866 char *kwnames[] = {
18867 (char *) "self",(char *) "which", NULL
18868 };
18869
18870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880 resultobj = wxPyMake_wxObject(result);
18881 }
18882 return resultobj;
18883 fail:
18884 return NULL;
18885 }
18886
18887
18888 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18889 PyObject *resultobj;
18890 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18891 wxImageList *arg2 = (wxImageList *) 0 ;
18892 int arg3 ;
18893 PyObject * obj0 = 0 ;
18894 PyObject * obj1 = 0 ;
18895 char *kwnames[] = {
18896 (char *) "self",(char *) "imageList",(char *) "which", NULL
18897 };
18898
18899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18902 {
18903 PyThreadState* __tstate = wxPyBeginAllowThreads();
18904 (arg1)->SetImageList(arg2,arg3);
18905
18906 wxPyEndAllowThreads(__tstate);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 Py_INCREF(Py_None); resultobj = Py_None;
18910 return resultobj;
18911 fail:
18912 return NULL;
18913 }
18914
18915
18916 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18917 PyObject *resultobj;
18918 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18919 wxImageList *arg2 = (wxImageList *) 0 ;
18920 int arg3 ;
18921 PyObject * obj0 = 0 ;
18922 PyObject * obj1 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self",(char *) "imageList",(char *) "which", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 (arg1)->AssignImageList(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_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18947 bool result;
18948 PyObject * obj0 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) 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 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 resultobj = PyInt_FromLong((long)result);
18963 return resultobj;
18964 fail:
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18972 long arg2 ;
18973 PyObject * obj0 = 0 ;
18974 char *kwnames[] = {
18975 (char *) "self",(char *) "item", NULL
18976 };
18977
18978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18980 {
18981 PyThreadState* __tstate = wxPyBeginAllowThreads();
18982 (arg1)->RefreshItem(arg2);
18983
18984 wxPyEndAllowThreads(__tstate);
18985 if (PyErr_Occurred()) SWIG_fail;
18986 }
18987 Py_INCREF(Py_None); resultobj = Py_None;
18988 return resultobj;
18989 fail:
18990 return NULL;
18991 }
18992
18993
18994 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj;
18996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18997 long arg2 ;
18998 long arg3 ;
18999 PyObject * obj0 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 (arg1)->RefreshItems(arg2,arg3);
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 Py_INCREF(Py_None); resultobj = Py_None;
19014 return resultobj;
19015 fail:
19016 return NULL;
19017 }
19018
19019
19020 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj;
19022 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19023 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19024 bool result;
19025 PyObject * obj0 = 0 ;
19026 char *kwnames[] = {
19027 (char *) "self",(char *) "flag", NULL
19028 };
19029
19030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 result = (bool)(arg1)->Arrange(arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 resultobj = PyInt_FromLong((long)result);
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19049 long arg2 ;
19050 bool result;
19051 PyObject * obj0 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "item", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 result = (bool)(arg1)->DeleteItem(arg2);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 resultobj = PyInt_FromLong((long)result);
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19075 bool result;
19076 PyObject * obj0 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 result = (bool)(arg1)->DeleteAllItems();
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 resultobj = PyInt_FromLong((long)result);
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19100 int arg2 ;
19101 bool result;
19102 PyObject * obj0 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self",(char *) "col", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 result = (bool)(arg1)->DeleteColumn(arg2);
19112
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 resultobj = PyInt_FromLong((long)result);
19117 return resultobj;
19118 fail:
19119 return NULL;
19120 }
19121
19122
19123 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19126 bool result;
19127 PyObject * obj0 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 result = (bool)(arg1)->DeleteAllColumns();
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 resultobj = PyInt_FromLong((long)result);
19142 return resultobj;
19143 fail:
19144 return NULL;
19145 }
19146
19147
19148 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj;
19150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19151 PyObject * obj0 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 (arg1)->ClearAll();
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 Py_INCREF(Py_None); resultobj = Py_None;
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19175 long arg2 ;
19176 PyObject * obj0 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self",(char *) "item", NULL
19179 };
19180
19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 (arg1)->EditLabel(arg2);
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 Py_INCREF(Py_None); resultobj = Py_None;
19191 return resultobj;
19192 fail:
19193 return NULL;
19194 }
19195
19196
19197 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj;
19199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19200 long arg2 ;
19201 bool result;
19202 PyObject * obj0 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self",(char *) "item", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 result = (bool)(arg1)->EnsureVisible(arg2);
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 resultobj = PyInt_FromLong((long)result);
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19226 long arg2 ;
19227 wxString *arg3 = 0 ;
19228 bool arg4 = (bool) False ;
19229 long result;
19230 bool temp3 = False ;
19231 PyObject * obj0 = 0 ;
19232 PyObject * obj2 = 0 ;
19233 PyObject * obj3 = 0 ;
19234 char *kwnames[] = {
19235 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19236 };
19237
19238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19240 {
19241 arg3 = wxString_in_helper(obj2);
19242 if (arg3 == NULL) SWIG_fail;
19243 temp3 = True;
19244 }
19245 if (obj3) {
19246 arg4 = PyInt_AsLong(obj3) ? true : false;
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19252
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 resultobj = PyInt_FromLong((long)result);
19257 {
19258 if (temp3)
19259 delete arg3;
19260 }
19261 return resultobj;
19262 fail:
19263 {
19264 if (temp3)
19265 delete arg3;
19266 }
19267 return NULL;
19268 }
19269
19270
19271 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19272 PyObject *resultobj;
19273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19274 long arg2 ;
19275 long arg3 ;
19276 long result;
19277 PyObject * obj0 = 0 ;
19278 char *kwnames[] = {
19279 (char *) "self",(char *) "start",(char *) "data", NULL
19280 };
19281
19282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 result = (long)(arg1)->FindItem(arg2,arg3);
19287
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 resultobj = PyInt_FromLong((long)result);
19292 return resultobj;
19293 fail:
19294 return NULL;
19295 }
19296
19297
19298 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19301 long arg2 ;
19302 wxPoint *arg3 = 0 ;
19303 int arg4 ;
19304 long result;
19305 wxPoint temp3 ;
19306 PyObject * obj0 = 0 ;
19307 PyObject * obj2 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 {
19315 arg3 = &temp3;
19316 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = PyInt_FromLong((long)result);
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19335 wxPoint *arg2 = 0 ;
19336 int *arg3 = 0 ;
19337 long result;
19338 wxPoint temp2 ;
19339 int temp3 ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "point", NULL
19344 };
19345
19346 arg3 = &temp3;
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 {
19350 arg2 = &temp2;
19351 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19352 }
19353 {
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19356
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 resultobj = PyInt_FromLong((long)result);
19361 {
19362 PyObject *o = PyInt_FromLong((long) (*arg3));
19363 resultobj = t_output_helper(resultobj,o);
19364 }
19365 return resultobj;
19366 fail:
19367 return NULL;
19368 }
19369
19370
19371 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj;
19373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19374 wxListItem *arg2 = 0 ;
19375 long result;
19376 PyObject * obj0 = 0 ;
19377 PyObject * obj1 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "info", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19385 if (arg2 == NULL) {
19386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19387 }
19388 {
19389 PyThreadState* __tstate = wxPyBeginAllowThreads();
19390 result = (long)(arg1)->InsertItem(*arg2);
19391
19392 wxPyEndAllowThreads(__tstate);
19393 if (PyErr_Occurred()) SWIG_fail;
19394 }
19395 resultobj = PyInt_FromLong((long)result);
19396 return resultobj;
19397 fail:
19398 return NULL;
19399 }
19400
19401
19402 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19403 PyObject *resultobj;
19404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19405 long arg2 ;
19406 wxString *arg3 = 0 ;
19407 long result;
19408 bool temp3 = False ;
19409 PyObject * obj0 = 0 ;
19410 PyObject * obj2 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "index",(char *) "label", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19417 {
19418 arg3 = wxString_in_helper(obj2);
19419 if (arg3 == NULL) SWIG_fail;
19420 temp3 = True;
19421 }
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 resultobj = PyInt_FromLong((long)result);
19430 {
19431 if (temp3)
19432 delete arg3;
19433 }
19434 return resultobj;
19435 fail:
19436 {
19437 if (temp3)
19438 delete arg3;
19439 }
19440 return NULL;
19441 }
19442
19443
19444 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19447 long arg2 ;
19448 int arg3 ;
19449 long result;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 result = (long)(arg1)->InsertItem(arg2,arg3);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 resultobj = PyInt_FromLong((long)result);
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19474 long arg2 ;
19475 wxString *arg3 = 0 ;
19476 int arg4 ;
19477 long result;
19478 bool temp3 = False ;
19479 PyObject * obj0 = 0 ;
19480 PyObject * obj2 = 0 ;
19481 char *kwnames[] = {
19482 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19483 };
19484
19485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19487 {
19488 arg3 = wxString_in_helper(obj2);
19489 if (arg3 == NULL) SWIG_fail;
19490 temp3 = True;
19491 }
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 resultobj = PyInt_FromLong((long)result);
19500 {
19501 if (temp3)
19502 delete arg3;
19503 }
19504 return resultobj;
19505 fail:
19506 {
19507 if (temp3)
19508 delete arg3;
19509 }
19510 return NULL;
19511 }
19512
19513
19514 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19515 PyObject *resultobj;
19516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19517 long arg2 ;
19518 wxListItem *arg3 = 0 ;
19519 long result;
19520 PyObject * obj0 = 0 ;
19521 PyObject * obj2 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self",(char *) "col",(char *) "info", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19528 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19529 if (arg3 == NULL) {
19530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19531 }
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 resultobj = PyInt_FromLong((long)result);
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19549 long arg2 ;
19550 wxString *arg3 = 0 ;
19551 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19552 int arg5 = (int) -1 ;
19553 long result;
19554 bool temp3 = False ;
19555 PyObject * obj0 = 0 ;
19556 PyObject * obj2 = 0 ;
19557 char *kwnames[] = {
19558 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19559 };
19560
19561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19563 {
19564 arg3 = wxString_in_helper(obj2);
19565 if (arg3 == NULL) SWIG_fail;
19566 temp3 = True;
19567 }
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19571
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
19575 resultobj = PyInt_FromLong((long)result);
19576 {
19577 if (temp3)
19578 delete arg3;
19579 }
19580 return resultobj;
19581 fail:
19582 {
19583 if (temp3)
19584 delete arg3;
19585 }
19586 return NULL;
19587 }
19588
19589
19590 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj;
19592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19593 long arg2 ;
19594 PyObject * obj0 = 0 ;
19595 char *kwnames[] = {
19596 (char *) "self",(char *) "count", NULL
19597 };
19598
19599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19601 {
19602 PyThreadState* __tstate = wxPyBeginAllowThreads();
19603 (arg1)->SetItemCount(arg2);
19604
19605 wxPyEndAllowThreads(__tstate);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 }
19608 Py_INCREF(Py_None); resultobj = Py_None;
19609 return resultobj;
19610 fail:
19611 return NULL;
19612 }
19613
19614
19615 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19618 int arg2 ;
19619 int arg3 ;
19620 bool result;
19621 PyObject * obj0 = 0 ;
19622 char *kwnames[] = {
19623 (char *) "self",(char *) "dx",(char *) "dy", NULL
19624 };
19625
19626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = (bool)(arg1)->ScrollList(arg2,arg3);
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 resultobj = PyInt_FromLong((long)result);
19636 return resultobj;
19637 fail:
19638 return NULL;
19639 }
19640
19641
19642 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj;
19644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19645 long arg2 ;
19646 wxColour *arg3 = 0 ;
19647 wxColour temp3 ;
19648 PyObject * obj0 = 0 ;
19649 PyObject * obj2 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self",(char *) "item",(char *) "col", NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19656 {
19657 arg3 = &temp3;
19658 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19659 }
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 Py_INCREF(Py_None); resultobj = Py_None;
19668 return resultobj;
19669 fail:
19670 return NULL;
19671 }
19672
19673
19674 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19675 PyObject *resultobj;
19676 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19677 long arg2 ;
19678 wxColour result;
19679 PyObject * obj0 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "item", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 {
19694 wxColour * resultptr;
19695 resultptr = new wxColour((wxColour &) result);
19696 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19697 }
19698 return resultobj;
19699 fail:
19700 return NULL;
19701 }
19702
19703
19704 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19707 long arg2 ;
19708 wxColour *arg3 = 0 ;
19709 wxColour temp3 ;
19710 PyObject * obj0 = 0 ;
19711 PyObject * obj2 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self",(char *) "item",(char *) "col", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19718 {
19719 arg3 = &temp3;
19720 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19721 }
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 Py_INCREF(Py_None); resultobj = Py_None;
19730 return resultobj;
19731 fail:
19732 return NULL;
19733 }
19734
19735
19736 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19739 long arg2 ;
19740 wxColour result;
19741 PyObject * obj0 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self",(char *) "item", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 {
19756 wxColour * resultptr;
19757 resultptr = new wxColour((wxColour &) result);
19758 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19759 }
19760 return resultobj;
19761 fail:
19762 return NULL;
19763 }
19764
19765
19766 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19767 PyObject *resultobj;
19768 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19769 PyObject *arg2 = (PyObject *) 0 ;
19770 bool result;
19771 PyObject * obj0 = 0 ;
19772 PyObject * obj1 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self",(char *) "func", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19779 arg2 = obj1;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 resultobj = PyInt_FromLong((long)result);
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19797 wxWindow *result;
19798 PyObject * obj0 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 PyThreadState* __tstate = wxPyBeginAllowThreads();
19807 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19808
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 {
19813 resultobj = wxPyMake_wxObject(result);
19814 }
19815 return resultobj;
19816 fail:
19817 return NULL;
19818 }
19819
19820
19821 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19822 PyObject *obj;
19823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19824 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19825 Py_INCREF(obj);
19826 return Py_BuildValue((char *)"");
19827 }
19828 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19829 PyObject *resultobj;
19830 wxWindow *arg1 = (wxWindow *) 0 ;
19831 int arg2 = (int) -1 ;
19832 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19833 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19834 wxSize const &arg4_defvalue = wxDefaultSize ;
19835 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19836 long arg5 = (long) wxLC_REPORT ;
19837 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19838 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19839 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19840 wxString *arg7 = (wxString *) &arg7_defvalue ;
19841 wxListView *result;
19842 wxPoint temp3 ;
19843 wxSize temp4 ;
19844 bool temp7 = False ;
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj2 = 0 ;
19847 PyObject * obj3 = 0 ;
19848 PyObject * obj5 = 0 ;
19849 PyObject * obj6 = 0 ;
19850 char *kwnames[] = {
19851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19852 };
19853
19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19856 if (obj2) {
19857 {
19858 arg3 = &temp3;
19859 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19860 }
19861 }
19862 if (obj3) {
19863 {
19864 arg4 = &temp4;
19865 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19866 }
19867 }
19868 if (obj5) {
19869 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19870 if (arg6 == NULL) {
19871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19872 }
19873 }
19874 if (obj6) {
19875 {
19876 arg7 = wxString_in_helper(obj6);
19877 if (arg7 == NULL) SWIG_fail;
19878 temp7 = True;
19879 }
19880 }
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19889 {
19890 if (temp7)
19891 delete arg7;
19892 }
19893 return resultobj;
19894 fail:
19895 {
19896 if (temp7)
19897 delete arg7;
19898 }
19899 return NULL;
19900 }
19901
19902
19903 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19904 PyObject *resultobj;
19905 wxListView *result;
19906 char *kwnames[] = {
19907 NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 result = (wxListView *)new wxListView();
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxListView *arg1 = (wxListView *) 0 ;
19928 wxWindow *arg2 = (wxWindow *) 0 ;
19929 int arg3 = (int) -1 ;
19930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19932 wxSize const &arg5_defvalue = wxDefaultSize ;
19933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19934 long arg6 = (long) wxLC_REPORT ;
19935 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19936 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19937 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19938 wxString *arg8 = (wxString *) &arg8_defvalue ;
19939 bool result;
19940 wxPoint temp4 ;
19941 wxSize temp5 ;
19942 bool temp8 = False ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 PyObject * obj3 = 0 ;
19946 PyObject * obj4 = 0 ;
19947 PyObject * obj6 = 0 ;
19948 PyObject * obj7 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19956 if (obj3) {
19957 {
19958 arg4 = &temp4;
19959 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19960 }
19961 }
19962 if (obj4) {
19963 {
19964 arg5 = &temp5;
19965 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19966 }
19967 }
19968 if (obj6) {
19969 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19970 if (arg7 == NULL) {
19971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19972 }
19973 }
19974 if (obj7) {
19975 {
19976 arg8 = wxString_in_helper(obj7);
19977 if (arg8 == NULL) SWIG_fail;
19978 temp8 = True;
19979 }
19980 }
19981 {
19982 PyThreadState* __tstate = wxPyBeginAllowThreads();
19983 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19984
19985 wxPyEndAllowThreads(__tstate);
19986 if (PyErr_Occurred()) SWIG_fail;
19987 }
19988 resultobj = PyInt_FromLong((long)result);
19989 {
19990 if (temp8)
19991 delete arg8;
19992 }
19993 return resultobj;
19994 fail:
19995 {
19996 if (temp8)
19997 delete arg8;
19998 }
19999 return NULL;
20000 }
20001
20002
20003 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj;
20005 wxListView *arg1 = (wxListView *) 0 ;
20006 long arg2 ;
20007 bool arg3 = (bool) True ;
20008 PyObject * obj0 = 0 ;
20009 PyObject * obj2 = 0 ;
20010 char *kwnames[] = {
20011 (char *) "self",(char *) "n",(char *) "on", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20016 if (obj2) {
20017 arg3 = PyInt_AsLong(obj2) ? true : false;
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->Select(arg2,arg3);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxListView *arg1 = (wxListView *) 0 ;
20037 long arg2 ;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self",(char *) "index", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 (arg1)->Focus(arg2);
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 Py_INCREF(Py_None); resultobj = Py_None;
20053 return resultobj;
20054 fail:
20055 return NULL;
20056 }
20057
20058
20059 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20060 PyObject *resultobj;
20061 wxListView *arg1 = (wxListView *) 0 ;
20062 long result;
20063 PyObject * obj0 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20070 {
20071 PyThreadState* __tstate = wxPyBeginAllowThreads();
20072 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20073
20074 wxPyEndAllowThreads(__tstate);
20075 if (PyErr_Occurred()) SWIG_fail;
20076 }
20077 resultobj = PyInt_FromLong((long)result);
20078 return resultobj;
20079 fail:
20080 return NULL;
20081 }
20082
20083
20084 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20085 PyObject *resultobj;
20086 wxListView *arg1 = (wxListView *) 0 ;
20087 long arg2 ;
20088 long result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self",(char *) "item", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = PyInt_FromLong((long)result);
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxListView *arg1 = (wxListView *) 0 ;
20113 long result;
20114 PyObject * obj0 = 0 ;
20115 char *kwnames[] = {
20116 (char *) "self", NULL
20117 };
20118
20119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20124
20125 wxPyEndAllowThreads(__tstate);
20126 if (PyErr_Occurred()) SWIG_fail;
20127 }
20128 resultobj = PyInt_FromLong((long)result);
20129 return resultobj;
20130 fail:
20131 return NULL;
20132 }
20133
20134
20135 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20136 PyObject *resultobj;
20137 wxListView *arg1 = (wxListView *) 0 ;
20138 long arg2 ;
20139 bool result;
20140 PyObject * obj0 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self",(char *) "index", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (bool)(arg1)->IsSelected(arg2);
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = PyInt_FromLong((long)result);
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxListView *arg1 = (wxListView *) 0 ;
20164 int arg2 ;
20165 int arg3 ;
20166 PyObject * obj0 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self",(char *) "col",(char *) "image", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 (arg1)->SetColumnImage(arg2,arg3);
20176
20177 wxPyEndAllowThreads(__tstate);
20178 if (PyErr_Occurred()) SWIG_fail;
20179 }
20180 Py_INCREF(Py_None); resultobj = Py_None;
20181 return resultobj;
20182 fail:
20183 return NULL;
20184 }
20185
20186
20187 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20188 PyObject *resultobj;
20189 wxListView *arg1 = (wxListView *) 0 ;
20190 int arg2 ;
20191 PyObject * obj0 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self",(char *) "col", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20198 {
20199 PyThreadState* __tstate = wxPyBeginAllowThreads();
20200 (arg1)->ClearColumnImage(arg2);
20201
20202 wxPyEndAllowThreads(__tstate);
20203 if (PyErr_Occurred()) SWIG_fail;
20204 }
20205 Py_INCREF(Py_None); resultobj = Py_None;
20206 return resultobj;
20207 fail:
20208 return NULL;
20209 }
20210
20211
20212 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20213 PyObject *obj;
20214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20215 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20216 Py_INCREF(obj);
20217 return Py_BuildValue((char *)"");
20218 }
20219 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20220 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20221 return 1;
20222 }
20223
20224
20225 static PyObject *_wrap_TreeCtrlNameStr_get() {
20226 PyObject *pyobj;
20227
20228 {
20229 #if wxUSE_UNICODE
20230 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20231 #else
20232 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20233 #endif
20234 }
20235 return pyobj;
20236 }
20237
20238
20239 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxTreeItemId *result;
20242 char *kwnames[] = {
20243 NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 result = (wxTreeItemId *)new wxTreeItemId();
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20264 PyObject * obj0 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 delete arg1;
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 Py_INCREF(Py_None); resultobj = Py_None;
20279 return resultobj;
20280 fail:
20281 return NULL;
20282 }
20283
20284
20285 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20288 bool result;
20289 PyObject * obj0 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = PyInt_FromLong((long)result);
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20313 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20314 bool result;
20315 PyObject * obj0 = 0 ;
20316 PyObject * obj1 = 0 ;
20317 char *kwnames[] = {
20318 (char *) "self",(char *) "other", NULL
20319 };
20320
20321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
20326 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20327
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
20331 resultobj = PyInt_FromLong((long)result);
20332 return resultobj;
20333 fail:
20334 return NULL;
20335 }
20336
20337
20338 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20339 PyObject *resultobj;
20340 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20341 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20342 bool result;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "other", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 resultobj = PyInt_FromLong((long)result);
20360 return resultobj;
20361 fail:
20362 return NULL;
20363 }
20364
20365
20366 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20369 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20370 PyObject * obj0 = 0 ;
20371 PyObject * obj1 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self",(char *) "m_pItem", NULL
20374 };
20375
20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20379 if (arg1) (arg1)->m_pItem = arg2;
20380
20381 Py_INCREF(Py_None); resultobj = Py_None;
20382 return resultobj;
20383 fail:
20384 return NULL;
20385 }
20386
20387
20388 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj;
20390 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20391 wxTreeItemIdValue result;
20392 PyObject * obj0 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20399 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20400
20401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20402 return resultobj;
20403 fail:
20404 return NULL;
20405 }
20406
20407
20408 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20409 PyObject *obj;
20410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20411 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20412 Py_INCREF(obj);
20413 return Py_BuildValue((char *)"");
20414 }
20415 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20416 PyObject *resultobj;
20417 PyObject *arg1 = (PyObject *) NULL ;
20418 wxPyTreeItemData *result;
20419 PyObject * obj0 = 0 ;
20420 char *kwnames[] = {
20421 (char *) "obj", NULL
20422 };
20423
20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20425 if (obj0) {
20426 arg1 = obj0;
20427 }
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20436 return resultobj;
20437 fail:
20438 return NULL;
20439 }
20440
20441
20442 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20445 PyObject *result;
20446 PyObject * obj0 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (PyObject *)(arg1)->GetData();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 resultobj = result;
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20470 PyObject *arg2 = (PyObject *) 0 ;
20471 PyObject * obj0 = 0 ;
20472 PyObject * obj1 = 0 ;
20473 char *kwnames[] = {
20474 (char *) "self",(char *) "obj", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20479 arg2 = obj1;
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 (arg1)->SetData(arg2);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 Py_INCREF(Py_None); resultobj = Py_None;
20488 return resultobj;
20489 fail:
20490 return NULL;
20491 }
20492
20493
20494 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20495 PyObject *resultobj;
20496 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20497 wxTreeItemId *result;
20498 PyObject * obj0 = 0 ;
20499 char *kwnames[] = {
20500 (char *) "self", NULL
20501 };
20502
20503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20505 {
20506 PyThreadState* __tstate = wxPyBeginAllowThreads();
20507 {
20508 wxTreeItemId const &_result_ref = (arg1)->GetId();
20509 result = (wxTreeItemId *) &_result_ref;
20510 }
20511
20512 wxPyEndAllowThreads(__tstate);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 }
20515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20516 return resultobj;
20517 fail:
20518 return NULL;
20519 }
20520
20521
20522 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20525 wxTreeItemId *arg2 = 0 ;
20526 PyObject * obj0 = 0 ;
20527 PyObject * obj1 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self",(char *) "id", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20535 if (arg2 == NULL) {
20536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20537 }
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 (arg1)->SetId((wxTreeItemId const &)*arg2);
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 Py_INCREF(Py_None); resultobj = Py_None;
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 wxPyTreeItemData_Destroy(arg1);
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20577 PyObject *obj;
20578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20579 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20580 Py_INCREF(obj);
20581 return Py_BuildValue((char *)"");
20582 }
20583 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20586 int arg2 = (int) 0 ;
20587 wxTreeEvent *result;
20588 char *kwnames[] = {
20589 (char *) "commandType",(char *) "id", NULL
20590 };
20591
20592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20601 return resultobj;
20602 fail:
20603 return NULL;
20604 }
20605
20606
20607 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj;
20609 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20610 wxTreeItemId result;
20611 PyObject * obj0 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 result = ((wxTreeEvent const *)arg1)->GetItem();
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 {
20626 wxTreeItemId * resultptr;
20627 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20628 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20629 }
20630 return resultobj;
20631 fail:
20632 return NULL;
20633 }
20634
20635
20636 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20637 PyObject *resultobj;
20638 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20639 wxTreeItemId *arg2 = 0 ;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self",(char *) "item", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20649 if (arg2 == NULL) {
20650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20651 }
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 Py_INCREF(Py_None); resultobj = Py_None;
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20669 wxTreeItemId result;
20670 PyObject * obj0 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 {
20685 wxTreeItemId * resultptr;
20686 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20688 }
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20696 PyObject *resultobj;
20697 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20698 wxTreeItemId *arg2 = 0 ;
20699 PyObject * obj0 = 0 ;
20700 PyObject * obj1 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self",(char *) "item", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20708 if (arg2 == NULL) {
20709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20710 }
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 Py_INCREF(Py_None); resultobj = Py_None;
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20728 wxPoint result;
20729 PyObject * obj0 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = ((wxTreeEvent const *)arg1)->GetPoint();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 {
20744 wxPoint * resultptr;
20745 resultptr = new wxPoint((wxPoint &) result);
20746 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20747 }
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20757 wxPoint *arg2 = 0 ;
20758 wxPoint temp2 ;
20759 PyObject * obj0 = 0 ;
20760 PyObject * obj1 = 0 ;
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "pt", NULL
20763 };
20764
20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20767 {
20768 arg2 = &temp2;
20769 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20770 }
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 (arg1)->SetPoint((wxPoint const &)*arg2);
20774
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 Py_INCREF(Py_None); resultobj = Py_None;
20779 return resultobj;
20780 fail:
20781 return NULL;
20782 }
20783
20784
20785 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20788 wxKeyEvent *result;
20789 PyObject * obj0 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 {
20799 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20800 result = (wxKeyEvent *) &_result_ref;
20801 }
20802
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20814 PyObject *resultobj;
20815 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20816 int result;
20817 PyObject * obj0 = 0 ;
20818 char *kwnames[] = {
20819 (char *) "self", NULL
20820 };
20821
20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 resultobj = PyInt_FromLong((long)result);
20832 return resultobj;
20833 fail:
20834 return NULL;
20835 }
20836
20837
20838 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj;
20840 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20841 wxKeyEvent *arg2 = 0 ;
20842 PyObject * obj0 = 0 ;
20843 PyObject * obj1 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self",(char *) "evt", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20851 if (arg2 == NULL) {
20852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20853 }
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 Py_INCREF(Py_None); resultobj = Py_None;
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20871 wxString *result;
20872 PyObject * obj0 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 {
20882 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20883 result = (wxString *) &_result_ref;
20884 }
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 {
20890 #if wxUSE_UNICODE
20891 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20892 #else
20893 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20894 #endif
20895 }
20896 return resultobj;
20897 fail:
20898 return NULL;
20899 }
20900
20901
20902 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj;
20904 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20905 wxString *arg2 = 0 ;
20906 bool temp2 = False ;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self",(char *) "label", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20915 {
20916 arg2 = wxString_in_helper(obj1);
20917 if (arg2 == NULL) SWIG_fail;
20918 temp2 = True;
20919 }
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 (arg1)->SetLabel((wxString const &)*arg2);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 {
20929 if (temp2)
20930 delete arg2;
20931 }
20932 return resultobj;
20933 fail:
20934 {
20935 if (temp2)
20936 delete arg2;
20937 }
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20945 bool result;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "self", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = PyInt_FromLong((long)result);
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20968 PyObject *resultobj;
20969 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20970 bool arg2 ;
20971 PyObject * obj0 = 0 ;
20972 PyObject * obj1 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "self",(char *) "editCancelled", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20979 arg2 = PyInt_AsLong(obj1) ? true : false;
20980 if (PyErr_Occurred()) SWIG_fail;
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 (arg1)->SetEditCanceled(arg2);
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 Py_INCREF(Py_None); resultobj = Py_None;
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20998 wxString *arg2 = 0 ;
20999 bool temp2 = False ;
21000 PyObject * obj0 = 0 ;
21001 PyObject * obj1 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self",(char *) "toolTip", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21008 {
21009 arg2 = wxString_in_helper(obj1);
21010 if (arg2 == NULL) SWIG_fail;
21011 temp2 = True;
21012 }
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 (arg1)->SetToolTip((wxString const &)*arg2);
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
21020 Py_INCREF(Py_None); resultobj = Py_None;
21021 {
21022 if (temp2)
21023 delete arg2;
21024 }
21025 return resultobj;
21026 fail:
21027 {
21028 if (temp2)
21029 delete arg2;
21030 }
21031 return NULL;
21032 }
21033
21034
21035 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21036 PyObject *obj;
21037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21038 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21039 Py_INCREF(obj);
21040 return Py_BuildValue((char *)"");
21041 }
21042 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxWindow *arg1 = (wxWindow *) 0 ;
21045 int arg2 = (int) -1 ;
21046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21048 wxSize const &arg4_defvalue = wxDefaultSize ;
21049 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21050 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21051 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21052 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21053 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21054 wxString *arg7 = (wxString *) &arg7_defvalue ;
21055 wxPyTreeCtrl *result;
21056 wxPoint temp3 ;
21057 wxSize temp4 ;
21058 bool temp7 = False ;
21059 PyObject * obj0 = 0 ;
21060 PyObject * obj2 = 0 ;
21061 PyObject * obj3 = 0 ;
21062 PyObject * obj5 = 0 ;
21063 PyObject * obj6 = 0 ;
21064 char *kwnames[] = {
21065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21066 };
21067
21068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21070 if (obj2) {
21071 {
21072 arg3 = &temp3;
21073 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21074 }
21075 }
21076 if (obj3) {
21077 {
21078 arg4 = &temp4;
21079 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21080 }
21081 }
21082 if (obj5) {
21083 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21084 if (arg6 == NULL) {
21085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21086 }
21087 }
21088 if (obj6) {
21089 {
21090 arg7 = wxString_in_helper(obj6);
21091 if (arg7 == NULL) SWIG_fail;
21092 temp7 = True;
21093 }
21094 }
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 {
21103 resultobj = wxPyMake_wxObject(result);
21104 }
21105 {
21106 if (temp7)
21107 delete arg7;
21108 }
21109 return resultobj;
21110 fail:
21111 {
21112 if (temp7)
21113 delete arg7;
21114 }
21115 return NULL;
21116 }
21117
21118
21119 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxPyTreeCtrl *result;
21122 char *kwnames[] = {
21123 NULL
21124 };
21125
21126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 {
21135 resultobj = wxPyMake_wxObject(result);
21136 }
21137 return resultobj;
21138 fail:
21139 return NULL;
21140 }
21141
21142
21143 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21144 PyObject *resultobj;
21145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21146 wxWindow *arg2 = (wxWindow *) 0 ;
21147 int arg3 = (int) -1 ;
21148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21150 wxSize const &arg5_defvalue = wxDefaultSize ;
21151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21152 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21153 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21154 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21155 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21156 wxString *arg8 = (wxString *) &arg8_defvalue ;
21157 bool result;
21158 wxPoint temp4 ;
21159 wxSize temp5 ;
21160 bool temp8 = False ;
21161 PyObject * obj0 = 0 ;
21162 PyObject * obj1 = 0 ;
21163 PyObject * obj3 = 0 ;
21164 PyObject * obj4 = 0 ;
21165 PyObject * obj6 = 0 ;
21166 PyObject * obj7 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21174 if (obj3) {
21175 {
21176 arg4 = &temp4;
21177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21178 }
21179 }
21180 if (obj4) {
21181 {
21182 arg5 = &temp5;
21183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21184 }
21185 }
21186 if (obj6) {
21187 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 if (arg7 == NULL) {
21189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21190 }
21191 }
21192 if (obj7) {
21193 {
21194 arg8 = wxString_in_helper(obj7);
21195 if (arg8 == NULL) SWIG_fail;
21196 temp8 = True;
21197 }
21198 }
21199 {
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21202
21203 wxPyEndAllowThreads(__tstate);
21204 if (PyErr_Occurred()) SWIG_fail;
21205 }
21206 resultobj = PyInt_FromLong((long)result);
21207 {
21208 if (temp8)
21209 delete arg8;
21210 }
21211 return resultobj;
21212 fail:
21213 {
21214 if (temp8)
21215 delete arg8;
21216 }
21217 return NULL;
21218 }
21219
21220
21221 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21222 PyObject *resultobj;
21223 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21224 PyObject *arg2 = (PyObject *) 0 ;
21225 PyObject *arg3 = (PyObject *) 0 ;
21226 PyObject * obj0 = 0 ;
21227 PyObject * obj1 = 0 ;
21228 PyObject * obj2 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self",(char *) "self",(char *) "_class", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21235 arg2 = obj1;
21236 arg3 = obj2;
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 (arg1)->_setCallbackInfo(arg2,arg3);
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 Py_INCREF(Py_None); resultobj = Py_None;
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21254 size_t result;
21255 PyObject * obj0 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "self", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 resultobj = PyInt_FromLong((long)result);
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21279 unsigned int result;
21280 PyObject * obj0 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21290
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 resultobj = PyInt_FromLong((long)result);
21295 return resultobj;
21296 fail:
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21304 unsigned int arg2 ;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self",(char *) "indent", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21313 arg2 = (unsigned int) PyInt_AsLong(obj1);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 (arg1)->SetIndent(arg2);
21318
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 Py_INCREF(Py_None); resultobj = Py_None;
21323 return resultobj;
21324 fail:
21325 return NULL;
21326 }
21327
21328
21329 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21330 PyObject *resultobj;
21331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21332 unsigned int result;
21333 PyObject * obj0 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 resultobj = PyInt_FromLong((long)result);
21348 return resultobj;
21349 fail:
21350 return NULL;
21351 }
21352
21353
21354 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj;
21356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21357 unsigned int arg2 ;
21358 PyObject * obj0 = 0 ;
21359 PyObject * obj1 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self",(char *) "spacing", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21366 arg2 = (unsigned int) PyInt_AsLong(obj1);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 (arg1)->SetSpacing(arg2);
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 Py_INCREF(Py_None); resultobj = Py_None;
21376 return resultobj;
21377 fail:
21378 return NULL;
21379 }
21380
21381
21382 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21385 wxImageList *result;
21386 PyObject * obj0 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21393 {
21394 PyThreadState* __tstate = wxPyBeginAllowThreads();
21395 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21396
21397 wxPyEndAllowThreads(__tstate);
21398 if (PyErr_Occurred()) SWIG_fail;
21399 }
21400 {
21401 resultobj = wxPyMake_wxObject(result);
21402 }
21403 return resultobj;
21404 fail:
21405 return NULL;
21406 }
21407
21408
21409 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21410 PyObject *resultobj;
21411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21412 wxImageList *result;
21413 PyObject * obj0 = 0 ;
21414 char *kwnames[] = {
21415 (char *) "self", NULL
21416 };
21417
21418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21423
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 {
21428 resultobj = wxPyMake_wxObject(result);
21429 }
21430 return resultobj;
21431 fail:
21432 return NULL;
21433 }
21434
21435
21436 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21439 wxImageList *arg2 = (wxImageList *) 0 ;
21440 PyObject * obj0 = 0 ;
21441 PyObject * obj1 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self",(char *) "imageList", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21449 {
21450 PyThreadState* __tstate = wxPyBeginAllowThreads();
21451 (arg1)->SetImageList(arg2);
21452
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 Py_INCREF(Py_None); resultobj = Py_None;
21457 return resultobj;
21458 fail:
21459 return NULL;
21460 }
21461
21462
21463 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21466 wxImageList *arg2 = (wxImageList *) 0 ;
21467 PyObject * obj0 = 0 ;
21468 PyObject * obj1 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self",(char *) "imageList", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 (arg1)->SetStateImageList(arg2);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 Py_INCREF(Py_None); resultobj = Py_None;
21484 return resultobj;
21485 fail:
21486 return NULL;
21487 }
21488
21489
21490 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21491 PyObject *resultobj;
21492 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21493 wxImageList *arg2 = (wxImageList *) 0 ;
21494 PyObject * obj0 = 0 ;
21495 PyObject * obj1 = 0 ;
21496 char *kwnames[] = {
21497 (char *) "self",(char *) "imageList", NULL
21498 };
21499
21500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 (arg1)->AssignImageList(arg2);
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 Py_INCREF(Py_None); resultobj = Py_None;
21511 return resultobj;
21512 fail:
21513 return NULL;
21514 }
21515
21516
21517 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21518 PyObject *resultobj;
21519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21520 wxImageList *arg2 = (wxImageList *) 0 ;
21521 PyObject * obj0 = 0 ;
21522 PyObject * obj1 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self",(char *) "imageList", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 (arg1)->AssignStateImageList(arg2);
21533
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 Py_INCREF(Py_None); resultobj = Py_None;
21538 return resultobj;
21539 fail:
21540 return NULL;
21541 }
21542
21543
21544 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21545 PyObject *resultobj;
21546 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21547 wxTreeItemId *arg2 = 0 ;
21548 wxString result;
21549 PyObject * obj0 = 0 ;
21550 PyObject * obj1 = 0 ;
21551 char *kwnames[] = {
21552 (char *) "self",(char *) "item", NULL
21553 };
21554
21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21558 if (arg2 == NULL) {
21559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21560 }
21561 {
21562 PyThreadState* __tstate = wxPyBeginAllowThreads();
21563 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21564
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 {
21569 #if wxUSE_UNICODE
21570 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21571 #else
21572 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21573 #endif
21574 }
21575 return resultobj;
21576 fail:
21577 return NULL;
21578 }
21579
21580
21581 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21582 PyObject *resultobj;
21583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21584 wxTreeItemId *arg2 = 0 ;
21585 int arg3 = (int) wxTreeItemIcon_Normal ;
21586 int result;
21587 PyObject * obj0 = 0 ;
21588 PyObject * obj1 = 0 ;
21589 char *kwnames[] = {
21590 (char *) "self",(char *) "item",(char *) "which", NULL
21591 };
21592
21593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21596 if (arg2 == NULL) {
21597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21598 }
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 resultobj = PyInt_FromLong((long)result);
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21616 wxTreeItemId *arg2 = 0 ;
21617 wxPyTreeItemData *result;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self",(char *) "item", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21626 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21627 if (arg2 == NULL) {
21628 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21629 }
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21638 return resultobj;
21639 fail:
21640 return NULL;
21641 }
21642
21643
21644 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21645 PyObject *resultobj;
21646 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21647 wxTreeItemId *arg2 = 0 ;
21648 PyObject *result;
21649 PyObject * obj0 = 0 ;
21650 PyObject * obj1 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self",(char *) "item", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21658 if (arg2 == NULL) {
21659 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21660 }
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 resultobj = result;
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21678 wxTreeItemId *arg2 = 0 ;
21679 wxColour result;
21680 PyObject * obj0 = 0 ;
21681 PyObject * obj1 = 0 ;
21682 char *kwnames[] = {
21683 (char *) "self",(char *) "item", NULL
21684 };
21685
21686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21689 if (arg2 == NULL) {
21690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21691 }
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 {
21700 wxColour * resultptr;
21701 resultptr = new wxColour((wxColour &) result);
21702 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21703 }
21704 return resultobj;
21705 fail:
21706 return NULL;
21707 }
21708
21709
21710 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21713 wxTreeItemId *arg2 = 0 ;
21714 wxColour result;
21715 PyObject * obj0 = 0 ;
21716 PyObject * obj1 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "item", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21724 if (arg2 == NULL) {
21725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21726 }
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21730
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 {
21735 wxColour * resultptr;
21736 resultptr = new wxColour((wxColour &) result);
21737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21738 }
21739 return resultobj;
21740 fail:
21741 return NULL;
21742 }
21743
21744
21745 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21746 PyObject *resultobj;
21747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21748 wxTreeItemId *arg2 = 0 ;
21749 wxFont result;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "item", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21759 if (arg2 == NULL) {
21760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21761 }
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 {
21770 wxFont * resultptr;
21771 resultptr = new wxFont((wxFont &) result);
21772 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21773 }
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj;
21782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21783 wxTreeItemId *arg2 = 0 ;
21784 wxString *arg3 = 0 ;
21785 bool temp3 = False ;
21786 PyObject * obj0 = 0 ;
21787 PyObject * obj1 = 0 ;
21788 PyObject * obj2 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self",(char *) "item",(char *) "text", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
21801 if (arg3 == NULL) SWIG_fail;
21802 temp3 = True;
21803 }
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 Py_INCREF(Py_None); resultobj = Py_None;
21812 {
21813 if (temp3)
21814 delete arg3;
21815 }
21816 return resultobj;
21817 fail:
21818 {
21819 if (temp3)
21820 delete arg3;
21821 }
21822 return NULL;
21823 }
21824
21825
21826 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21827 PyObject *resultobj;
21828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21829 wxTreeItemId *arg2 = 0 ;
21830 int arg3 ;
21831 int arg4 = (int) wxTreeItemIcon_Normal ;
21832 PyObject * obj0 = 0 ;
21833 PyObject * obj1 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21841 if (arg2 == NULL) {
21842 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21861 wxTreeItemId *arg2 = 0 ;
21862 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21863 PyObject * obj0 = 0 ;
21864 PyObject * obj1 = 0 ;
21865 PyObject * obj2 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self",(char *) "item",(char *) "data", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21873 if (arg2 == NULL) {
21874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21875 }
21876 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21877 {
21878 PyThreadState* __tstate = wxPyBeginAllowThreads();
21879 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21880
21881 wxPyEndAllowThreads(__tstate);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 Py_INCREF(Py_None); resultobj = Py_None;
21885 return resultobj;
21886 fail:
21887 return NULL;
21888 }
21889
21890
21891 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21892 PyObject *resultobj;
21893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21894 wxTreeItemId *arg2 = 0 ;
21895 PyObject *arg3 = (PyObject *) 0 ;
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 PyObject * obj2 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "item",(char *) "obj", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21906 if (arg2 == NULL) {
21907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21908 }
21909 arg3 = obj2;
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 Py_INCREF(Py_None); resultobj = Py_None;
21918 return resultobj;
21919 fail:
21920 return NULL;
21921 }
21922
21923
21924 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21925 PyObject *resultobj;
21926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21927 wxTreeItemId *arg2 = 0 ;
21928 bool arg3 = (bool) True ;
21929 PyObject * obj0 = 0 ;
21930 PyObject * obj1 = 0 ;
21931 PyObject * obj2 = 0 ;
21932 char *kwnames[] = {
21933 (char *) "self",(char *) "item",(char *) "has", NULL
21934 };
21935
21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21939 if (arg2 == NULL) {
21940 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21941 }
21942 if (obj2) {
21943 arg3 = PyInt_AsLong(obj2) ? true : false;
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 Py_INCREF(Py_None); resultobj = Py_None;
21954 return resultobj;
21955 fail:
21956 return NULL;
21957 }
21958
21959
21960 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj;
21962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21963 wxTreeItemId *arg2 = 0 ;
21964 bool arg3 = (bool) True ;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 PyObject * obj2 = 0 ;
21968 char *kwnames[] = {
21969 (char *) "self",(char *) "item",(char *) "bold", NULL
21970 };
21971
21972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21975 if (arg2 == NULL) {
21976 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21977 }
21978 if (obj2) {
21979 arg3 = PyInt_AsLong(obj2) ? true : false;
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21985
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 Py_INCREF(Py_None); resultobj = Py_None;
21990 return resultobj;
21991 fail:
21992 return NULL;
21993 }
21994
21995
21996 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21997 PyObject *resultobj;
21998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21999 wxTreeItemId *arg2 = 0 ;
22000 wxColour *arg3 = 0 ;
22001 wxColour temp3 ;
22002 PyObject * obj0 = 0 ;
22003 PyObject * obj1 = 0 ;
22004 PyObject * obj2 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self",(char *) "item",(char *) "col", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22012 if (arg2 == NULL) {
22013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22014 }
22015 {
22016 arg3 = &temp3;
22017 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22018 }
22019 {
22020 PyThreadState* __tstate = wxPyBeginAllowThreads();
22021 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22022
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 Py_INCREF(Py_None); resultobj = Py_None;
22027 return resultobj;
22028 fail:
22029 return NULL;
22030 }
22031
22032
22033 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22036 wxTreeItemId *arg2 = 0 ;
22037 wxColour *arg3 = 0 ;
22038 wxColour temp3 ;
22039 PyObject * obj0 = 0 ;
22040 PyObject * obj1 = 0 ;
22041 PyObject * obj2 = 0 ;
22042 char *kwnames[] = {
22043 (char *) "self",(char *) "item",(char *) "col", NULL
22044 };
22045
22046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22049 if (arg2 == NULL) {
22050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22051 }
22052 {
22053 arg3 = &temp3;
22054 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22055 }
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 Py_INCREF(Py_None); resultobj = Py_None;
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22073 wxTreeItemId *arg2 = 0 ;
22074 wxFont *arg3 = 0 ;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 PyObject * obj2 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self",(char *) "item",(char *) "font", NULL
22080 };
22081
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22085 if (arg2 == NULL) {
22086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22087 }
22088 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22089 if (arg3 == NULL) {
22090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22091 }
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 Py_INCREF(Py_None); resultobj = Py_None;
22100 return resultobj;
22101 fail:
22102 return NULL;
22103 }
22104
22105
22106 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22107 PyObject *resultobj;
22108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22109 wxTreeItemId *arg2 = 0 ;
22110 bool result;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self",(char *) "item", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22120 if (arg2 == NULL) {
22121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22122 }
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22126
22127 wxPyEndAllowThreads(__tstate);
22128 if (PyErr_Occurred()) SWIG_fail;
22129 }
22130 resultobj = PyInt_FromLong((long)result);
22131 return resultobj;
22132 fail:
22133 return NULL;
22134 }
22135
22136
22137 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22138 PyObject *resultobj;
22139 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22140 wxTreeItemId *arg2 = 0 ;
22141 bool result;
22142 PyObject * obj0 = 0 ;
22143 PyObject * obj1 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self",(char *) "item", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22150 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22151 if (arg2 == NULL) {
22152 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22153 }
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 resultobj = PyInt_FromLong((long)result);
22162 return resultobj;
22163 fail:
22164 return NULL;
22165 }
22166
22167
22168 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj;
22170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22171 wxTreeItemId *arg2 = 0 ;
22172 bool result;
22173 PyObject * obj0 = 0 ;
22174 PyObject * obj1 = 0 ;
22175 char *kwnames[] = {
22176 (char *) "self",(char *) "item", NULL
22177 };
22178
22179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22182 if (arg2 == NULL) {
22183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22184 }
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 resultobj = PyInt_FromLong((long)result);
22193 return resultobj;
22194 fail:
22195 return NULL;
22196 }
22197
22198
22199 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj;
22201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22202 wxTreeItemId *arg2 = 0 ;
22203 bool result;
22204 PyObject * obj0 = 0 ;
22205 PyObject * obj1 = 0 ;
22206 char *kwnames[] = {
22207 (char *) "self",(char *) "item", NULL
22208 };
22209
22210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22213 if (arg2 == NULL) {
22214 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22215 }
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 resultobj = PyInt_FromLong((long)result);
22224 return resultobj;
22225 fail:
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22233 wxTreeItemId *arg2 = 0 ;
22234 bool result;
22235 PyObject * obj0 = 0 ;
22236 PyObject * obj1 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self",(char *) "item", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22244 if (arg2 == NULL) {
22245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22246 }
22247 {
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
22249 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22250
22251 wxPyEndAllowThreads(__tstate);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 resultobj = PyInt_FromLong((long)result);
22255 return resultobj;
22256 fail:
22257 return NULL;
22258 }
22259
22260
22261 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22262 PyObject *resultobj;
22263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22264 wxTreeItemId *arg2 = 0 ;
22265 bool arg3 = (bool) True ;
22266 size_t result;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 PyObject * obj2 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self",(char *) "item",(char *) "recursively", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22277 if (arg2 == NULL) {
22278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22279 }
22280 if (obj2) {
22281 arg3 = PyInt_AsLong(obj2) ? true : false;
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 PyThreadState* __tstate = wxPyBeginAllowThreads();
22286 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22287
22288 wxPyEndAllowThreads(__tstate);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 }
22291 resultobj = PyInt_FromLong((long)result);
22292 return resultobj;
22293 fail:
22294 return NULL;
22295 }
22296
22297
22298 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22299 PyObject *resultobj;
22300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22301 wxTreeItemId result;
22302 PyObject * obj0 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22309 {
22310 PyThreadState* __tstate = wxPyBeginAllowThreads();
22311 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22312
22313 wxPyEndAllowThreads(__tstate);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 {
22317 wxTreeItemId * resultptr;
22318 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22320 }
22321 return resultobj;
22322 fail:
22323 return NULL;
22324 }
22325
22326
22327 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj;
22329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22330 wxTreeItemId result;
22331 PyObject * obj0 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self", NULL
22334 };
22335
22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 {
22346 wxTreeItemId * resultptr;
22347 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22348 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22349 }
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22359 PyObject *result;
22360 PyObject * obj0 = 0 ;
22361 char *kwnames[] = {
22362 (char *) "self", NULL
22363 };
22364
22365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 resultobj = result;
22375 return resultobj;
22376 fail:
22377 return NULL;
22378 }
22379
22380
22381 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22382 PyObject *resultobj;
22383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22384 wxTreeItemId *arg2 = 0 ;
22385 wxTreeItemId result;
22386 PyObject * obj0 = 0 ;
22387 PyObject * obj1 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self",(char *) "item", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22395 if (arg2 == NULL) {
22396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22397 }
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 {
22406 wxTreeItemId * resultptr;
22407 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22408 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22409 }
22410 return resultobj;
22411 fail:
22412 return NULL;
22413 }
22414
22415
22416 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22417 PyObject *resultobj;
22418 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22419 wxTreeItemId *arg2 = 0 ;
22420 PyObject *result;
22421 PyObject * obj0 = 0 ;
22422 PyObject * obj1 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "self",(char *) "item", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22430 if (arg2 == NULL) {
22431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22432 }
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22436
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 resultobj = result;
22441 return resultobj;
22442 fail:
22443 return NULL;
22444 }
22445
22446
22447 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22450 wxTreeItemId *arg2 = 0 ;
22451 wxTreeItemIdValue *arg3 = 0 ;
22452 PyObject *result;
22453 PyObject * obj0 = 0 ;
22454 PyObject * obj1 = 0 ;
22455 PyObject * obj2 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self",(char *) "item",(char *) "cookie", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22463 if (arg2 == NULL) {
22464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22465 }
22466 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22467 if (arg3 == NULL) {
22468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22469 }
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 resultobj = result;
22478 return resultobj;
22479 fail:
22480 return NULL;
22481 }
22482
22483
22484 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22487 wxTreeItemId *arg2 = 0 ;
22488 wxTreeItemId result;
22489 PyObject * obj0 = 0 ;
22490 PyObject * obj1 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self",(char *) "item", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22498 if (arg2 == NULL) {
22499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22500 }
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 {
22509 wxTreeItemId * resultptr;
22510 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22511 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22512 }
22513 return resultobj;
22514 fail:
22515 return NULL;
22516 }
22517
22518
22519 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22520 PyObject *resultobj;
22521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22522 wxTreeItemId *arg2 = 0 ;
22523 wxTreeItemId result;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self",(char *) "item", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22533 if (arg2 == NULL) {
22534 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22535 }
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 {
22544 wxTreeItemId * resultptr;
22545 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22546 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22547 }
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj;
22556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22557 wxTreeItemId *arg2 = 0 ;
22558 wxTreeItemId result;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "item", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 if (arg2 == NULL) {
22569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 {
22579 wxTreeItemId * resultptr;
22580 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22581 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22582 }
22583 return resultobj;
22584 fail:
22585 return NULL;
22586 }
22587
22588
22589 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22590 PyObject *resultobj;
22591 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22592 wxTreeItemId result;
22593 PyObject * obj0 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 {
22608 wxTreeItemId * resultptr;
22609 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22610 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22611 }
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj;
22620 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22621 wxTreeItemId *arg2 = 0 ;
22622 wxTreeItemId result;
22623 PyObject * obj0 = 0 ;
22624 PyObject * obj1 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self",(char *) "item", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22632 if (arg2 == NULL) {
22633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22634 }
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22638
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 {
22643 wxTreeItemId * resultptr;
22644 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22645 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22646 }
22647 return resultobj;
22648 fail:
22649 return NULL;
22650 }
22651
22652
22653 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22654 PyObject *resultobj;
22655 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22656 wxTreeItemId *arg2 = 0 ;
22657 wxTreeItemId result;
22658 PyObject * obj0 = 0 ;
22659 PyObject * obj1 = 0 ;
22660 char *kwnames[] = {
22661 (char *) "self",(char *) "item", NULL
22662 };
22663
22664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22667 if (arg2 == NULL) {
22668 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22669 }
22670 {
22671 PyThreadState* __tstate = wxPyBeginAllowThreads();
22672 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22673
22674 wxPyEndAllowThreads(__tstate);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 }
22677 {
22678 wxTreeItemId * resultptr;
22679 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22681 }
22682 return resultobj;
22683 fail:
22684 return NULL;
22685 }
22686
22687
22688 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22691 wxString *arg2 = 0 ;
22692 int arg3 = (int) -1 ;
22693 int arg4 = (int) -1 ;
22694 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22695 wxTreeItemId result;
22696 bool temp2 = False ;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 PyObject * obj4 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22706 {
22707 arg2 = wxString_in_helper(obj1);
22708 if (arg2 == NULL) SWIG_fail;
22709 temp2 = True;
22710 }
22711 if (obj4) {
22712 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22713 }
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22717
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
22721 {
22722 wxTreeItemId * resultptr;
22723 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22724 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22725 }
22726 {
22727 if (temp2)
22728 delete arg2;
22729 }
22730 return resultobj;
22731 fail:
22732 {
22733 if (temp2)
22734 delete arg2;
22735 }
22736 return NULL;
22737 }
22738
22739
22740 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22741 PyObject *resultobj;
22742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22743 wxTreeItemId *arg2 = 0 ;
22744 wxString *arg3 = 0 ;
22745 int arg4 = (int) -1 ;
22746 int arg5 = (int) -1 ;
22747 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22748 wxTreeItemId result;
22749 bool temp3 = False ;
22750 PyObject * obj0 = 0 ;
22751 PyObject * obj1 = 0 ;
22752 PyObject * obj2 = 0 ;
22753 PyObject * obj5 = 0 ;
22754 char *kwnames[] = {
22755 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22756 };
22757
22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22761 if (arg2 == NULL) {
22762 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22763 }
22764 {
22765 arg3 = wxString_in_helper(obj2);
22766 if (arg3 == NULL) SWIG_fail;
22767 temp3 = True;
22768 }
22769 if (obj5) {
22770 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22771 }
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 {
22780 wxTreeItemId * resultptr;
22781 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22782 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22783 }
22784 {
22785 if (temp3)
22786 delete arg3;
22787 }
22788 return resultobj;
22789 fail:
22790 {
22791 if (temp3)
22792 delete arg3;
22793 }
22794 return NULL;
22795 }
22796
22797
22798 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22799 PyObject *resultobj;
22800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22801 wxTreeItemId *arg2 = 0 ;
22802 wxTreeItemId *arg3 = 0 ;
22803 wxString *arg4 = 0 ;
22804 int arg5 = (int) -1 ;
22805 int arg6 = (int) -1 ;
22806 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22807 wxTreeItemId result;
22808 bool temp4 = False ;
22809 PyObject * obj0 = 0 ;
22810 PyObject * obj1 = 0 ;
22811 PyObject * obj2 = 0 ;
22812 PyObject * obj3 = 0 ;
22813 PyObject * obj6 = 0 ;
22814 char *kwnames[] = {
22815 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22816 };
22817
22818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22821 if (arg2 == NULL) {
22822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22823 }
22824 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22825 if (arg3 == NULL) {
22826 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22827 }
22828 {
22829 arg4 = wxString_in_helper(obj3);
22830 if (arg4 == NULL) SWIG_fail;
22831 temp4 = True;
22832 }
22833 if (obj6) {
22834 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22835 }
22836 {
22837 PyThreadState* __tstate = wxPyBeginAllowThreads();
22838 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22839
22840 wxPyEndAllowThreads(__tstate);
22841 if (PyErr_Occurred()) SWIG_fail;
22842 }
22843 {
22844 wxTreeItemId * resultptr;
22845 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22847 }
22848 {
22849 if (temp4)
22850 delete arg4;
22851 }
22852 return resultobj;
22853 fail:
22854 {
22855 if (temp4)
22856 delete arg4;
22857 }
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22865 wxTreeItemId *arg2 = 0 ;
22866 size_t arg3 ;
22867 wxString *arg4 = 0 ;
22868 int arg5 = (int) -1 ;
22869 int arg6 = (int) -1 ;
22870 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22871 wxTreeItemId result;
22872 bool temp4 = False ;
22873 PyObject * obj0 = 0 ;
22874 PyObject * obj1 = 0 ;
22875 PyObject * obj2 = 0 ;
22876 PyObject * obj3 = 0 ;
22877 PyObject * obj6 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22885 if (arg2 == NULL) {
22886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22887 }
22888 arg3 = (size_t) PyInt_AsLong(obj2);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 {
22891 arg4 = wxString_in_helper(obj3);
22892 if (arg4 == NULL) SWIG_fail;
22893 temp4 = True;
22894 }
22895 if (obj6) {
22896 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22897 }
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22901
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 {
22906 wxTreeItemId * resultptr;
22907 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22908 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22909 }
22910 {
22911 if (temp4)
22912 delete arg4;
22913 }
22914 return resultobj;
22915 fail:
22916 {
22917 if (temp4)
22918 delete arg4;
22919 }
22920 return NULL;
22921 }
22922
22923
22924 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22925 PyObject *resultobj;
22926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22927 wxTreeItemId *arg2 = 0 ;
22928 wxString *arg3 = 0 ;
22929 int arg4 = (int) -1 ;
22930 int arg5 = (int) -1 ;
22931 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22932 wxTreeItemId result;
22933 bool temp3 = False ;
22934 PyObject * obj0 = 0 ;
22935 PyObject * obj1 = 0 ;
22936 PyObject * obj2 = 0 ;
22937 PyObject * obj5 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22945 if (arg2 == NULL) {
22946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22947 }
22948 {
22949 arg3 = wxString_in_helper(obj2);
22950 if (arg3 == NULL) SWIG_fail;
22951 temp3 = True;
22952 }
22953 if (obj5) {
22954 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22955 }
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22959
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 {
22964 wxTreeItemId * resultptr;
22965 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22966 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22967 }
22968 {
22969 if (temp3)
22970 delete arg3;
22971 }
22972 return resultobj;
22973 fail:
22974 {
22975 if (temp3)
22976 delete arg3;
22977 }
22978 return NULL;
22979 }
22980
22981
22982 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22983 PyObject *resultobj;
22984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22985 wxTreeItemId *arg2 = 0 ;
22986 PyObject * obj0 = 0 ;
22987 PyObject * obj1 = 0 ;
22988 char *kwnames[] = {
22989 (char *) "self",(char *) "item", NULL
22990 };
22991
22992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22995 if (arg2 == NULL) {
22996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22997 }
22998 {
22999 PyThreadState* __tstate = wxPyBeginAllowThreads();
23000 (arg1)->Delete((wxTreeItemId const &)*arg2);
23001
23002 wxPyEndAllowThreads(__tstate);
23003 if (PyErr_Occurred()) SWIG_fail;
23004 }
23005 Py_INCREF(Py_None); resultobj = Py_None;
23006 return resultobj;
23007 fail:
23008 return NULL;
23009 }
23010
23011
23012 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23013 PyObject *resultobj;
23014 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23015 wxTreeItemId *arg2 = 0 ;
23016 PyObject * obj0 = 0 ;
23017 PyObject * obj1 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self",(char *) "item", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23025 if (arg2 == NULL) {
23026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23027 }
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 Py_INCREF(Py_None); resultobj = Py_None;
23036 return resultobj;
23037 fail:
23038 return NULL;
23039 }
23040
23041
23042 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23043 PyObject *resultobj;
23044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23045 PyObject * obj0 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 (arg1)->DeleteAllItems();
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 Py_INCREF(Py_None); resultobj = Py_None;
23060 return resultobj;
23061 fail:
23062 return NULL;
23063 }
23064
23065
23066 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23069 wxTreeItemId *arg2 = 0 ;
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self",(char *) "item", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23079 if (arg2 == NULL) {
23080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23081 }
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 (arg1)->Expand((wxTreeItemId const &)*arg2);
23085
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 Py_INCREF(Py_None); resultobj = Py_None;
23090 return resultobj;
23091 fail:
23092 return NULL;
23093 }
23094
23095
23096 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23097 PyObject *resultobj;
23098 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23099 wxTreeItemId *arg2 = 0 ;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 char *kwnames[] = {
23103 (char *) "self",(char *) "item", NULL
23104 };
23105
23106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23109 if (arg2 == NULL) {
23110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23111 }
23112 {
23113 PyThreadState* __tstate = wxPyBeginAllowThreads();
23114 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23115
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 Py_INCREF(Py_None); resultobj = Py_None;
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj;
23128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23129 wxTreeItemId *arg2 = 0 ;
23130 PyObject * obj0 = 0 ;
23131 PyObject * obj1 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self",(char *) "item", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23139 if (arg2 == NULL) {
23140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23141 }
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 Py_INCREF(Py_None); resultobj = Py_None;
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj;
23158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23159 wxTreeItemId *arg2 = 0 ;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 char *kwnames[] = {
23163 (char *) "self",(char *) "item", NULL
23164 };
23165
23166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23169 if (arg2 == NULL) {
23170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23171 }
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 Py_INCREF(Py_None); resultobj = Py_None;
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj;
23188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23189 PyObject * obj0 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23196 {
23197 PyThreadState* __tstate = wxPyBeginAllowThreads();
23198 (arg1)->Unselect();
23199
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 Py_INCREF(Py_None); resultobj = Py_None;
23204 return resultobj;
23205 fail:
23206 return NULL;
23207 }
23208
23209
23210 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23211 PyObject *resultobj;
23212 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23213 PyObject * obj0 = 0 ;
23214 char *kwnames[] = {
23215 (char *) "self", NULL
23216 };
23217
23218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23220 {
23221 PyThreadState* __tstate = wxPyBeginAllowThreads();
23222 (arg1)->UnselectAll();
23223
23224 wxPyEndAllowThreads(__tstate);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 }
23227 Py_INCREF(Py_None); resultobj = Py_None;
23228 return resultobj;
23229 fail:
23230 return NULL;
23231 }
23232
23233
23234 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23235 PyObject *resultobj;
23236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23237 wxTreeItemId *arg2 = 0 ;
23238 PyObject * obj0 = 0 ;
23239 PyObject * obj1 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self",(char *) "item", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23247 if (arg2 == NULL) {
23248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23249 }
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23253
23254 wxPyEndAllowThreads(__tstate);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 Py_INCREF(Py_None); resultobj = Py_None;
23258 return resultobj;
23259 fail:
23260 return NULL;
23261 }
23262
23263
23264 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23265 PyObject *resultobj;
23266 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23267 wxTreeItemId *arg2 = 0 ;
23268 PyObject * obj0 = 0 ;
23269 PyObject * obj1 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self",(char *) "item", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23277 if (arg2 == NULL) {
23278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23279 }
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23283
23284 wxPyEndAllowThreads(__tstate);
23285 if (PyErr_Occurred()) SWIG_fail;
23286 }
23287 Py_INCREF(Py_None); resultobj = Py_None;
23288 return resultobj;
23289 fail:
23290 return NULL;
23291 }
23292
23293
23294 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23295 PyObject *resultobj;
23296 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23297 wxTreeItemId *arg2 = 0 ;
23298 PyObject * obj0 = 0 ;
23299 PyObject * obj1 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self",(char *) "item", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23307 if (arg2 == NULL) {
23308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23309 }
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 Py_INCREF(Py_None); resultobj = Py_None;
23318 return resultobj;
23319 fail:
23320 return NULL;
23321 }
23322
23323
23324 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23325 PyObject *resultobj;
23326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23327 wxTreeItemId *arg2 = 0 ;
23328 PyObject * obj0 = 0 ;
23329 PyObject * obj1 = 0 ;
23330 char *kwnames[] = {
23331 (char *) "self",(char *) "item", NULL
23332 };
23333
23334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23337 if (arg2 == NULL) {
23338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23339 }
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 Py_INCREF(Py_None); resultobj = Py_None;
23348 return resultobj;
23349 fail:
23350 return NULL;
23351 }
23352
23353
23354 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23355 PyObject *resultobj;
23356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23357 wxTextCtrl *result;
23358 PyObject * obj0 = 0 ;
23359 char *kwnames[] = {
23360 (char *) "self", NULL
23361 };
23362
23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 {
23373 resultobj = wxPyMake_wxObject(result);
23374 }
23375 return resultobj;
23376 fail:
23377 return NULL;
23378 }
23379
23380
23381 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23384 wxTreeItemId *arg2 = 0 ;
23385 PyObject * obj0 = 0 ;
23386 PyObject * obj1 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self",(char *) "item", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23394 if (arg2 == NULL) {
23395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23396 }
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 Py_INCREF(Py_None); resultobj = Py_None;
23405 return resultobj;
23406 fail:
23407 return NULL;
23408 }
23409
23410
23411 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23412 PyObject *resultobj;
23413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23414 wxPoint *arg2 = 0 ;
23415 int *arg3 = 0 ;
23416 wxTreeItemId result;
23417 wxPoint temp2 ;
23418 int temp3 ;
23419 PyObject * obj0 = 0 ;
23420 PyObject * obj1 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self",(char *) "point", NULL
23423 };
23424
23425 arg3 = &temp3;
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23428 {
23429 arg2 = &temp2;
23430 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23431 }
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 {
23440 wxTreeItemId * resultptr;
23441 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23443 }
23444 {
23445 PyObject *o = PyInt_FromLong((long) (*arg3));
23446 resultobj = t_output_helper(resultobj,o);
23447 }
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj;
23456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23457 wxTreeItemId *arg2 = 0 ;
23458 bool arg3 = (bool) False ;
23459 PyObject *result;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 PyObject * obj2 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23470 if (arg2 == NULL) {
23471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23472 }
23473 if (obj2) {
23474 arg3 = PyInt_AsLong(obj2) ? true : false;
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 PyThreadState* __tstate = wxPyBeginAllowThreads();
23479 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23480
23481 wxPyEndAllowThreads(__tstate);
23482 if (PyErr_Occurred()) SWIG_fail;
23483 }
23484 resultobj = result;
23485 return resultobj;
23486 fail:
23487 return NULL;
23488 }
23489
23490
23491 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23492 PyObject *obj;
23493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23494 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23495 Py_INCREF(obj);
23496 return Py_BuildValue((char *)"");
23497 }
23498 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23499 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23500 return 1;
23501 }
23502
23503
23504 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23505 PyObject *pyobj;
23506
23507 {
23508 #if wxUSE_UNICODE
23509 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23510 #else
23511 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23512 #endif
23513 }
23514 return pyobj;
23515 }
23516
23517
23518 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxWindow *arg1 = (wxWindow *) 0 ;
23521 int arg2 = (int) (int)-1 ;
23522 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23523 wxString *arg3 = (wxString *) &arg3_defvalue ;
23524 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23525 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23526 wxSize const &arg5_defvalue = wxDefaultSize ;
23527 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23528 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23529 wxString const &arg7_defvalue = wxPyEmptyString ;
23530 wxString *arg7 = (wxString *) &arg7_defvalue ;
23531 int arg8 = (int) 0 ;
23532 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23533 wxString *arg9 = (wxString *) &arg9_defvalue ;
23534 wxGenericDirCtrl *result;
23535 bool temp3 = False ;
23536 wxPoint temp4 ;
23537 wxSize temp5 ;
23538 bool temp7 = False ;
23539 bool temp9 = False ;
23540 PyObject * obj0 = 0 ;
23541 PyObject * obj2 = 0 ;
23542 PyObject * obj3 = 0 ;
23543 PyObject * obj4 = 0 ;
23544 PyObject * obj6 = 0 ;
23545 PyObject * obj8 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23552 if (obj2) {
23553 {
23554 arg3 = wxString_in_helper(obj2);
23555 if (arg3 == NULL) SWIG_fail;
23556 temp3 = True;
23557 }
23558 }
23559 if (obj3) {
23560 {
23561 arg4 = &temp4;
23562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23563 }
23564 }
23565 if (obj4) {
23566 {
23567 arg5 = &temp5;
23568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23569 }
23570 }
23571 if (obj6) {
23572 {
23573 arg7 = wxString_in_helper(obj6);
23574 if (arg7 == NULL) SWIG_fail;
23575 temp7 = True;
23576 }
23577 }
23578 if (obj8) {
23579 {
23580 arg9 = wxString_in_helper(obj8);
23581 if (arg9 == NULL) SWIG_fail;
23582 temp9 = True;
23583 }
23584 }
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23593 {
23594 if (temp3)
23595 delete arg3;
23596 }
23597 {
23598 if (temp7)
23599 delete arg7;
23600 }
23601 {
23602 if (temp9)
23603 delete arg9;
23604 }
23605 return resultobj;
23606 fail:
23607 {
23608 if (temp3)
23609 delete arg3;
23610 }
23611 {
23612 if (temp7)
23613 delete arg7;
23614 }
23615 {
23616 if (temp9)
23617 delete arg9;
23618 }
23619 return NULL;
23620 }
23621
23622
23623 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23624 PyObject *resultobj;
23625 wxGenericDirCtrl *result;
23626 char *kwnames[] = {
23627 NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23631 {
23632 PyThreadState* __tstate = wxPyBeginAllowThreads();
23633 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23634
23635 wxPyEndAllowThreads(__tstate);
23636 if (PyErr_Occurred()) SWIG_fail;
23637 }
23638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23639 return resultobj;
23640 fail:
23641 return NULL;
23642 }
23643
23644
23645 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23646 PyObject *resultobj;
23647 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23648 wxWindow *arg2 = (wxWindow *) 0 ;
23649 int arg3 = (int) (int)-1 ;
23650 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23651 wxString *arg4 = (wxString *) &arg4_defvalue ;
23652 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23653 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23654 wxSize const &arg6_defvalue = wxDefaultSize ;
23655 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23656 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23657 wxString const &arg8_defvalue = wxPyEmptyString ;
23658 wxString *arg8 = (wxString *) &arg8_defvalue ;
23659 int arg9 = (int) 0 ;
23660 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23661 wxString *arg10 = (wxString *) &arg10_defvalue ;
23662 bool result;
23663 bool temp4 = False ;
23664 wxPoint temp5 ;
23665 wxSize temp6 ;
23666 bool temp8 = False ;
23667 bool temp10 = False ;
23668 PyObject * obj0 = 0 ;
23669 PyObject * obj1 = 0 ;
23670 PyObject * obj3 = 0 ;
23671 PyObject * obj4 = 0 ;
23672 PyObject * obj5 = 0 ;
23673 PyObject * obj7 = 0 ;
23674 PyObject * obj9 = 0 ;
23675 char *kwnames[] = {
23676 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23677 };
23678
23679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23682 if (obj3) {
23683 {
23684 arg4 = wxString_in_helper(obj3);
23685 if (arg4 == NULL) SWIG_fail;
23686 temp4 = True;
23687 }
23688 }
23689 if (obj4) {
23690 {
23691 arg5 = &temp5;
23692 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23693 }
23694 }
23695 if (obj5) {
23696 {
23697 arg6 = &temp6;
23698 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23699 }
23700 }
23701 if (obj7) {
23702 {
23703 arg8 = wxString_in_helper(obj7);
23704 if (arg8 == NULL) SWIG_fail;
23705 temp8 = True;
23706 }
23707 }
23708 if (obj9) {
23709 {
23710 arg10 = wxString_in_helper(obj9);
23711 if (arg10 == NULL) SWIG_fail;
23712 temp10 = True;
23713 }
23714 }
23715 {
23716 PyThreadState* __tstate = wxPyBeginAllowThreads();
23717 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23718
23719 wxPyEndAllowThreads(__tstate);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
23722 resultobj = PyInt_FromLong((long)result);
23723 {
23724 if (temp4)
23725 delete arg4;
23726 }
23727 {
23728 if (temp8)
23729 delete arg8;
23730 }
23731 {
23732 if (temp10)
23733 delete arg10;
23734 }
23735 return resultobj;
23736 fail:
23737 {
23738 if (temp4)
23739 delete arg4;
23740 }
23741 {
23742 if (temp8)
23743 delete arg8;
23744 }
23745 {
23746 if (temp10)
23747 delete arg10;
23748 }
23749 return NULL;
23750 }
23751
23752
23753 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23754 PyObject *resultobj;
23755 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23756 wxString *arg2 = 0 ;
23757 bool result;
23758 bool temp2 = False ;
23759 PyObject * obj0 = 0 ;
23760 PyObject * obj1 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self",(char *) "path", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23767 {
23768 arg2 = wxString_in_helper(obj1);
23769 if (arg2 == NULL) SWIG_fail;
23770 temp2 = True;
23771 }
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 resultobj = PyInt_FromLong((long)result);
23780 {
23781 if (temp2)
23782 delete arg2;
23783 }
23784 return resultobj;
23785 fail:
23786 {
23787 if (temp2)
23788 delete arg2;
23789 }
23790 return NULL;
23791 }
23792
23793
23794 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23795 PyObject *resultobj;
23796 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23797 wxString result;
23798 PyObject * obj0 = 0 ;
23799 char *kwnames[] = {
23800 (char *) "self", NULL
23801 };
23802
23803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23808
23809 wxPyEndAllowThreads(__tstate);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
23812 {
23813 #if wxUSE_UNICODE
23814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23815 #else
23816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23817 #endif
23818 }
23819 return resultobj;
23820 fail:
23821 return NULL;
23822 }
23823
23824
23825 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23826 PyObject *resultobj;
23827 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23828 wxString *arg2 = 0 ;
23829 bool temp2 = False ;
23830 PyObject * obj0 = 0 ;
23831 PyObject * obj1 = 0 ;
23832 char *kwnames[] = {
23833 (char *) "self",(char *) "path", NULL
23834 };
23835
23836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23838 {
23839 arg2 = wxString_in_helper(obj1);
23840 if (arg2 == NULL) SWIG_fail;
23841 temp2 = True;
23842 }
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 (arg1)->SetDefaultPath((wxString const &)*arg2);
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 Py_INCREF(Py_None); resultobj = Py_None;
23851 {
23852 if (temp2)
23853 delete arg2;
23854 }
23855 return resultobj;
23856 fail:
23857 {
23858 if (temp2)
23859 delete arg2;
23860 }
23861 return NULL;
23862 }
23863
23864
23865 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj;
23867 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23868 wxString result;
23869 PyObject * obj0 = 0 ;
23870 char *kwnames[] = {
23871 (char *) "self", NULL
23872 };
23873
23874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 {
23884 #if wxUSE_UNICODE
23885 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23886 #else
23887 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23888 #endif
23889 }
23890 return resultobj;
23891 fail:
23892 return NULL;
23893 }
23894
23895
23896 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23897 PyObject *resultobj;
23898 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23899 wxString result;
23900 PyObject * obj0 = 0 ;
23901 char *kwnames[] = {
23902 (char *) "self", NULL
23903 };
23904
23905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 {
23915 #if wxUSE_UNICODE
23916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23917 #else
23918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23919 #endif
23920 }
23921 return resultobj;
23922 fail:
23923 return NULL;
23924 }
23925
23926
23927 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23928 PyObject *resultobj;
23929 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23930 wxString *arg2 = 0 ;
23931 bool temp2 = False ;
23932 PyObject * obj0 = 0 ;
23933 PyObject * obj1 = 0 ;
23934 char *kwnames[] = {
23935 (char *) "self",(char *) "path", NULL
23936 };
23937
23938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23940 {
23941 arg2 = wxString_in_helper(obj1);
23942 if (arg2 == NULL) SWIG_fail;
23943 temp2 = True;
23944 }
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 (arg1)->SetPath((wxString const &)*arg2);
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 Py_INCREF(Py_None); resultobj = Py_None;
23953 {
23954 if (temp2)
23955 delete arg2;
23956 }
23957 return resultobj;
23958 fail:
23959 {
23960 if (temp2)
23961 delete arg2;
23962 }
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23970 bool arg2 ;
23971 PyObject * obj0 = 0 ;
23972 PyObject * obj1 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self",(char *) "show", NULL
23975 };
23976
23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23979 arg2 = PyInt_AsLong(obj1) ? true : false;
23980 if (PyErr_Occurred()) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->ShowHidden(arg2);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 Py_INCREF(Py_None); resultobj = Py_None;
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23998 bool result;
23999 PyObject * obj0 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 result = (bool)(arg1)->GetShowHidden();
24009
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 resultobj = PyInt_FromLong((long)result);
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24023 wxString result;
24024 PyObject * obj0 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 {
24039 #if wxUSE_UNICODE
24040 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24041 #else
24042 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24043 #endif
24044 }
24045 return resultobj;
24046 fail:
24047 return NULL;
24048 }
24049
24050
24051 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24054 wxString *arg2 = 0 ;
24055 bool temp2 = False ;
24056 PyObject * obj0 = 0 ;
24057 PyObject * obj1 = 0 ;
24058 char *kwnames[] = {
24059 (char *) "self",(char *) "filter", NULL
24060 };
24061
24062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24064 {
24065 arg2 = wxString_in_helper(obj1);
24066 if (arg2 == NULL) SWIG_fail;
24067 temp2 = True;
24068 }
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 (arg1)->SetFilter((wxString const &)*arg2);
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 Py_INCREF(Py_None); resultobj = Py_None;
24077 {
24078 if (temp2)
24079 delete arg2;
24080 }
24081 return resultobj;
24082 fail:
24083 {
24084 if (temp2)
24085 delete arg2;
24086 }
24087 return NULL;
24088 }
24089
24090
24091 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj;
24093 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24094 int result;
24095 PyObject * obj0 = 0 ;
24096 char *kwnames[] = {
24097 (char *) "self", NULL
24098 };
24099
24100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 resultobj = PyInt_FromLong((long)result);
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24117 PyObject *resultobj;
24118 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24119 int arg2 ;
24120 PyObject * obj0 = 0 ;
24121 char *kwnames[] = {
24122 (char *) "self",(char *) "n", NULL
24123 };
24124
24125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 (arg1)->SetFilterIndex(arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 Py_INCREF(Py_None); resultobj = Py_None;
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24144 wxTreeItemId result;
24145 PyObject * obj0 = 0 ;
24146 char *kwnames[] = {
24147 (char *) "self", NULL
24148 };
24149
24150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 result = (arg1)->GetRootId();
24155
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 {
24160 wxTreeItemId * resultptr;
24161 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24162 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24163 }
24164 return resultobj;
24165 fail:
24166 return NULL;
24167 }
24168
24169
24170 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24171 PyObject *resultobj;
24172 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24173 wxPyTreeCtrl *result;
24174 PyObject * obj0 = 0 ;
24175 char *kwnames[] = {
24176 (char *) "self", NULL
24177 };
24178
24179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24184
24185 wxPyEndAllowThreads(__tstate);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 }
24188 {
24189 resultobj = wxPyMake_wxObject(result);
24190 }
24191 return resultobj;
24192 fail:
24193 return NULL;
24194 }
24195
24196
24197 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24198 PyObject *resultobj;
24199 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24200 wxDirFilterListCtrl *result;
24201 PyObject * obj0 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "self", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24208 {
24209 PyThreadState* __tstate = wxPyBeginAllowThreads();
24210 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24211
24212 wxPyEndAllowThreads(__tstate);
24213 if (PyErr_Occurred()) SWIG_fail;
24214 }
24215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24216 return resultobj;
24217 fail:
24218 return NULL;
24219 }
24220
24221
24222 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24223 PyObject *resultobj;
24224 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24225 wxTreeItemId arg2 ;
24226 wxString *arg3 = 0 ;
24227 bool *arg4 = 0 ;
24228 wxTreeItemId result;
24229 wxTreeItemId *argp2 ;
24230 bool temp3 = False ;
24231 bool temp4 ;
24232 PyObject * obj0 = 0 ;
24233 PyObject * obj1 = 0 ;
24234 PyObject * obj2 = 0 ;
24235 char *kwnames[] = {
24236 (char *) "self",(char *) "parentId",(char *) "path", NULL
24237 };
24238
24239 arg4 = &temp4;
24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24242 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24243 arg2 = *argp2;
24244 {
24245 arg3 = wxString_in_helper(obj2);
24246 if (arg3 == NULL) SWIG_fail;
24247 temp3 = True;
24248 }
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 {
24257 wxTreeItemId * resultptr;
24258 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24259 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24260 }
24261 {
24262 PyObject *o = PyInt_FromLong((long) (*arg4));
24263 resultobj = t_output_helper(resultobj,o);
24264 }
24265 {
24266 if (temp3)
24267 delete arg3;
24268 }
24269 return resultobj;
24270 fail:
24271 {
24272 if (temp3)
24273 delete arg3;
24274 }
24275 return NULL;
24276 }
24277
24278
24279 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24282 PyObject * obj0 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 (arg1)->DoResize();
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 Py_INCREF(Py_None); resultobj = Py_None;
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24306 PyObject * obj0 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "self", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
24315 (arg1)->ReCreateTree();
24316
24317 wxPyEndAllowThreads(__tstate);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 }
24320 Py_INCREF(Py_None); resultobj = Py_None;
24321 return resultobj;
24322 fail:
24323 return NULL;
24324 }
24325
24326
24327 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24328 PyObject *obj;
24329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24330 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24331 Py_INCREF(obj);
24332 return Py_BuildValue((char *)"");
24333 }
24334 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj;
24336 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24337 int arg2 = (int) (int)-1 ;
24338 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24339 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24340 wxSize const &arg4_defvalue = wxDefaultSize ;
24341 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24342 long arg5 = (long) 0 ;
24343 wxDirFilterListCtrl *result;
24344 wxPoint temp3 ;
24345 wxSize temp4 ;
24346 PyObject * obj0 = 0 ;
24347 PyObject * obj2 = 0 ;
24348 PyObject * obj3 = 0 ;
24349 char *kwnames[] = {
24350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24351 };
24352
24353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24355 if (obj2) {
24356 {
24357 arg3 = &temp3;
24358 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24359 }
24360 }
24361 if (obj3) {
24362 {
24363 arg4 = &temp4;
24364 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24365 }
24366 }
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
24374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24375 return resultobj;
24376 fail:
24377 return NULL;
24378 }
24379
24380
24381 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24382 PyObject *resultobj;
24383 wxDirFilterListCtrl *result;
24384 char *kwnames[] = {
24385 NULL
24386 };
24387
24388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24397 return resultobj;
24398 fail:
24399 return NULL;
24400 }
24401
24402
24403 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24406 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24407 int arg3 = (int) (int)-1 ;
24408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24410 wxSize const &arg5_defvalue = wxDefaultSize ;
24411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24412 long arg6 = (long) 0 ;
24413 bool result;
24414 wxPoint temp4 ;
24415 wxSize temp5 ;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 PyObject * obj3 = 0 ;
24419 PyObject * obj4 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24427 if (obj3) {
24428 {
24429 arg4 = &temp4;
24430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24431 }
24432 }
24433 if (obj4) {
24434 {
24435 arg5 = &temp5;
24436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24437 }
24438 }
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 resultobj = PyInt_FromLong((long)result);
24447 return resultobj;
24448 fail:
24449 return NULL;
24450 }
24451
24452
24453 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj;
24455 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24456 wxString *arg2 = 0 ;
24457 int arg3 ;
24458 bool temp2 = False ;
24459 PyObject * obj0 = 0 ;
24460 PyObject * obj1 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24467 {
24468 arg2 = wxString_in_helper(obj1);
24469 if (arg2 == NULL) SWIG_fail;
24470 temp2 = True;
24471 }
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24475
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 Py_INCREF(Py_None); resultobj = Py_None;
24480 {
24481 if (temp2)
24482 delete arg2;
24483 }
24484 return resultobj;
24485 fail:
24486 {
24487 if (temp2)
24488 delete arg2;
24489 }
24490 return NULL;
24491 }
24492
24493
24494 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24495 PyObject *obj;
24496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24497 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24498 Py_INCREF(obj);
24499 return Py_BuildValue((char *)"");
24500 }
24501 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24502 PyObject *resultobj;
24503 wxWindow *arg1 = (wxWindow *) 0 ;
24504 int arg2 ;
24505 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24506 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24507 wxSize const &arg4_defvalue = wxDefaultSize ;
24508 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24509 long arg5 = (long) 0 ;
24510 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24511 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24512 wxString const &arg7_defvalue = wxPyControlNameStr ;
24513 wxString *arg7 = (wxString *) &arg7_defvalue ;
24514 wxPyControl *result;
24515 wxPoint temp3 ;
24516 wxSize temp4 ;
24517 bool temp7 = False ;
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj2 = 0 ;
24520 PyObject * obj3 = 0 ;
24521 PyObject * obj5 = 0 ;
24522 PyObject * obj6 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24529 if (obj2) {
24530 {
24531 arg3 = &temp3;
24532 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24533 }
24534 }
24535 if (obj3) {
24536 {
24537 arg4 = &temp4;
24538 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24539 }
24540 }
24541 if (obj5) {
24542 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24543 if (arg6 == NULL) {
24544 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24545 }
24546 }
24547 if (obj6) {
24548 {
24549 arg7 = wxString_in_helper(obj6);
24550 if (arg7 == NULL) SWIG_fail;
24551 temp7 = True;
24552 }
24553 }
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24562 {
24563 if (temp7)
24564 delete arg7;
24565 }
24566 return resultobj;
24567 fail:
24568 {
24569 if (temp7)
24570 delete arg7;
24571 }
24572 return NULL;
24573 }
24574
24575
24576 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24577 PyObject *resultobj;
24578 wxPyControl *arg1 = (wxPyControl *) 0 ;
24579 PyObject *arg2 = (PyObject *) 0 ;
24580 PyObject *arg3 = (PyObject *) 0 ;
24581 PyObject * obj0 = 0 ;
24582 PyObject * obj1 = 0 ;
24583 PyObject * obj2 = 0 ;
24584 char *kwnames[] = {
24585 (char *) "self",(char *) "self",(char *) "_class", NULL
24586 };
24587
24588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24590 arg2 = obj1;
24591 arg3 = obj2;
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 (arg1)->_setCallbackInfo(arg2,arg3);
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 Py_INCREF(Py_None); resultobj = Py_None;
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj;
24608 wxPyControl *arg1 = (wxPyControl *) 0 ;
24609 int arg2 ;
24610 int arg3 ;
24611 int arg4 ;
24612 int arg5 ;
24613 PyObject * obj0 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24620 {
24621 PyThreadState* __tstate = wxPyBeginAllowThreads();
24622 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24623
24624 wxPyEndAllowThreads(__tstate);
24625 if (PyErr_Occurred()) SWIG_fail;
24626 }
24627 Py_INCREF(Py_None); resultobj = Py_None;
24628 return resultobj;
24629 fail:
24630 return NULL;
24631 }
24632
24633
24634 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24635 PyObject *resultobj;
24636 wxPyControl *arg1 = (wxPyControl *) 0 ;
24637 int arg2 ;
24638 int arg3 ;
24639 int arg4 ;
24640 int arg5 ;
24641 int arg6 = (int) wxSIZE_AUTO ;
24642 PyObject * obj0 = 0 ;
24643 char *kwnames[] = {
24644 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24645 };
24646
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24652
24653 wxPyEndAllowThreads(__tstate);
24654 if (PyErr_Occurred()) SWIG_fail;
24655 }
24656 Py_INCREF(Py_None); resultobj = Py_None;
24657 return resultobj;
24658 fail:
24659 return NULL;
24660 }
24661
24662
24663 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24664 PyObject *resultobj;
24665 wxPyControl *arg1 = (wxPyControl *) 0 ;
24666 int arg2 ;
24667 int arg3 ;
24668 PyObject * obj0 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "self",(char *) "width",(char *) "height", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24675 {
24676 PyThreadState* __tstate = wxPyBeginAllowThreads();
24677 (arg1)->base_DoSetClientSize(arg2,arg3);
24678
24679 wxPyEndAllowThreads(__tstate);
24680 if (PyErr_Occurred()) SWIG_fail;
24681 }
24682 Py_INCREF(Py_None); resultobj = Py_None;
24683 return resultobj;
24684 fail:
24685 return NULL;
24686 }
24687
24688
24689 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24690 PyObject *resultobj;
24691 wxPyControl *arg1 = (wxPyControl *) 0 ;
24692 int arg2 ;
24693 int arg3 ;
24694 PyObject * obj0 = 0 ;
24695 char *kwnames[] = {
24696 (char *) "self",(char *) "x",(char *) "y", NULL
24697 };
24698
24699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24701 {
24702 PyThreadState* __tstate = wxPyBeginAllowThreads();
24703 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24704
24705 wxPyEndAllowThreads(__tstate);
24706 if (PyErr_Occurred()) SWIG_fail;
24707 }
24708 Py_INCREF(Py_None); resultobj = Py_None;
24709 return resultobj;
24710 fail:
24711 return NULL;
24712 }
24713
24714
24715 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj;
24717 wxPyControl *arg1 = (wxPyControl *) 0 ;
24718 int *arg2 = (int *) 0 ;
24719 int *arg3 = (int *) 0 ;
24720 int temp2 ;
24721 int temp3 ;
24722 PyObject * obj0 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self", NULL
24725 };
24726
24727 arg2 = &temp2;
24728 arg3 = &temp3;
24729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24731 {
24732 PyThreadState* __tstate = wxPyBeginAllowThreads();
24733 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24734
24735 wxPyEndAllowThreads(__tstate);
24736 if (PyErr_Occurred()) SWIG_fail;
24737 }
24738 Py_INCREF(Py_None); resultobj = Py_None;
24739 {
24740 PyObject *o = PyInt_FromLong((long) (*arg2));
24741 resultobj = t_output_helper(resultobj,o);
24742 }
24743 {
24744 PyObject *o = PyInt_FromLong((long) (*arg3));
24745 resultobj = t_output_helper(resultobj,o);
24746 }
24747 return resultobj;
24748 fail:
24749 return NULL;
24750 }
24751
24752
24753 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxPyControl *arg1 = (wxPyControl *) 0 ;
24756 int *arg2 = (int *) 0 ;
24757 int *arg3 = (int *) 0 ;
24758 int temp2 ;
24759 int temp3 ;
24760 PyObject * obj0 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self", NULL
24763 };
24764
24765 arg2 = &temp2;
24766 arg3 = &temp3;
24767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 Py_INCREF(Py_None); resultobj = Py_None;
24777 {
24778 PyObject *o = PyInt_FromLong((long) (*arg2));
24779 resultobj = t_output_helper(resultobj,o);
24780 }
24781 {
24782 PyObject *o = PyInt_FromLong((long) (*arg3));
24783 resultobj = t_output_helper(resultobj,o);
24784 }
24785 return resultobj;
24786 fail:
24787 return NULL;
24788 }
24789
24790
24791 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24792 PyObject *resultobj;
24793 wxPyControl *arg1 = (wxPyControl *) 0 ;
24794 int *arg2 = (int *) 0 ;
24795 int *arg3 = (int *) 0 ;
24796 int temp2 ;
24797 int temp3 ;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self", NULL
24801 };
24802
24803 arg2 = &temp2;
24804 arg3 = &temp3;
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24810
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 Py_INCREF(Py_None); resultobj = Py_None;
24815 {
24816 PyObject *o = PyInt_FromLong((long) (*arg2));
24817 resultobj = t_output_helper(resultobj,o);
24818 }
24819 {
24820 PyObject *o = PyInt_FromLong((long) (*arg3));
24821 resultobj = t_output_helper(resultobj,o);
24822 }
24823 return resultobj;
24824 fail:
24825 return NULL;
24826 }
24827
24828
24829 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24830 PyObject *resultobj;
24831 wxPyControl *arg1 = (wxPyControl *) 0 ;
24832 wxSize result;
24833 PyObject * obj0 = 0 ;
24834 char *kwnames[] = {
24835 (char *) "self", NULL
24836 };
24837
24838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 {
24848 wxSize * resultptr;
24849 resultptr = new wxSize((wxSize &) result);
24850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24851 }
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxPyControl *arg1 = (wxPyControl *) 0 ;
24861 wxSize result;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 {
24877 wxSize * resultptr;
24878 resultptr = new wxSize((wxSize &) result);
24879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24880 }
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyControl *arg1 = (wxPyControl *) 0 ;
24890 PyObject * obj0 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "self", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 (arg1)->base_InitDialog();
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 Py_INCREF(Py_None); resultobj = Py_None;
24905 return resultobj;
24906 fail:
24907 return NULL;
24908 }
24909
24910
24911 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxPyControl *arg1 = (wxPyControl *) 0 ;
24914 bool result;
24915 PyObject * obj0 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24922 {
24923 PyThreadState* __tstate = wxPyBeginAllowThreads();
24924 result = (bool)(arg1)->base_TransferDataToWindow();
24925
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 resultobj = PyInt_FromLong((long)result);
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24937 PyObject *resultobj;
24938 wxPyControl *arg1 = (wxPyControl *) 0 ;
24939 bool result;
24940 PyObject * obj0 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "self", NULL
24943 };
24944
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 result = (bool)(arg1)->base_TransferDataFromWindow();
24950
24951 wxPyEndAllowThreads(__tstate);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 resultobj = PyInt_FromLong((long)result);
24955 return resultobj;
24956 fail:
24957 return NULL;
24958 }
24959
24960
24961 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24962 PyObject *resultobj;
24963 wxPyControl *arg1 = (wxPyControl *) 0 ;
24964 bool result;
24965 PyObject * obj0 = 0 ;
24966 char *kwnames[] = {
24967 (char *) "self", NULL
24968 };
24969
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",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 result = (bool)(arg1)->base_Validate();
24975
24976 wxPyEndAllowThreads(__tstate);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 }
24979 resultobj = PyInt_FromLong((long)result);
24980 return resultobj;
24981 fail:
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxPyControl *arg1 = (wxPyControl *) 0 ;
24989 bool result;
24990 PyObject * obj0 = 0 ;
24991 char *kwnames[] = {
24992 (char *) "self", NULL
24993 };
24994
24995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 resultobj = PyInt_FromLong((long)result);
25005 return resultobj;
25006 fail:
25007 return NULL;
25008 }
25009
25010
25011 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25012 PyObject *resultobj;
25013 wxPyControl *arg1 = (wxPyControl *) 0 ;
25014 bool result;
25015 PyObject * obj0 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "self", NULL
25018 };
25019
25020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 resultobj = PyInt_FromLong((long)result);
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25037 PyObject *resultobj;
25038 wxPyControl *arg1 = (wxPyControl *) 0 ;
25039 wxSize result;
25040 PyObject * obj0 = 0 ;
25041 char *kwnames[] = {
25042 (char *) "self", NULL
25043 };
25044
25045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 {
25055 wxSize * resultptr;
25056 resultptr = new wxSize((wxSize &) result);
25057 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25058 }
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj;
25067 wxPyControl *arg1 = (wxPyControl *) 0 ;
25068 wxWindow *arg2 = (wxWindow *) 0 ;
25069 PyObject * obj0 = 0 ;
25070 PyObject * obj1 = 0 ;
25071 char *kwnames[] = {
25072 (char *) "self",(char *) "child", NULL
25073 };
25074
25075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25078 {
25079 PyThreadState* __tstate = wxPyBeginAllowThreads();
25080 (arg1)->base_AddChild(arg2);
25081
25082 wxPyEndAllowThreads(__tstate);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 Py_INCREF(Py_None); resultobj = Py_None;
25086 return resultobj;
25087 fail:
25088 return NULL;
25089 }
25090
25091
25092 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25093 PyObject *resultobj;
25094 wxPyControl *arg1 = (wxPyControl *) 0 ;
25095 wxWindow *arg2 = (wxWindow *) 0 ;
25096 PyObject * obj0 = 0 ;
25097 PyObject * obj1 = 0 ;
25098 char *kwnames[] = {
25099 (char *) "self",(char *) "child", NULL
25100 };
25101
25102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25105 {
25106 PyThreadState* __tstate = wxPyBeginAllowThreads();
25107 (arg1)->base_RemoveChild(arg2);
25108
25109 wxPyEndAllowThreads(__tstate);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 }
25112 Py_INCREF(Py_None); resultobj = Py_None;
25113 return resultobj;
25114 fail:
25115 return NULL;
25116 }
25117
25118
25119 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25120 PyObject *obj;
25121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25122 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25123 Py_INCREF(obj);
25124 return Py_BuildValue((char *)"");
25125 }
25126 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25129 int arg2 = (int) 0 ;
25130 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25131 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25132 wxHelpEvent *result;
25133 wxPoint temp3 ;
25134 PyObject * obj2 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "type",(char *) "winid",(char *) "pt", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25140 if (obj2) {
25141 {
25142 arg3 = &temp3;
25143 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25144 }
25145 }
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25154 return resultobj;
25155 fail:
25156 return NULL;
25157 }
25158
25159
25160 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25161 PyObject *resultobj;
25162 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25163 wxPoint *result;
25164 PyObject * obj0 = 0 ;
25165 char *kwnames[] = {
25166 (char *) "self", NULL
25167 };
25168
25169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 {
25174 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25175 result = (wxPoint *) &_result_ref;
25176 }
25177
25178 wxPyEndAllowThreads(__tstate);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25182 return resultobj;
25183 fail:
25184 return NULL;
25185 }
25186
25187
25188 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25189 PyObject *resultobj;
25190 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25191 wxPoint *arg2 = 0 ;
25192 wxPoint temp2 ;
25193 PyObject * obj0 = 0 ;
25194 PyObject * obj1 = 0 ;
25195 char *kwnames[] = {
25196 (char *) "self",(char *) "pos", NULL
25197 };
25198
25199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25201 {
25202 arg2 = &temp2;
25203 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25204 }
25205 {
25206 PyThreadState* __tstate = wxPyBeginAllowThreads();
25207 (arg1)->SetPosition((wxPoint const &)*arg2);
25208
25209 wxPyEndAllowThreads(__tstate);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 }
25212 Py_INCREF(Py_None); resultobj = Py_None;
25213 return resultobj;
25214 fail:
25215 return NULL;
25216 }
25217
25218
25219 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25220 PyObject *resultobj;
25221 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25222 wxString *result;
25223 PyObject * obj0 = 0 ;
25224 char *kwnames[] = {
25225 (char *) "self", NULL
25226 };
25227
25228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25230 {
25231 PyThreadState* __tstate = wxPyBeginAllowThreads();
25232 {
25233 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25234 result = (wxString *) &_result_ref;
25235 }
25236
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 {
25241 #if wxUSE_UNICODE
25242 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25243 #else
25244 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25245 #endif
25246 }
25247 return resultobj;
25248 fail:
25249 return NULL;
25250 }
25251
25252
25253 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25254 PyObject *resultobj;
25255 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25256 wxString *arg2 = 0 ;
25257 bool temp2 = False ;
25258 PyObject * obj0 = 0 ;
25259 PyObject * obj1 = 0 ;
25260 char *kwnames[] = {
25261 (char *) "self",(char *) "link", NULL
25262 };
25263
25264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25266 {
25267 arg2 = wxString_in_helper(obj1);
25268 if (arg2 == NULL) SWIG_fail;
25269 temp2 = True;
25270 }
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 (arg1)->SetLink((wxString const &)*arg2);
25274
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 Py_INCREF(Py_None); resultobj = Py_None;
25279 {
25280 if (temp2)
25281 delete arg2;
25282 }
25283 return resultobj;
25284 fail:
25285 {
25286 if (temp2)
25287 delete arg2;
25288 }
25289 return NULL;
25290 }
25291
25292
25293 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj;
25295 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25296 wxString *result;
25297 PyObject * obj0 = 0 ;
25298 char *kwnames[] = {
25299 (char *) "self", NULL
25300 };
25301
25302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25304 {
25305 PyThreadState* __tstate = wxPyBeginAllowThreads();
25306 {
25307 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25308 result = (wxString *) &_result_ref;
25309 }
25310
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 {
25315 #if wxUSE_UNICODE
25316 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25317 #else
25318 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25319 #endif
25320 }
25321 return resultobj;
25322 fail:
25323 return NULL;
25324 }
25325
25326
25327 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25328 PyObject *resultobj;
25329 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25330 wxString *arg2 = 0 ;
25331 bool temp2 = False ;
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj1 = 0 ;
25334 char *kwnames[] = {
25335 (char *) "self",(char *) "target", NULL
25336 };
25337
25338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25340 {
25341 arg2 = wxString_in_helper(obj1);
25342 if (arg2 == NULL) SWIG_fail;
25343 temp2 = True;
25344 }
25345 {
25346 PyThreadState* __tstate = wxPyBeginAllowThreads();
25347 (arg1)->SetTarget((wxString const &)*arg2);
25348
25349 wxPyEndAllowThreads(__tstate);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 Py_INCREF(Py_None); resultobj = Py_None;
25353 {
25354 if (temp2)
25355 delete arg2;
25356 }
25357 return resultobj;
25358 fail:
25359 {
25360 if (temp2)
25361 delete arg2;
25362 }
25363 return NULL;
25364 }
25365
25366
25367 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25368 PyObject *obj;
25369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25370 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25371 Py_INCREF(obj);
25372 return Py_BuildValue((char *)"");
25373 }
25374 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25375 PyObject *resultobj;
25376 wxWindow *arg1 = (wxWindow *) NULL ;
25377 bool arg2 = (bool) True ;
25378 wxContextHelp *result;
25379 PyObject * obj0 = 0 ;
25380 PyObject * obj1 = 0 ;
25381 char *kwnames[] = {
25382 (char *) "window",(char *) "doNow", NULL
25383 };
25384
25385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25386 if (obj0) {
25387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25388 }
25389 if (obj1) {
25390 arg2 = PyInt_AsLong(obj1) ? true : false;
25391 if (PyErr_Occurred()) SWIG_fail;
25392 }
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25401 return resultobj;
25402 fail:
25403 return NULL;
25404 }
25405
25406
25407 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25410 PyObject * obj0 = 0 ;
25411 char *kwnames[] = {
25412 (char *) "self", NULL
25413 };
25414
25415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25417 {
25418 PyThreadState* __tstate = wxPyBeginAllowThreads();
25419 delete arg1;
25420
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 Py_INCREF(Py_None); resultobj = Py_None;
25425 return resultobj;
25426 fail:
25427 return NULL;
25428 }
25429
25430
25431 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25432 PyObject *resultobj;
25433 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25434 wxWindow *arg2 = (wxWindow *) NULL ;
25435 bool result;
25436 PyObject * obj0 = 0 ;
25437 PyObject * obj1 = 0 ;
25438 char *kwnames[] = {
25439 (char *) "self",(char *) "window", NULL
25440 };
25441
25442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25444 if (obj1) {
25445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25446 }
25447 {
25448 PyThreadState* __tstate = wxPyBeginAllowThreads();
25449 result = (bool)(arg1)->BeginContextHelp(arg2);
25450
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 resultobj = PyInt_FromLong((long)result);
25455 return resultobj;
25456 fail:
25457 return NULL;
25458 }
25459
25460
25461 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25462 PyObject *resultobj;
25463 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25464 bool result;
25465 PyObject * obj0 = 0 ;
25466 char *kwnames[] = {
25467 (char *) "self", NULL
25468 };
25469
25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25472 {
25473 PyThreadState* __tstate = wxPyBeginAllowThreads();
25474 result = (bool)(arg1)->EndContextHelp();
25475
25476 wxPyEndAllowThreads(__tstate);
25477 if (PyErr_Occurred()) SWIG_fail;
25478 }
25479 resultobj = PyInt_FromLong((long)result);
25480 return resultobj;
25481 fail:
25482 return NULL;
25483 }
25484
25485
25486 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25487 PyObject *obj;
25488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25489 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25490 Py_INCREF(obj);
25491 return Py_BuildValue((char *)"");
25492 }
25493 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25494 PyObject *resultobj;
25495 wxWindow *arg1 = (wxWindow *) 0 ;
25496 int arg2 = (int) wxID_CONTEXT_HELP ;
25497 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25498 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25499 wxSize const &arg4_defvalue = wxDefaultSize ;
25500 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25501 long arg5 = (long) wxBU_AUTODRAW ;
25502 wxContextHelpButton *result;
25503 wxPoint temp3 ;
25504 wxSize temp4 ;
25505 PyObject * obj0 = 0 ;
25506 PyObject * obj2 = 0 ;
25507 PyObject * obj3 = 0 ;
25508 char *kwnames[] = {
25509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25510 };
25511
25512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25514 if (obj2) {
25515 {
25516 arg3 = &temp3;
25517 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25518 }
25519 }
25520 if (obj3) {
25521 {
25522 arg4 = &temp4;
25523 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25524 }
25525 }
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25534 return resultobj;
25535 fail:
25536 return NULL;
25537 }
25538
25539
25540 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25541 PyObject *obj;
25542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25543 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25544 Py_INCREF(obj);
25545 return Py_BuildValue((char *)"");
25546 }
25547 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj;
25549 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25550 wxHelpProvider *result;
25551 PyObject * obj0 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "helpProvider", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25566 return resultobj;
25567 fail:
25568 return NULL;
25569 }
25570
25571
25572 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj;
25574 wxHelpProvider *result;
25575 char *kwnames[] = {
25576 NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 result = (wxHelpProvider *)wxHelpProvider::Get();
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25588 return resultobj;
25589 fail:
25590 return NULL;
25591 }
25592
25593
25594 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25595 PyObject *resultobj;
25596 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25597 wxWindow *arg2 = (wxWindow *) 0 ;
25598 wxString result;
25599 PyObject * obj0 = 0 ;
25600 PyObject * obj1 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self",(char *) "window", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 result = (arg1)->GetHelp((wxWindow const *)arg2);
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 {
25616 #if wxUSE_UNICODE
25617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25618 #else
25619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25620 #endif
25621 }
25622 return resultobj;
25623 fail:
25624 return NULL;
25625 }
25626
25627
25628 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25629 PyObject *resultobj;
25630 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25631 wxWindow *arg2 = (wxWindow *) 0 ;
25632 bool result;
25633 PyObject * obj0 = 0 ;
25634 PyObject * obj1 = 0 ;
25635 char *kwnames[] = {
25636 (char *) "self",(char *) "window", NULL
25637 };
25638
25639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 result = (bool)(arg1)->ShowHelp(arg2);
25645
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 resultobj = PyInt_FromLong((long)result);
25650 return resultobj;
25651 fail:
25652 return NULL;
25653 }
25654
25655
25656 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25657 PyObject *resultobj;
25658 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25659 wxWindow *arg2 = (wxWindow *) 0 ;
25660 wxString *arg3 = 0 ;
25661 bool temp3 = False ;
25662 PyObject * obj0 = 0 ;
25663 PyObject * obj1 = 0 ;
25664 PyObject * obj2 = 0 ;
25665 char *kwnames[] = {
25666 (char *) "self",(char *) "window",(char *) "text", NULL
25667 };
25668
25669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25672 {
25673 arg3 = wxString_in_helper(obj2);
25674 if (arg3 == NULL) SWIG_fail;
25675 temp3 = True;
25676 }
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25680
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 Py_INCREF(Py_None); resultobj = Py_None;
25685 {
25686 if (temp3)
25687 delete arg3;
25688 }
25689 return resultobj;
25690 fail:
25691 {
25692 if (temp3)
25693 delete arg3;
25694 }
25695 return NULL;
25696 }
25697
25698
25699 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25700 PyObject *resultobj;
25701 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25702 int arg2 ;
25703 wxString *arg3 = 0 ;
25704 bool temp3 = False ;
25705 PyObject * obj0 = 0 ;
25706 PyObject * obj2 = 0 ;
25707 char *kwnames[] = {
25708 (char *) "self",(char *) "id",(char *) "text", NULL
25709 };
25710
25711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25713 {
25714 arg3 = wxString_in_helper(obj2);
25715 if (arg3 == NULL) SWIG_fail;
25716 temp3 = True;
25717 }
25718 {
25719 PyThreadState* __tstate = wxPyBeginAllowThreads();
25720 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25721
25722 wxPyEndAllowThreads(__tstate);
25723 if (PyErr_Occurred()) SWIG_fail;
25724 }
25725 Py_INCREF(Py_None); resultobj = Py_None;
25726 {
25727 if (temp3)
25728 delete arg3;
25729 }
25730 return resultobj;
25731 fail:
25732 {
25733 if (temp3)
25734 delete arg3;
25735 }
25736 return NULL;
25737 }
25738
25739
25740 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25741 PyObject *resultobj;
25742 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25743 PyObject * obj0 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25750 {
25751 PyThreadState* __tstate = wxPyBeginAllowThreads();
25752 wxHelpProvider_Destroy(arg1);
25753
25754 wxPyEndAllowThreads(__tstate);
25755 if (PyErr_Occurred()) SWIG_fail;
25756 }
25757 Py_INCREF(Py_None); resultobj = Py_None;
25758 return resultobj;
25759 fail:
25760 return NULL;
25761 }
25762
25763
25764 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25765 PyObject *obj;
25766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25767 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25768 Py_INCREF(obj);
25769 return Py_BuildValue((char *)"");
25770 }
25771 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj;
25773 wxSimpleHelpProvider *result;
25774 char *kwnames[] = {
25775 NULL
25776 };
25777
25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25782
25783 wxPyEndAllowThreads(__tstate);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
25786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25787 return resultobj;
25788 fail:
25789 return NULL;
25790 }
25791
25792
25793 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25794 PyObject *obj;
25795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25796 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25797 Py_INCREF(obj);
25798 return Py_BuildValue((char *)"");
25799 }
25800 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25801 PyObject *resultobj;
25802 wxBitmap *arg1 = 0 ;
25803 wxCursor const &arg2_defvalue = wxNullCursor ;
25804 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25805 wxGenericDragImage *result;
25806 PyObject * obj0 = 0 ;
25807 PyObject * obj1 = 0 ;
25808 char *kwnames[] = {
25809 (char *) "image",(char *) "cursor", NULL
25810 };
25811
25812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25814 if (arg1 == NULL) {
25815 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25816 }
25817 if (obj1) {
25818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25819 if (arg2 == NULL) {
25820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25821 }
25822 }
25823 {
25824 PyThreadState* __tstate = wxPyBeginAllowThreads();
25825 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25826
25827 wxPyEndAllowThreads(__tstate);
25828 if (PyErr_Occurred()) SWIG_fail;
25829 }
25830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25831 return resultobj;
25832 fail:
25833 return NULL;
25834 }
25835
25836
25837 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25838 PyObject *resultobj;
25839 wxIcon *arg1 = 0 ;
25840 wxCursor const &arg2_defvalue = wxNullCursor ;
25841 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25842 wxGenericDragImage *result;
25843 PyObject * obj0 = 0 ;
25844 PyObject * obj1 = 0 ;
25845 char *kwnames[] = {
25846 (char *) "image",(char *) "cursor", NULL
25847 };
25848
25849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25851 if (arg1 == NULL) {
25852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25853 }
25854 if (obj1) {
25855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25856 if (arg2 == NULL) {
25857 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25858 }
25859 }
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25868 return resultobj;
25869 fail:
25870 return NULL;
25871 }
25872
25873
25874 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25875 PyObject *resultobj;
25876 wxString *arg1 = 0 ;
25877 wxCursor const &arg2_defvalue = wxNullCursor ;
25878 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25879 wxGenericDragImage *result;
25880 bool temp1 = False ;
25881 PyObject * obj0 = 0 ;
25882 PyObject * obj1 = 0 ;
25883 char *kwnames[] = {
25884 (char *) "str",(char *) "cursor", NULL
25885 };
25886
25887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25888 {
25889 arg1 = wxString_in_helper(obj0);
25890 if (arg1 == NULL) SWIG_fail;
25891 temp1 = True;
25892 }
25893 if (obj1) {
25894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25895 if (arg2 == NULL) {
25896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25897 }
25898 }
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25907 {
25908 if (temp1)
25909 delete arg1;
25910 }
25911 return resultobj;
25912 fail:
25913 {
25914 if (temp1)
25915 delete arg1;
25916 }
25917 return NULL;
25918 }
25919
25920
25921 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25922 PyObject *resultobj;
25923 wxPyTreeCtrl *arg1 = 0 ;
25924 wxTreeItemId *arg2 = 0 ;
25925 wxGenericDragImage *result;
25926 PyObject * obj0 = 0 ;
25927 PyObject * obj1 = 0 ;
25928 char *kwnames[] = {
25929 (char *) "treeCtrl",(char *) "id", NULL
25930 };
25931
25932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25934 if (arg1 == NULL) {
25935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25936 }
25937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25938 if (arg2 == NULL) {
25939 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25940 }
25941 {
25942 PyThreadState* __tstate = wxPyBeginAllowThreads();
25943 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25944
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25949 return resultobj;
25950 fail:
25951 return NULL;
25952 }
25953
25954
25955 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25956 PyObject *resultobj;
25957 wxPyListCtrl *arg1 = 0 ;
25958 long arg2 ;
25959 wxGenericDragImage *result;
25960 PyObject * obj0 = 0 ;
25961 char *kwnames[] = {
25962 (char *) "listCtrl",(char *) "id", NULL
25963 };
25964
25965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25967 if (arg1 == NULL) {
25968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25969 }
25970 {
25971 PyThreadState* __tstate = wxPyBeginAllowThreads();
25972 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25973
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25978 return resultobj;
25979 fail:
25980 return NULL;
25981 }
25982
25983
25984 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25985 PyObject *resultobj;
25986 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25987 PyObject * obj0 = 0 ;
25988 char *kwnames[] = {
25989 (char *) "self", NULL
25990 };
25991
25992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25994 {
25995 PyThreadState* __tstate = wxPyBeginAllowThreads();
25996 delete arg1;
25997
25998 wxPyEndAllowThreads(__tstate);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
26001 Py_INCREF(Py_None); resultobj = Py_None;
26002 return resultobj;
26003 fail:
26004 return NULL;
26005 }
26006
26007
26008 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26009 PyObject *resultobj;
26010 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26011 wxBitmap *arg2 = (wxBitmap *) 0 ;
26012 PyObject * obj0 = 0 ;
26013 PyObject * obj1 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "self",(char *) "bitmap", NULL
26016 };
26017
26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 (arg1)->SetBackingBitmap(arg2);
26024
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
26028 Py_INCREF(Py_None); resultobj = Py_None;
26029 return resultobj;
26030 fail:
26031 return NULL;
26032 }
26033
26034
26035 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26036 PyObject *resultobj;
26037 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26038 wxPoint *arg2 = 0 ;
26039 wxWindow *arg3 = (wxWindow *) 0 ;
26040 bool arg4 = (bool) False ;
26041 wxRect *arg5 = (wxRect *) NULL ;
26042 bool result;
26043 wxPoint temp2 ;
26044 PyObject * obj0 = 0 ;
26045 PyObject * obj1 = 0 ;
26046 PyObject * obj2 = 0 ;
26047 PyObject * obj3 = 0 ;
26048 PyObject * obj4 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26055 {
26056 arg2 = &temp2;
26057 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26058 }
26059 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26060 if (obj3) {
26061 arg4 = PyInt_AsLong(obj3) ? true : false;
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 if (obj4) {
26065 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26066 }
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26070
26071 wxPyEndAllowThreads(__tstate);
26072 if (PyErr_Occurred()) SWIG_fail;
26073 }
26074 resultobj = PyInt_FromLong((long)result);
26075 return resultobj;
26076 fail:
26077 return NULL;
26078 }
26079
26080
26081 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26082 PyObject *resultobj;
26083 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26084 wxPoint *arg2 = 0 ;
26085 wxWindow *arg3 = (wxWindow *) 0 ;
26086 wxWindow *arg4 = (wxWindow *) 0 ;
26087 bool result;
26088 wxPoint temp2 ;
26089 PyObject * obj0 = 0 ;
26090 PyObject * obj1 = 0 ;
26091 PyObject * obj2 = 0 ;
26092 PyObject * obj3 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26095 };
26096
26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26099 {
26100 arg2 = &temp2;
26101 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26102 }
26103 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26104 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
26112 resultobj = PyInt_FromLong((long)result);
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj;
26121 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26122 bool result;
26123 PyObject * obj0 = 0 ;
26124 char *kwnames[] = {
26125 (char *) "self", NULL
26126 };
26127
26128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 result = (bool)(arg1)->EndDrag();
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 resultobj = PyInt_FromLong((long)result);
26138 return resultobj;
26139 fail:
26140 return NULL;
26141 }
26142
26143
26144 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26147 wxPoint *arg2 = 0 ;
26148 bool result;
26149 wxPoint temp2 ;
26150 PyObject * obj0 = 0 ;
26151 PyObject * obj1 = 0 ;
26152 char *kwnames[] = {
26153 (char *) "self",(char *) "pt", NULL
26154 };
26155
26156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26158 {
26159 arg2 = &temp2;
26160 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26161 }
26162 {
26163 PyThreadState* __tstate = wxPyBeginAllowThreads();
26164 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26165
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
26169 resultobj = PyInt_FromLong((long)result);
26170 return resultobj;
26171 fail:
26172 return NULL;
26173 }
26174
26175
26176 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26177 PyObject *resultobj;
26178 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26179 bool result;
26180 PyObject * obj0 = 0 ;
26181 char *kwnames[] = {
26182 (char *) "self", NULL
26183 };
26184
26185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26187 {
26188 PyThreadState* __tstate = wxPyBeginAllowThreads();
26189 result = (bool)(arg1)->Show();
26190
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 resultobj = PyInt_FromLong((long)result);
26195 return resultobj;
26196 fail:
26197 return NULL;
26198 }
26199
26200
26201 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26202 PyObject *resultobj;
26203 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26204 bool result;
26205 PyObject * obj0 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26212 {
26213 PyThreadState* __tstate = wxPyBeginAllowThreads();
26214 result = (bool)(arg1)->Hide();
26215
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 resultobj = PyInt_FromLong((long)result);
26220 return resultobj;
26221 fail:
26222 return NULL;
26223 }
26224
26225
26226 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj;
26228 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26229 wxPoint *arg2 = 0 ;
26230 wxRect result;
26231 wxPoint temp2 ;
26232 PyObject * obj0 = 0 ;
26233 PyObject * obj1 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self",(char *) "pos", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26240 {
26241 arg2 = &temp2;
26242 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26243 }
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26247
26248 wxPyEndAllowThreads(__tstate);
26249 if (PyErr_Occurred()) SWIG_fail;
26250 }
26251 {
26252 wxRect * resultptr;
26253 resultptr = new wxRect((wxRect &) result);
26254 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26255 }
26256 return resultobj;
26257 fail:
26258 return NULL;
26259 }
26260
26261
26262 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26263 PyObject *resultobj;
26264 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26265 wxDC *arg2 = 0 ;
26266 wxPoint *arg3 = 0 ;
26267 bool result;
26268 wxPoint temp3 ;
26269 PyObject * obj0 = 0 ;
26270 PyObject * obj1 = 0 ;
26271 PyObject * obj2 = 0 ;
26272 char *kwnames[] = {
26273 (char *) "self",(char *) "dc",(char *) "pos", NULL
26274 };
26275
26276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26279 if (arg2 == NULL) {
26280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26281 }
26282 {
26283 arg3 = &temp3;
26284 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26285 }
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 resultobj = PyInt_FromLong((long)result);
26294 return resultobj;
26295 fail:
26296 return NULL;
26297 }
26298
26299
26300 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26301 PyObject *resultobj;
26302 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26303 wxDC *arg2 = 0 ;
26304 wxMemoryDC *arg3 = 0 ;
26305 wxRect *arg4 = 0 ;
26306 wxRect *arg5 = 0 ;
26307 bool result;
26308 wxRect temp4 ;
26309 wxRect temp5 ;
26310 PyObject * obj0 = 0 ;
26311 PyObject * obj1 = 0 ;
26312 PyObject * obj2 = 0 ;
26313 PyObject * obj3 = 0 ;
26314 PyObject * obj4 = 0 ;
26315 char *kwnames[] = {
26316 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26317 };
26318
26319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26322 if (arg2 == NULL) {
26323 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26324 }
26325 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26326 if (arg3 == NULL) {
26327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26328 }
26329 {
26330 arg4 = &temp4;
26331 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26332 }
26333 {
26334 arg5 = &temp5;
26335 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26336 }
26337 {
26338 PyThreadState* __tstate = wxPyBeginAllowThreads();
26339 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26340
26341 wxPyEndAllowThreads(__tstate);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 }
26344 resultobj = PyInt_FromLong((long)result);
26345 return resultobj;
26346 fail:
26347 return NULL;
26348 }
26349
26350
26351 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26352 PyObject *resultobj;
26353 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26354 wxPoint *arg2 = 0 ;
26355 wxPoint *arg3 = 0 ;
26356 bool arg4 ;
26357 bool arg5 ;
26358 bool result;
26359 wxPoint temp2 ;
26360 wxPoint temp3 ;
26361 PyObject * obj0 = 0 ;
26362 PyObject * obj1 = 0 ;
26363 PyObject * obj2 = 0 ;
26364 PyObject * obj3 = 0 ;
26365 PyObject * obj4 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26372 {
26373 arg2 = &temp2;
26374 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26375 }
26376 {
26377 arg3 = &temp3;
26378 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26379 }
26380 arg4 = PyInt_AsLong(obj3) ? true : false;
26381 if (PyErr_Occurred()) SWIG_fail;
26382 arg5 = PyInt_AsLong(obj4) ? true : false;
26383 if (PyErr_Occurred()) SWIG_fail;
26384 {
26385 PyThreadState* __tstate = wxPyBeginAllowThreads();
26386 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26387
26388 wxPyEndAllowThreads(__tstate);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 resultobj = PyInt_FromLong((long)result);
26392 return resultobj;
26393 fail:
26394 return NULL;
26395 }
26396
26397
26398 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26399 PyObject *obj;
26400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26401 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26402 Py_INCREF(obj);
26403 return Py_BuildValue((char *)"");
26404 }
26405 static PyMethodDef SwigMethods[] = {
26406 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26412 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26427 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26438 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26447 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26465 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26478 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26482 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26488 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26492 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26499 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26518 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26527 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26528 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26556 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26609 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26614 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26625 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26637 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26648 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
26652 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26669 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26675 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26700 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26707 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26727 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26733 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26742 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26744 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26749 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26751 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26756 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26761 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26791 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26836 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26841 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26853 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26905 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26932 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27001 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27013 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27021 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27028 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27044 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27116 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27138 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27143 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27164 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27172 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27177 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27179 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27187 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27189 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27207 { NULL, NULL }
27208 };
27209
27210
27211 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27212
27213 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27214 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27215 }
27216 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27217 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27218 }
27219 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27220 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27221 }
27222 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27223 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27224 }
27225 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27226 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27227 }
27228 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27229 return (void *)((wxSizer *) ((wxGridSizer *) x));
27230 }
27231 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27232 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27233 }
27234 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27235 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27236 }
27237 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27238 return (void *)((wxSizer *) ((wxPySizer *) x));
27239 }
27240 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27241 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27242 }
27243 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27244 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27245 }
27246 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27247 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27248 }
27249 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27250 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27251 }
27252 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27253 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27254 }
27255 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27256 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27257 }
27258 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27259 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27260 }
27261 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27262 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27263 }
27264 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27265 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27266 }
27267 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27268 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27269 }
27270 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27271 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27272 }
27273 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27274 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27275 }
27276 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27277 return (void *)((wxEvent *) ((wxPyEvent *) x));
27278 }
27279 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27280 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27281 }
27282 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27283 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27284 }
27285 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27286 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27287 }
27288 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27289 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27290 }
27291 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27292 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27293 }
27294 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27295 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27296 }
27297 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27298 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27299 }
27300 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27301 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27302 }
27303 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27304 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27305 }
27306 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27307 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27308 }
27309 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27310 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27311 }
27312 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27313 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27314 }
27315 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27316 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27317 }
27318 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27319 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27320 }
27321 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27322 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27323 }
27324 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27325 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27326 }
27327 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27328 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27329 }
27330 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27331 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27332 }
27333 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27334 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27335 }
27336 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27337 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27338 }
27339 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27340 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27341 }
27342 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27343 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27344 }
27345 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27346 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27347 }
27348 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27349 return (void *)((wxEvent *) ((wxShowEvent *) x));
27350 }
27351 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27352 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27353 }
27354 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27355 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27356 }
27357 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27358 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27359 }
27360 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27361 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27362 }
27363 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27364 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27365 }
27366 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27367 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27368 }
27369 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
27370 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27371 }
27372 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27373 return (void *)((wxItemContainer *) ((wxComboBox *) x));
27374 }
27375 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27376 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27377 }
27378 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27379 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27380 }
27381 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27382 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27383 }
27384 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27385 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27386 }
27387 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27388 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27389 }
27390 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27391 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27392 }
27393 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27394 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27395 }
27396 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27397 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27398 }
27399 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27400 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27401 }
27402 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27403 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27404 }
27405 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27406 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27407 }
27408 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27409 return (void *)((wxControl *) ((wxComboBox *) x));
27410 }
27411 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27412 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27413 }
27414 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27415 return (void *)((wxControl *) ((wxStaticBox *) x));
27416 }
27417 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27418 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27419 }
27420 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27421 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27422 }
27423 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27424 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27425 }
27426 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27427 return (void *)((wxControl *) ((wxScrollBar *) x));
27428 }
27429 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27430 return (void *)((wxControl *) ((wxBookCtrl *) x));
27431 }
27432 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27433 return (void *)((wxControl *) ((wxRadioButton *) x));
27434 }
27435 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27436 return (void *)((wxControl *) ((wxToggleButton *) x));
27437 }
27438 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27439 return (void *)((wxControl *) ((wxGauge *) x));
27440 }
27441 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27442 return (void *)((wxControl *) ((wxToolBarBase *) x));
27443 }
27444 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27445 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27446 }
27447 static void *_p_wxButtonTo_p_wxControl(void *x) {
27448 return (void *)((wxControl *) ((wxButton *) x));
27449 }
27450 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27451 return (void *)((wxControl *) ((wxSpinButton *) x));
27452 }
27453 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27454 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27455 }
27456 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27457 return (void *)((wxControl *) ((wxControlWithItems *) x));
27458 }
27459 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27460 return (void *)((wxControl *) ((wxRadioBox *) x));
27461 }
27462 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27463 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27464 }
27465 static void *_p_wxListbookTo_p_wxControl(void *x) {
27466 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27467 }
27468 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27469 return (void *)((wxControl *) ((wxCheckBox *) x));
27470 }
27471 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27472 return (void *)((wxControl *) ((wxTextCtrl *) x));
27473 }
27474 static void *_p_wxListViewTo_p_wxControl(void *x) {
27475 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27476 }
27477 static void *_p_wxSliderTo_p_wxControl(void *x) {
27478 return (void *)((wxControl *) ((wxSlider *) x));
27479 }
27480 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27481 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27482 }
27483 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27484 return (void *)((wxControl *) ((wxPyControl *) x));
27485 }
27486 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27487 return (void *)((wxControl *) ((wxStaticLine *) x));
27488 }
27489 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27490 return (void *)((wxControl *) ((wxStaticText *) x));
27491 }
27492 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27493 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27494 }
27495 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27496 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27497 }
27498 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27499 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27500 }
27501 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27502 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27503 }
27504 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27505 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27506 }
27507 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
27508 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
27509 }
27510 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27511 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27512 }
27513 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27514 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27515 }
27516 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27518 }
27519 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27520 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27521 }
27522 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27523 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27524 }
27525 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27526 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27527 }
27528 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27529 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27530 }
27531 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27532 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27533 }
27534 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27535 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27536 }
27537 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27538 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27539 }
27540 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27541 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27542 }
27543 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27544 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27545 }
27546 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27547 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27548 }
27549 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27550 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27551 }
27552 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27553 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27554 }
27555 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27556 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27557 }
27558 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27559 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27560 }
27561 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27562 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27563 }
27564 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27565 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27566 }
27567 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27568 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27569 }
27570 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27571 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27572 }
27573 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27574 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27575 }
27576 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27577 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27578 }
27579 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27580 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27581 }
27582 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27583 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27584 }
27585 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27586 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27587 }
27588 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27589 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27590 }
27591 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27592 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27593 }
27594 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27595 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27596 }
27597 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27598 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27599 }
27600 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27601 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27602 }
27603 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27605 }
27606 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27607 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27608 }
27609 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27610 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27611 }
27612 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27613 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27614 }
27615 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27616 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27617 }
27618 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27619 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27620 }
27621 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27622 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27623 }
27624 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27625 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27626 }
27627 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27628 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27629 }
27630 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27631 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27632 }
27633 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27634 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27635 }
27636 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27637 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27638 }
27639 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27640 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27641 }
27642 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27643 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27644 }
27645 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27646 return (void *)((wxButton *) ((wxBitmapButton *) x));
27647 }
27648 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27649 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27650 }
27651 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27652 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27653 }
27654 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27655 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27656 }
27657 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27658 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27659 }
27660 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27661 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27662 }
27663 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27664 return (void *)((wxObject *) ((wxSizerItem *) x));
27665 }
27666 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27668 }
27669 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27670 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27671 }
27672 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27674 }
27675 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27676 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27677 }
27678 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27679 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27680 }
27681 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27682 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27683 }
27684 static void *_p_wxSizerTo_p_wxObject(void *x) {
27685 return (void *)((wxObject *) ((wxSizer *) x));
27686 }
27687 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27688 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27689 }
27690 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27692 }
27693 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27695 }
27696 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27698 }
27699 static void *_p_wxEventTo_p_wxObject(void *x) {
27700 return (void *)((wxObject *) ((wxEvent *) x));
27701 }
27702 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27703 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27704 }
27705 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27706 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27707 }
27708 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27709 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27710 }
27711 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27713 }
27714 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27716 }
27717 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27719 }
27720 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27721 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27722 }
27723 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27724 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27725 }
27726 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27727 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27728 }
27729 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27730 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27731 }
27732 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27733 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27734 }
27735 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27736 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27737 }
27738 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27740 }
27741 static void *_p_wxControlTo_p_wxObject(void *x) {
27742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27743 }
27744 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27746 }
27747 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27749 }
27750 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27752 }
27753 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27755 }
27756 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27758 }
27759 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27760 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27761 }
27762 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27764 }
27765 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27766 return (void *)((wxObject *) ((wxFSFile *) x));
27767 }
27768 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27769 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27770 }
27771 static void *_p_wxListViewTo_p_wxObject(void *x) {
27772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27773 }
27774 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27776 }
27777 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27779 }
27780 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27781 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27782 }
27783 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27785 }
27786 static void *_p_wxListbookTo_p_wxObject(void *x) {
27787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27788 }
27789 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27790 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27791 }
27792 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27794 }
27795 static void *_p_wxSliderTo_p_wxObject(void *x) {
27796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27797 }
27798 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27799 return (void *)((wxObject *) ((wxMenuItem *) x));
27800 }
27801 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27802 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27803 }
27804 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27805 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27806 }
27807 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27808 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27809 }
27810 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27811 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27812 }
27813 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27814 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27815 }
27816 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27817 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27818 }
27819 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27820 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27821 }
27822 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27823 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27824 }
27825 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27827 }
27828 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27829 return (void *)((wxObject *) ((wxContextHelp *) x));
27830 }
27831 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27832 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27833 }
27834 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27835 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27836 }
27837 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27838 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27839 }
27840 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27841 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27842 }
27843 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27844 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27845 }
27846 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27847 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27848 }
27849 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27850 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27851 }
27852 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27853 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27854 }
27855 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27856 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27857 }
27858 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27859 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27860 }
27861 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27862 return (void *)((wxObject *) ((wxImageHandler *) x));
27863 }
27864 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27865 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27866 }
27867 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27868 return (void *)((wxObject *) ((wxEvtHandler *) x));
27869 }
27870 static void *_p_wxListEventTo_p_wxObject(void *x) {
27871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27872 }
27873 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27875 }
27876 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27878 }
27879 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27881 }
27882 static void *_p_wxButtonTo_p_wxObject(void *x) {
27883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27884 }
27885 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27887 }
27888 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27890 }
27891 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27893 }
27894 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27895 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27896 }
27897 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27899 }
27900 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27902 }
27903 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27905 }
27906 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27908 }
27909 static void *_p_wxListItemTo_p_wxObject(void *x) {
27910 return (void *)((wxObject *) ((wxListItem *) x));
27911 }
27912 static void *_p_wxImageTo_p_wxObject(void *x) {
27913 return (void *)((wxObject *) ((wxImage *) x));
27914 }
27915 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27916 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27917 }
27918 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27919 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27920 }
27921 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
27922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27923 }
27924 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27925 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27926 }
27927 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27929 }
27930 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27932 }
27933 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27935 }
27936 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27937 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27938 }
27939 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27940 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27941 }
27942 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27943 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27944 }
27945 static void *_p_wxWindowTo_p_wxObject(void *x) {
27946 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27947 }
27948 static void *_p_wxMenuTo_p_wxObject(void *x) {
27949 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27950 }
27951 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27953 }
27954 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27955 return (void *)((wxObject *) ((wxFileSystem *) x));
27956 }
27957 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27958 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27959 }
27960 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27961 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27962 }
27963 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27964 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27965 }
27966 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27967 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27968 }
27969 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27970 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27971 }
27972 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27973 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27974 }
27975 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27977 }
27978 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27980 }
27981 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27982 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27983 }
27984 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27986 }
27987 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27988 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27989 }
27990 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27991 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27992 }
27993 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27995 }
27996 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27998 }
27999 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28000 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28001 }
28002 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28004 }
28005 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28006 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28007 }
28008 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28009 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28010 }
28011 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28012 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28013 }
28014 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28015 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28016 }
28017 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28018 return (void *)((wxWindow *) ((wxMenuBar *) x));
28019 }
28020 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28021 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28022 }
28023 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28024 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28025 }
28026 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28027 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28028 }
28029 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28030 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28031 }
28032 static void *_p_wxControlTo_p_wxWindow(void *x) {
28033 return (void *)((wxWindow *) ((wxControl *) x));
28034 }
28035 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28036 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28037 }
28038 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28039 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28040 }
28041 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28042 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28043 }
28044 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28045 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
28046 }
28047 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28048 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28049 }
28050 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28051 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28052 }
28053 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28054 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28055 }
28056 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28057 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28058 }
28059 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28060 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28061 }
28062 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28063 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28064 }
28065 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28066 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28067 }
28068 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28069 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28070 }
28071 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28072 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28073 }
28074 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28075 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28076 }
28077 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28078 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28079 }
28080 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28081 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28082 }
28083 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28084 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28085 }
28086 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28087 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28088 }
28089 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28090 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28091 }
28092 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28093 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28094 }
28095 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28096 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28097 }
28098 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28099 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28100 }
28101 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28102 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28103 }
28104 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28105 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28106 }
28107 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28108 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28109 }
28110 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28111 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28112 }
28113 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28114 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28115 }
28116 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28117 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28118 }
28119 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28120 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28121 }
28122 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28123 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28124 }
28125 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28126 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28127 }
28128 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28129 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28130 }
28131 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28132 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28133 }
28134 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28135 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28136 }
28137 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28138 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28139 }
28140 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28141 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28142 }
28143 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28144 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28145 }
28146 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28147 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28148 }
28149 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28150 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28151 }
28152 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28153 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28154 }
28155 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
28156 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
28157 }
28158 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28159 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28160 }
28161 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28162 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28163 }
28164 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28165 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28166 }
28167 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28168 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28169 }
28170 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28171 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28172 }
28173 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28174 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28175 }
28176 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28177 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28178 }
28179 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28180 return (void *)((wxValidator *) ((wxPyValidator *) x));
28181 }
28182 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28183 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}};
28184 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}};
28185 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28186 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28187 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28188 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28189 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}};
28190 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28191 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28192 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28193 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}};
28194 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28195 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28196 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28197 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}};
28198 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28199 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28200 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28201 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28202 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28203 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28204 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
28205 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28206 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28207 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28208 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28209 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28210 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28211 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28212 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28213 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28214 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}};
28215 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28216 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28217 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28218 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28219 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28220 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28221 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28222 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28223 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}};
28224 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28225 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28226 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28227 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}};
28228 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28229 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}};
28230 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28231 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28232 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28233 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28234 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28235 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28236 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28237 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28238 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28239 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28240 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28241 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28242 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28243 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28244 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28245 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28246 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28247 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28248 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28249 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28250 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}};
28251 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28252 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28253 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}};
28254 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28255 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28256 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28257 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28258 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}};
28259 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28260 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
28261 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28262 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28263 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28264 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28265 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28266
28267 static swig_type_info *swig_types_initial[] = {
28268 _swigt__p_wxTextUrlEvent,
28269 _swigt__p_wxBookCtrlEvent,
28270 _swigt__p_wxSizer,
28271 _swigt__p_wxTreeItemIdValue,
28272 _swigt__wxTreeItemIdValue,
28273 _swigt__p_wxCheckBox,
28274 _swigt__p_wxPyTreeCtrl,
28275 _swigt__p_wxEvent,
28276 _swigt__p_wxGenericDirCtrl,
28277 _swigt__p_bool,
28278 _swigt__p_wxPyTreeItemData,
28279 _swigt__p_wxItemContainer,
28280 _swigt__p_wxDirFilterListCtrl,
28281 _swigt__p_wxPyListCtrl,
28282 _swigt__p_wxStaticLine,
28283 _swigt__p_wxControl,
28284 _swigt__p_wxPyControl,
28285 _swigt__p_wxGauge,
28286 _swigt__p_wxToolBarBase,
28287 _swigt__p_wxFont,
28288 _swigt__p_wxToggleButton,
28289 _swigt__p_wxRadioButton,
28290 _swigt__p_wxChoice,
28291 _swigt__p_wxMemoryDC,
28292 _swigt__p_wxListItemAttr,
28293 _swigt__p_int,
28294 _swigt__p_wxSize,
28295 _swigt__p_wxDC,
28296 _swigt__p_wxListView,
28297 _swigt__p_wxIcon,
28298 _swigt__p_wxTextCtrl,
28299 _swigt__p_wxNotebook,
28300 _swigt__p_wxNotifyEvent,
28301 _swigt__p_wxArrayString,
28302 _swigt__p_wxListbook,
28303 _swigt__p_wxStaticBitmap,
28304 _swigt__p_wxSlider,
28305 _swigt__p_wxStaticBox,
28306 _swigt__p_wxArrayInt,
28307 _swigt__p_wxContextHelp,
28308 _swigt__p_long,
28309 _swigt__p_wxEvtHandler,
28310 _swigt__p_wxListEvent,
28311 _swigt__p_wxListBox,
28312 _swigt__p_wxCheckListBox,
28313 _swigt__p_wxBookCtrl,
28314 _swigt__p_wxSpinButton,
28315 _swigt__p_wxButton,
28316 _swigt__p_wxBitmapButton,
28317 _swigt__p_wxRect,
28318 _swigt__p_wxContextHelpButton,
28319 _swigt__p_wxRadioBox,
28320 _swigt__p_wxScrollBar,
28321 _swigt__p_wxTreeItemId,
28322 _swigt__p_wxComboBox,
28323 _swigt__p_wxHelpEvent,
28324 _swigt__p_wxListItem,
28325 _swigt__p_wxNotebookSizer,
28326 _swigt__p_wxSpinEvent,
28327 _swigt__p_wxGenericDragImage,
28328 _swigt__p_wxSpinCtrl,
28329 _swigt__p_wxImageList,
28330 _swigt__p_wxHelpProvider,
28331 _swigt__p_wxTextAttr,
28332 _swigt__p_wxSimpleHelpProvider,
28333 _swigt__p_wxPoint,
28334 _swigt__p_wxListbookEvent,
28335 _swigt__p_wxNotebookEvent,
28336 _swigt__p_wxObject,
28337 _swigt__p_wxCursor,
28338 _swigt__p_wxKeyEvent,
28339 _swigt__p_wxWindow,
28340 _swigt__p_wxString,
28341 _swigt__p_wxBitmap,
28342 _swigt__p_wxTreeEvent,
28343 _swigt__p_wxMouseEvent,
28344 _swigt__p_wxCommandEvent,
28345 _swigt__p_wxStaticText,
28346 _swigt__p_wxControlWithItems,
28347 _swigt__p_wxToolBarToolBase,
28348 _swigt__p_wxColour,
28349 _swigt__p_wxToolBar,
28350 _swigt__p_wxBookCtrlSizer,
28351 _swigt__p_wxValidator,
28352 0
28353 };
28354
28355
28356 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28357
28358 static swig_const_info swig_const_table[] = {
28359 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28360 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28361 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28362 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28363 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28364 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28365 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28366 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28367 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28368 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28369 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28370 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28371 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28372 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28373 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28374 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28375 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28376 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28377 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28378 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28379 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28380 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28381 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28382 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28383 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28384 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28385 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28386 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28387 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28388 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28389 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28390 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28391 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28392 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28393 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28394 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28395 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28396 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28397 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28398 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28399 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28400 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28401 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28402 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28403 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28404 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28405 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28406 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28407 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28408 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28409 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28410 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28411 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28412 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28413 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28414 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28415 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28416 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28417 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28418 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28419 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28420 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28421 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28422 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28423 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28424 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28425 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28426 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28427 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28428 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28429 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28430 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28431 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28432 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28433 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28434 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28435 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28436 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28437 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28438 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28439 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28440 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28441 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28442 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28443 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28444 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28445 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28446 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28447 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28448 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28449 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28450 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28451 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28452 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28453 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28454 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28455 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28456 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28457 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28458 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28459 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28460 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28461 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28462 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28463 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28464 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28465 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28466 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28467 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28468 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28469 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28470 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28471 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28472 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28473 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28474 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28475 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28476 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28477 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28478 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28479 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28480 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28481 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28482 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28483 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28484 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28485 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28486 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28487 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28488 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28489 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28490 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28491 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28492 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28493 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28494 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28495 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28496 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28497 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28498 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28499 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28500 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28501 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28502 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28503 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28504 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28505 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28506 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28507 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28508 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28509 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28510 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28511 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28512 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28513 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28514 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28515 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28516 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28517 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28518 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28519 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28520 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28521 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28522 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28523 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28524 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28525 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28526 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28527 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28528 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28529 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28530 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28531 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28532 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28533 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28534 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28535 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28536 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28537 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28538 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28539 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28540 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28541 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28542 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28543 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28544 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28545 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28546 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28547 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28548 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28549 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28550 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28551 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28552 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28553 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28554 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28555 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28556 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28557 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28558 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28559 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28560 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28561 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28562 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28563 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28564 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28565 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28566 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28567 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28568 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28569 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28570 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28571 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28572 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28573 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28574 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28575 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28576 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28577 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28578 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28579 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28580 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28581 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28582 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28583 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28584 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28585 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28586 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28587 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28588 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28589 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28590 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28591 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28592 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28593 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28594 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28595 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28596 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28597 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28598 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28599 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28600 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28601 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28602 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28603 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28604 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28605 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28606 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28607 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28608 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28609 {0}};
28610
28611 #ifdef __cplusplus
28612 }
28613 #endif
28614
28615 #ifdef __cplusplus
28616 extern "C"
28617 #endif
28618 SWIGEXPORT(void) SWIG_init(void) {
28619 static PyObject *SWIG_globals = 0;
28620 static int typeinit = 0;
28621 PyObject *m, *d;
28622 int i;
28623 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28624 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28625 d = PyModule_GetDict(m);
28626
28627 if (!typeinit) {
28628 for (i = 0; swig_types_initial[i]; i++) {
28629 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28630 }
28631 typeinit = 1;
28632 }
28633 SWIG_InstallConstants(d,swig_const_table);
28634
28635 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28636 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28637 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28638 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28639 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28640 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28641 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28642 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28643 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28644 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28645 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28646 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28647 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28648 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28649 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28650 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28651 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28652 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28653 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28654 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28655 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28656 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28657 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28658 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28659 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28660 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28661 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28662 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28663 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28664 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28665 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28666 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28667 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28668 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28669 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28670 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28671 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28672 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28673 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28674 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28675 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28676 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28677 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28678 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28679 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28680 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28681 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28682 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28683 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28684 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28685 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28686 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28687
28688 // Map renamed classes back to their common name for OOR
28689 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28690
28691 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28692 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28693 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28694 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28695 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28696 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28697 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28698 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28699 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28700 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28701 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28702 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28703 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28704 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28705 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28706 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28707 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28708 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28709 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28710 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28711 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28712
28713 // Map renamed classes back to their common name for OOR
28714 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28715 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28716
28717 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28718 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28719 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28720
28721 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28722
28723 }
28724